Repository: sdss/mangadap (language: python)

Issue:
Noism stellar libs
Includes new MaStar-SSP and HC templates that have been cleaned of MW ISM.  Also includes .ini files needed to invoke templates.


Discussion / hints:

Fix patch:
diff --git a/CHANGES.md b/CHANGES.md
index d7b5d139..75059703 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1,4 +1,12 @@
 
+4.2.0 (05 Nov 2024)
+-------------------
+
+ - Deprecate support for python 3.10
+ - Change TOML dependency from ``tomli`` to ``tomllib``.
+ - Verify support for numpy>=2.0 and bump dependency to pydl>=1.0
+ - Adds "MASTARHC2-NOISM" and "MASTARSSP-NOISM" templates
+
 4.1.2 (16 Apr 2024)
 -------------------
 
diff --git a/docs/include/links.rst b/docs/include/links.rst
index e1238151..b0247475 100644
--- a/docs/include/links.rst
+++ b/docs/include/links.rst
@@ -84,7 +84,6 @@
 .. _ppxf: https://pypi.org/project/ppxf/
 .. _shapely: https://pypi.python.org/pypi/Shapely
 .. _vorbin: https://pypi.org/project/vorbin/
-.. _tomli: https://pypi.org/project/tomli/
 .. _spectres: https://pypi.org/project/spectres/
 
 .. SDSS
diff --git a/docs/plan.rst b/docs/plan.rst
index ec8acd52..48ebfd77 100644
--- a/docs/plan.rst
+++ b/docs/plan.rst
@@ -6,7 +6,7 @@
 Analysis Plans
 ==============
 
-The DAP uses a `toml`_ file (parsed using `tomli`_) to define one or more
+The DAP uses a `toml`_ file to define one or more
 "analysis plans," which define how the DAP will analyze the provided datacube.
 The `toml`_ file is used to instantiate an
 :class:`~mangadap.config.analysisplan.AnalysisPlan` object and parsed using 
diff --git a/docs/tables/emissionlinemomentsdatatable.rst b/docs/tables/emissionlinemomentsdatatable.rst
index 7c97fdf6..ec8e2aee 100644
--- a/docs/tables/emissionlinemomentsdatatable.rst
+++ b/docs/tables/emissionlinemomentsdatatable.rst
@@ -4,7 +4,7 @@ Key          Type         Description
 BINID        ``int64``    Spectrum/Bin ID number                                             
 BINID_INDEX  ``int64``    Index of the spectrum in the list of provided spectra.             
 REDSHIFT     ``float64``  Redshift used for shifting the passbands                           
-MASK         ``bool_``    Bad-value boolean or bit mask value for the moments                
+MASK         ``bool``     Bad-value boolean or bit mask value for the moments                
 BCEN         ``float64``  Center of the blue sideband.                                       
 BCONT        ``float64``  Pseudo-continuum in the blue sideband                              
 BCONTERR     ``float64``  Error in the blue-sideband pseudo-continuum                        
diff --git a/docs/tables/spectralindicesdatatable.rst b/docs/tables/spectralindicesdatatable.rst
index 5f3d904d..0e0fd8bb 100644
--- a/docs/tables/spectralindicesdatatable.rst
+++ b/docs/tables/spectralindicesdatatable.rst
@@ -4,7 +4,7 @@ Key           Type         Description
 BINID         ``int64``    Spectrum/Bin ID number                                                                                                                                                                       
 BINID_INDEX   ``int64``    Index of the spectrum in the list of provided spectra.                                                                                                                                       
 REDSHIFT      ``float64``  Redshift used for shifting the passbands                                                                                                                                                     
-MASK          ``bool_``    Bad-value boolean or bit mask value for the moments                                                                                                                                          
+MASK          ``bool``     Bad-value boolean or bit mask value for the moments                                                                                                                                          
 BCEN          ``float64``  Center of the blue sideband                                                                                                                                                                  
 BCONT         ``float64``  Pseudo-continuum in the blue sideband                                                                                                                                                        
 BCONT_ERR     ``float64``  Error in the blue-sideband pseudo-continuum                                                                                                                                                  
diff --git a/docs/tables/spectralindicesdefinitiontable.rst b/docs/tables/spectralindicesdefinitiontable.rst
index 3328827e..78e9631f 100644
--- a/docs/tables/spectralindicesdefinitiontable.rst
+++ b/docs/tables/spectralindicesdefinitiontable.rst
@@ -8,7 +8,7 @@ PASSBAND   ``float64``  Lower and upper rest wavelength of the main index passba
 BLUEBAND   ``float64``  Lower and upper rest wavelength of the blue sideband used to define the linear continuum 
 REDBAND    ``float64``  Lower and upper rest wavelength of the red sideband used to define the linear continuum  
 UNIT       ``str_``     Index units                                                                              
-COMPONENT  ``bool_``    Flag if the index is a component of a multi-component index (ignored)                    
+COMPONENT  ``bool``     Flag if the index is a component of a multi-component index (ignored)                    
 INTEGRAND  ``str_``     The flux integrand for the index.                                                        
 ORDER      ``str_``     The numerator-denominator order of the index (bandhead/color indices only)               
 =========  ===========  =========================================================================================
diff --git a/docs/tables/stellarkinematicsfitdatatable.rst b/docs/tables/stellarkinematicsfitdatatable.rst
index 7c046dd2..9f2e3118 100644
--- a/docs/tables/stellarkinematicsfitdatatable.rst
+++ b/docs/tables/stellarkinematicsfitdatatable.rst
@@ -10,7 +10,7 @@ NPIXTOT         ``int64``    Total number of pixels in the spectrum to be fit.
 NPIXFIT         ``int64``    Number of pixels used by the fit.                                                                                                                   
 TPLWGT          ``float64``  Optimal weight of each template.                                                                                                                    
 TPLWGTERR       ``float64``  Nominal error in the weight of each template.                                                                                                       
-USETPL          ``bool_``    Flag that each template was included in the fit.                                                                                                    
+USETPL          ``bool``     Flag that each template was included in the fit.                                                                                                    
 ADDCOEF         ``float64``  Coefficients of the additive polynomial, if included.                                                                                               
 MULTCOEF        ``float64``  Coefficients of the multiplicative polynomial, if included.                                                                                         
 KININP          ``float64``  Input guesses for the kinematics                                                                                                                    
diff --git a/docs/templatelibraries.rst b/docs/templatelibraries.rst
index ef394af9..6a012538 100644
--- a/docs/templatelibraries.rst
+++ b/docs/templatelibraries.rst
@@ -20,43 +20,47 @@ Included Libraries
 
 The following spectral template libraries are included with the DAP distribution:
 
-+-----------------+------------+---------+-------------+-------------------------------------------------------------------------------------------------------------------+
-| Key             |  Reference |    Type |    Pedigree | Comments                                                                                                          |
-+=================+============+=========+=============+===================================================================================================================+
-| BC03            |  [1]_ [2]_ |     SPS |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/bc03_mpajhu/README>`__       |
-+-----------------+------------+---------+-------------+-------------------------------------------------------------------------------------------------------------------+
-| BPASS           |       [3]_ |     SPS | Theoretical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/bpass/README>`__             |
-+-----------------+------------+---------+-------------+-------------------------------------------------------------------------------------------------------------------+
-| M11ELODIE       |       [4]_ |     SPS |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/m11_elodie/README>`__        |
-+-----------------+------------+---------+-------------+-------------------------------------------------------------------------------------------------------------------+
-| M11MARCS        |       [4]_ |     SPS | Theoretical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/m11_marcs/README>`__         |
-+-----------------+------------+---------+-------------+-------------------------------------------------------------------------------------------------------------------+
-| M11MILES        |       [4]_ |     SPS |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/m11_miles/README>`__         |
-+-----------------+------------+---------+-------------+-------------------------------------------------------------------------------------------------------------------+
-| M11STELIB       |       [4]_ |     SPS |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/m11_stelib/README>`__        |
-+-----------------+------------+---------+-------------+-------------------------------------------------------------------------------------------------------------------+
-| M11STELIBZSOL   |       [4]_ |     SPS |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/m11_stelib_zsol/README>`__   |
-+-----------------+------------+---------+-------------+-------------------------------------------------------------------------------------------------------------------+
-| MASTARHC        |       [5]_ | Stellar |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/mastarhc/README>`__          |
-+-----------------+------------+---------+-------------+-------------------------------------------------------------------------------------------------------------------+
-| MASTARHC2       |       [5]_ | Stellar |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/mastarhc_v2/README>`__       |
-+-----------------+------------+---------+-------------+-------------------------------------------------------------------------------------------------------------------+
-| MASTARSSP       |      [10]_ |     SPS |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/mastar_ssp_v1.0/README>`__   |
-+-----------------+------------+---------+-------------+-------------------------------------------------------------------------------------------------------------------+
-| MILES           |       [6]_ | Stellar |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/miles/README>`__             |
-+-----------------+------------+---------+-------------+-------------------------------------------------------------------------------------------------------------------+
-| MILESAVG        |       [6]_ | Stellar |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/miles_avg/README>`__         |
-+-----------------+------------+---------+-------------+-------------------------------------------------------------------------------------------------------------------+
-| MILESHC         |       [7]_ | Stellar |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/miles_cluster/README>`__     |
-+-----------------+------------+---------+-------------+-------------------------------------------------------------------------------------------------------------------+
-| MILESTHIN       |       [6]_ | Stellar |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/miles_thin/README>`__        |
-+-----------------+------------+---------+-------------+-------------------------------------------------------------------------------------------------------------------+
-| MIUSCAT         |       [8]_ |     SPS |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/miuscat/README>`__           |
-+-----------------+------------+---------+-------------+-------------------------------------------------------------------------------------------------------------------+
-| MIUSCATTHIN     |       [8]_ |     SPS |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/miuscat_thin/README>`__      |
-+-----------------+------------+---------+-------------+-------------------------------------------------------------------------------------------------------------------+
-| STELIB          |       [9]_ | Stellar |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/stelib/README>`__            |
-+-----------------+------------+---------+-------------+-------------------------------------------------------------------------------------------------------------------+
++-----------------+------------+---------+-------------+------------------------------------------------------------------------------------------------------------------------+
+| Key             |  Reference |    Type |    Pedigree | Comments                                                                                                               |
++=================+============+=========+=============+========================================================================================================================+
+| BC03            |  [1]_ [2]_ |     SPS |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/bc03_mpajhu/README>`__            |
++-----------------+------------+---------+-------------+------------------------------------------------------------------------------------------------------------------------+
+| BPASS           |       [3]_ |     SPS | Theoretical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/bpass/README>`__                  |
++-----------------+------------+---------+-------------+------------------------------------------------------------------------------------------------------------------------+
+| M11ELODIE       |       [4]_ |     SPS |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/m11_elodie/README>`__             |
++-----------------+------------+---------+-------------+------------------------------------------------------------------------------------------------------------------------+
+| M11MARCS        |       [4]_ |     SPS | Theoretical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/m11_marcs/README>`__              |
++-----------------+------------+---------+-------------+------------------------------------------------------------------------------------------------------------------------+
+| M11MILES        |       [4]_ |     SPS |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/m11_miles/README>`__              |
++-----------------+------------+---------+-------------+------------------------------------------------------------------------------------------------------------------------+
+| M11STELIB       |       [4]_ |     SPS |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/m11_stelib/README>`__             |
++-----------------+------------+---------+-------------+------------------------------------------------------------------------------------------------------------------------+
+| M11STELIBZSOL   |       [4]_ |     SPS |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/m11_stelib_zsol/README>`__        |
++-----------------+------------+---------+-------------+------------------------------------------------------------------------------------------------------------------------+
+| MASTARHC        |       [5]_ | Stellar |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/mastarhc/README>`__               |
++-----------------+------------+---------+-------------+------------------------------------------------------------------------------------------------------------------------+
+| MASTARHC2       |       [5]_ | Stellar |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/mastarhc_v2/README>`__            |
++-----------------+------------+---------+-------------+------------------------------------------------------------------------------------------------------------------------+
+| MASTARSSP       |      [10]_ |     SPS |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/mastar_ssp_v1.0/README>`__        |
++-----------------+------------+---------+-------------+------------------------------------------------------------------------------------------------------------------------+
+| MASTARHC2-NOISM |      [11]_ | Stellar |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/mastarhc_v2_noism/README>`__      |
++-----------------+------------+---------+-------------+------------------------------------------------------------------------------------------------------------------------+
+| MASTARSSP-NOISM |      [11]_ |     SPS |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/README>`__  |
++-----------------+------------+---------+-------------+------------------------------------------------------------------------------------------------------------------------+
+| MILES           |       [6]_ | Stellar |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/miles/README>`__                  |
++-----------------+------------+---------+-------------+------------------------------------------------------------------------------------------------------------------------+
+| MILESAVG        |       [6]_ | Stellar |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/miles_avg/README>`__              |
++-----------------+------------+---------+-------------+------------------------------------------------------------------------------------------------------------------------+
+| MILESHC         |       [7]_ | Stellar |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/miles_cluster/README>`__          |
++-----------------+------------+---------+-------------+------------------------------------------------------------------------------------------------------------------------+
+| MILESTHIN       |       [6]_ | Stellar |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/miles_thin/README>`__             |
++-----------------+------------+---------+-------------+------------------------------------------------------------------------------------------------------------------------+
+| MIUSCAT         |       [8]_ |     SPS |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/miuscat/README>`__                |
++-----------------+------------+---------+-------------+------------------------------------------------------------------------------------------------------------------------+
+| MIUSCATTHIN     |       [8]_ |     SPS |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/miuscat_thin/README>`__           |
++-----------------+------------+---------+-------------+------------------------------------------------------------------------------------------------------------------------+
+| STELIB          |       [9]_ | Stellar |   Empirical | `README <https://github.com/sdss/mangadap/blob/main/mangadap/data/spectral_templates/stelib/README>`__                 |
++-----------------+------------+---------+-------------+------------------------------------------------------------------------------------------------------------------------+
 
 Template Library Datamodel
 --------------------------
@@ -159,14 +163,15 @@ for the templates to your :ref:`plan` file, as described above.
 
 ----
 
-.. [1] `Bruzual & Charlot (2003, MNRAS, 344, 1000) <https://ui.adsabs.harvard.edu/abs/2003MNRAS.344.1000B/abstract>`_
-.. [2] https://wwwmpa.mpa-garching.mpg.de/SDSS/DR4/
-.. [3] `Eldridge et al. (2017, PASA, 34, 58) <https://ui.adsabs.harvard.edu/abs/2017PASA...34...58E/abstract>`_
-.. [4] `Maraston & Strömbäch (2011, MNRAS, 418, 2785) <https://ui.adsabs.harvard.edu/abs/2011MNRAS.418.2785M/abstract>`_
-.. [5] `Yan et al. (2019, ApJ, 883, 175) <https://ui.adsabs.harvard.edu/abs/2019ApJ...883..175Y/abstract>`_
-.. [6] `Falcón-Barroso et al. (2011, A&A, 532, 95) <https://ui.adsabs.harvard.edu/abs/2011A%26A...532A..95F/abstract>`_
-.. [7] `Westfall et al. (2019, AJ, 158, 231) <https://ui.adsabs.harvard.edu/abs/2019AJ....158..231W/abstract>`_
-.. [8] `Vazdekis et al. (2012, MNRAS, 424, 157) <https://ui.adsabs.harvard.edu/abs/2012MNRAS.424..157V/abstract>`_
-.. [9] `Le Borgne et al. (2003, A&A, 402, 433) <https://ui.adsabs.harvard.edu/abs/2003A%26A...402..433L/abstract>`_
-.. [10] `Maraston et al. (2020, MNRAS, 496, 2962)`_
+.. [1] `Bruzual & Charlot (2003, MNRAS, 344, 1000) <https://ui.adsabs.harvard.edu/abs/2003MNRAS.344.1000B/abstract>`__
+.. [2] `Garching DR4 Data <https://wwwmpa.mpa-garching.mpg.de/SDSS/DR4/>`__
+.. [3] `Eldridge et al. (2017, PASA, 34, 58) <https://ui.adsabs.harvard.edu/abs/2017PASA...34...58E/abstract>`__
+.. [4] `Maraston & Strömbäch (2011, MNRAS, 418, 2785) <https://ui.adsabs.harvard.edu/abs/2011MNRAS.418.2785M/abstract>`__
+.. [5] `Yan et al. (2019, ApJ, 883, 175) <https://ui.adsabs.harvard.edu/abs/2019ApJ...883..175Y/abstract>`__
+.. [6] `Falcón-Barroso et al. (2011, A&A, 532, 95) <https://ui.adsabs.harvard.edu/abs/2011A%26A...532A..95F/abstract>`__
+.. [7] `Westfall et al. (2019, AJ, 158, 231) <https://ui.adsabs.harvard.edu/abs/2019AJ....158..231W/abstract>`__
+.. [8] `Vazdekis et al. (2012, MNRAS, 424, 157) <https://ui.adsabs.harvard.edu/abs/2012MNRAS.424..157V/abstract>`__
+.. [9] `Le Borgne et al. (2003, A&A, 402, 433) <https://ui.adsabs.harvard.edu/abs/2003A%26A...402..433L/abstract>`__
+.. [10] `Maraston et al. (2020, MNRAS, 496, 2962) <https://ui.adsabs.harvard.edu/abs/2020MNRAS.496.2962M/abstract>`__
+.. [11] Rubin et al. (in press)
 
diff --git a/docs/whatsnew.rst b/docs/whatsnew.rst
index 16f702a7..5eda7fd5 100644
--- a/docs/whatsnew.rst
+++ b/docs/whatsnew.rst
@@ -5,6 +5,29 @@
 What's New in the DAP
 *********************
 
+Version 4.2.0
+=============
+
+ - Deprecate support for python 3.10
+ - Change TOML dependency from ``tomli`` to ``tomllib``.
+ - Verify support for numpy>=2.0 and bump dependency to pydl>=1.0
+ - Adds "MASTARHC2-NOISM" and "MASTARSSP-NOISM" templates
+
+Version 4.1.2
+=============
+
+ - Fixed a bug when using the covariance calibration method, instead of a direct
+   calculation of the covariance matrix.  Thanks to reporter from issue #115,
+   @iandroberts.
+ - Minor package updates: bumps python support to 3.10-3.12, minor doc updates,
+   and removes use of deprecated ``pkg_resources``.
+
+Version 4.1.1
+=============
+
+ - Fixed bug in initial guess used for emission-line kinematics.  Now ensures
+   that initial guess satisfies any imposed inequalities.
+
 Version 4.1.0
 =============
 
diff --git a/environment.yml b/environment.yml
index 379b8a40..dce3d2e0 100644
--- a/environment.yml
+++ b/environment.yml
@@ -2,7 +2,7 @@ name: sdss-mangadap
 channels:
   - defaults
 dependencies:
-  - python>=3.10,<3.13
+  - python>=3.11,<3.13
   - pip
   - pip:
     - sdss-mangadap
diff --git a/mangadap/config/analysisplan.py b/mangadap/config/analysisplan.py
index 77b13bff..2294bc75 100644
--- a/mangadap/config/analysisplan.py
+++ b/mangadap/config/analysisplan.py
@@ -19,7 +19,7 @@
 
 from IPython import embed
 
-import tomli
+import tomllib
 
 from ..par.util import recursive_dict_str_to_None
 from . import defaults
@@ -89,7 +89,7 @@ def from_toml(cls, ifile, **kwargs):
             raise FileNotFoundError(f'{_ifile} does not exist!')
 
         with open(_ifile, 'rb') as f:
-            plan = tomli.load(f)
+            plan = tomllib.load(f)
 
         return cls(plan, **kwargs)
 
diff --git a/mangadap/config/spectral_templates/mastar_ssp_noism.ini b/mangadap/config/spectral_templates/mastar_ssp_noism.ini
new file mode 100644
index 00000000..9b7436e0
--- /dev/null
+++ b/mangadap/config/spectral_templates/mastar_ssp_noism.ini
@@ -0,0 +1,10 @@
+[default]
+ key              = MASTARSSP-NOISM
+ file_search      = mastar_ssp_noism_v1.0/*.fits.gz
+ fwhm
+ sres_ext         = SRES
+ in_vacuum        = True
+ wave_limit
+ lower_flux_limit
+ log10            = True
+
diff --git a/mangadap/config/spectral_templates/mastarhc2_noism.ini b/mangadap/config/spectral_templates/mastarhc2_noism.ini
new file mode 100644
index 00000000..e1082a26
--- /dev/null
+++ b/mangadap/config/spectral_templates/mastarhc2_noism.ini
@@ -0,0 +1,10 @@
+[default]
+ key              = MASTARHC2-NOISM
+ file_search      = mastarhc_v2_noism/*.fits.gz
+ fwhm
+ sres_ext         = SRES
+ in_vacuum        = True
+ wave_limit
+ lower_flux_limit
+ log10            = True
+
diff --git a/mangadap/contrib/xjmc.py b/mangadap/contrib/xjmc.py
index dc9d62a8..0fa832f0 100644
--- a/mangadap/contrib/xjmc.py
+++ b/mangadap/contrib/xjmc.py
@@ -880,13 +880,22 @@ def _fit_iteration(tpl_wave, templates, wave, flux, noise, velscale, start, mome
             # emission lines
             reject_pixels = list(set(pp.goodpixels)
                                     & set(np.arange(len(resid))[pp.gas_bestfit < 1e-6]))
-            if len(reject_pixels) == 0:
-                warnings.warn('Unable to find *good* pixels in the spectrum to use for rejection.'
-                              '  This is likely because a hardcoded threshold could not find '
-                              'pixels that were fit but not part of a fitted emission line.  '
-                              'Please submit a GitHub Issue.  Logging fault and continuing.')
+            #if len(reject_pixels) == 0:
+            #    warnings.warn('Unable to find *good* pixels in the spectrum to use for rejection.'
+            #                  '  This is likely because a hardcoded threshold could not find '
+            #                  'pixels that were fit but not part of a fitted emission line.  '
+            #                  'Please submit a GitHub Issue.  Logging fault and continuing.')
+            #    fault[i] = True
+            #    continue
+            if len(reject_pixels) ==0:
+                reject_pixels = list(set(pp.goodpixels)
+                        & set(np.arange(len(resid))[pp.gas_bestfit < 1e-4]))
+            if len(reject_pixels) ==0:
+                #raise ValueError('Could not find pixels with no gas')
+                warnings.warn('rejection fault Logging fault and continuing.')
                 fault[i] = True
                 continue
+
             # - Calculate the 1-sigma confidence interval
             rms = calculate_noise(resid[reject_pixels], width=reject_boxcar)
             # - Reject pixels with > 3-sigma residuals
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.003-Z+0.00.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.003-Z+0.00.fits.gz
new file mode 100644
index 00000000..389373c7
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.003-Z+0.00.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.003-Z+0.35.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.003-Z+0.35.fits.gz
new file mode 100644
index 00000000..355de545
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.003-Z+0.35.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.003-Z-0.33.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.003-Z-0.33.fits.gz
new file mode 100644
index 00000000..4650a920
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.003-Z-0.33.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.003-Z-1.35.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.003-Z-1.35.fits.gz
new file mode 100644
index 00000000..a35feb21
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.003-Z-1.35.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.010-Z+0.00.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.010-Z+0.00.fits.gz
new file mode 100644
index 00000000..3df332c7
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.010-Z+0.00.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.010-Z+0.35.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.010-Z+0.35.fits.gz
new file mode 100644
index 00000000..1f114d70
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.010-Z+0.35.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.010-Z-0.33.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.010-Z-0.33.fits.gz
new file mode 100644
index 00000000..0e5303d4
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.010-Z-0.33.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.010-Z-1.35.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.010-Z-1.35.fits.gz
new file mode 100644
index 00000000..6b4a1528
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.010-Z-1.35.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.030-Z+0.00.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.030-Z+0.00.fits.gz
new file mode 100644
index 00000000..954713c1
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.030-Z+0.00.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.032-Z+0.35.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.032-Z+0.35.fits.gz
new file mode 100644
index 00000000..f586e7f6
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.032-Z+0.35.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.032-Z-0.33.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.032-Z-0.33.fits.gz
new file mode 100644
index 00000000..5c97c928
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.032-Z-0.33.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.032-Z-1.35.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.032-Z-1.35.fits.gz
new file mode 100644
index 00000000..61379aab
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.032-Z-1.35.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.100-Z+0.00.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.100-Z+0.00.fits.gz
new file mode 100644
index 00000000..a9a078fc
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.100-Z+0.00.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.100-Z+0.35.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.100-Z+0.35.fits.gz
new file mode 100644
index 00000000..8250c8b2
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.100-Z+0.35.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.100-Z-0.33.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.100-Z-0.33.fits.gz
new file mode 100644
index 00000000..88b87a66
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.100-Z-0.33.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.100-Z-1.35.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.100-Z-1.35.fits.gz
new file mode 100644
index 00000000..bbb0092f
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.100-Z-1.35.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.200-Z+0.00.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.200-Z+0.00.fits.gz
new file mode 100644
index 00000000..21053795
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.200-Z+0.00.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.300-Z+0.35.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.300-Z+0.35.fits.gz
new file mode 100644
index 00000000..f877e5b8
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.300-Z+0.35.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.300-Z-0.33.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.300-Z-0.33.fits.gz
new file mode 100644
index 00000000..f68f8c40
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.300-Z-0.33.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.300-Z-1.35.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.300-Z-1.35.fits.gz
new file mode 100644
index 00000000..969d8358
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A00.300-Z-1.35.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A01.000-Z+0.00.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A01.000-Z+0.00.fits.gz
new file mode 100644
index 00000000..c69cdc56
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A01.000-Z+0.00.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A01.000-Z+0.35.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A01.000-Z+0.35.fits.gz
new file mode 100644
index 00000000..7967e2fd
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A01.000-Z+0.35.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A01.000-Z-0.33.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A01.000-Z-0.33.fits.gz
new file mode 100644
index 00000000..95d05766
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A01.000-Z-0.33.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A01.000-Z-1.35.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A01.000-Z-1.35.fits.gz
new file mode 100644
index 00000000..999d88eb
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A01.000-Z-1.35.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A03.000-Z+0.00.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A03.000-Z+0.00.fits.gz
new file mode 100644
index 00000000..1896dadc
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A03.000-Z+0.00.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A03.000-Z+0.35.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A03.000-Z+0.35.fits.gz
new file mode 100644
index 00000000..cb598a82
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A03.000-Z+0.35.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A03.000-Z-0.33.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A03.000-Z-0.33.fits.gz
new file mode 100644
index 00000000..137d5032
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A03.000-Z-0.33.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A03.000-Z-1.35.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A03.000-Z-1.35.fits.gz
new file mode 100644
index 00000000..7b8a33c8
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A03.000-Z-1.35.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A09.000-Z+0.00.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A09.000-Z+0.00.fits.gz
new file mode 100644
index 00000000..c820da90
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A09.000-Z+0.00.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A09.000-Z+0.35.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A09.000-Z+0.35.fits.gz
new file mode 100644
index 00000000..035b289c
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A09.000-Z+0.35.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A09.000-Z-0.33.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A09.000-Z-0.33.fits.gz
new file mode 100644
index 00000000..9d963af0
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A09.000-Z-0.33.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A09.000-Z-1.35.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A09.000-Z-1.35.fits.gz
new file mode 100644
index 00000000..781d32d1
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A09.000-Z-1.35.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A14.000-Z+0.00.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A14.000-Z+0.00.fits.gz
new file mode 100644
index 00000000..2a2a46b4
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A14.000-Z+0.00.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A14.000-Z+0.35.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A14.000-Z+0.35.fits.gz
new file mode 100644
index 00000000..d34839f4
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A14.000-Z+0.35.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A14.000-Z-0.33.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A14.000-Z-0.33.fits.gz
new file mode 100644
index 00000000..7eae1712
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A14.000-Z-0.33.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A14.000-Z-1.35.fits.gz b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A14.000-Z-1.35.fits.gz
new file mode 100644
index 00000000..49670d70
Binary files /dev/null and b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/MaStar-SSP-A14.000-Z-1.35.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/README b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/README
new file mode 100644
index 00000000..656487b3
--- /dev/null
+++ b/mangadap/data/spectral_templates/mastar_ssp_noism_v1.0/README
@@ -0,0 +1,26 @@
+#-----------------------------------------------------------------------
+# MaStar-based Simple Stellar Population Models with MW ISM Removed (v1.0)
+#-----------------------------------------------------------------------
+#
+# See: 
+#
+#   Public Website:
+#       https://www.icg.port.ac.uk/MaStar/
+#
+#   Publication: K. Rubin et al. 2024
+#
+#   This is a sub-selection of the currently available models.  SSP
+#   parameters are given in the name of the file.  The grid is limited
+#   to:
+#
+#       Age [Gyr]:    0.00316228, 0.01, 0.03162278, 0.100, 0.300,
+#                     1.000, 3.000, 9.000, 14.000
+#       log(Z/Z_sun): -1.35, -0.33, 0, 0.35
+#       IMF Slope:    2.35 (Salpeter)
+#
+#    Fluxes have been normalized by their median
+#-----------------------------------------------------------------------
+#-----------------------------------------------------------------------
+# K.H.R. Rubin,    23 Oct 2024
+#-----------------------------------------------------------------------
+
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_02_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_02_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..9d8511bf
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_02_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_03_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_03_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..2e74cddd
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_03_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_09_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_09_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..eb2b8db4
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_09_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_11_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_11_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..f89285a1
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_11_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_12_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_12_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..aa15b915
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_12_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_14_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_14_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..36fb69ca
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_14_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_15_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_15_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..222b2ffc
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_15_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_16_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_16_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..167a4ef9
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_16_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_17_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_17_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..9b0f0410
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_17_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_19_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_19_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..aa7b8a87
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_19_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_22_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_22_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..86d8c3b3
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_22_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_23_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_23_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..7a6627e3
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_23_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_26_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_26_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..fe81af28
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_26_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_30_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_30_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..671b2804
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_30_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_33_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_33_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..240c436c
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_33_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_36_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_36_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..302c4828
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_36_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_37_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_37_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..c02d6d0d
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_37_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_38_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_38_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..34e50cd3
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_38_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_39_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_39_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..55d719a0
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_39_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_40_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_40_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..f7bd351b
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_40_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_42_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_42_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..40e3dd37
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_42_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_43_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_43_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..5fd62767
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_43_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_44_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_44_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..5d895a06
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_44_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_45_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_45_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..d7cba33f
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_45_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_46_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_46_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..33a38bc5
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_46_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_47_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_47_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..5f8727f0
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_47_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_48_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_48_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..7ea8171e
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_48_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_49_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_49_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..61ae8594
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_49_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_51_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_51_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..457fed1a
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_51_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_56_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_56_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..6013448f
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_56_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_57_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_57_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..3932e18e
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_57_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_58_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_58_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..a6a82a16
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_58_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_59_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_59_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..25359856
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_59_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_60_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_60_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..b7a11e8e
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_60_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_66_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_66_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..720d3328
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_66_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_67_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_67_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..3cefb288
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_67_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_68_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_68_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..13e8788b
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_68_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_70_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_70_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..37345dea
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_70_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_71_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_71_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..313c29f9
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_71_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_74_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_74_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..5d543091
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_74_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_75_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_75_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..dae3d93e
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_75_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_76_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_76_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..7b9feddc
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_76_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_77_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_77_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..b1df904e
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_77_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_78_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_78_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..c80410aa
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_78_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_79_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_79_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..d7e6a458
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_79_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_80_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_80_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..e829b424
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_80_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_81_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_81_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..3c1ad331
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_81_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_82_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_82_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..6d4a01f3
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_82_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_84_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_84_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..fad2bcc1
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_84_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_85_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_85_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..df114878
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_85_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_86_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_86_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..abee45e9
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_86_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_87_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_87_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..62ce81bf
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_87_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_90_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_90_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..c0cfaa31
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_90_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_96_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_96_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..98dcfc7e
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_96_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_97_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_97_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..eb155fd3
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_97_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_98_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_98_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..bcce548a
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_98_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_99_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_99_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz
new file mode 100644
index 00000000..1607e56c
Binary files /dev/null and b/mangadap/data/spectral_templates/mastarhc_v2_noism/MaStarHC_99_lsfpercent99.5_extcorr_ismcorrimpl.fits.gz differ
diff --git a/mangadap/data/spectral_templates/mastarhc_v2_noism/README b/mangadap/data/spectral_templates/mastarhc_v2_noism/README
new file mode 100644
index 00000000..826a6f31
--- /dev/null
+++ b/mangadap/data/spectral_templates/mastarhc_v2_noism/README
@@ -0,0 +1,2868 @@
+#-----------------------------------------------------------------------
+# MaStar Hierarchically Clustered Library with MW ISM Removed (v1.0)
+#-----------------------------------------------------------------------
+#
+# See https://trac.sdss.org/wiki/MANGA/StellarLib/AndTheDAP/Clustering
+#
+#   Any star spectrum with a SUB cluster ID set to -1 was removed
+#
+# These templates are generated using the same techniques as the mastarhc_v2
+# templates, but use MaStar spectra that have been cleaned of MW ISM
+# contamination as described in Rubin et al. 2024.  The original MaStar
+# spectra are drawn from mastar-combspec-v3_1_1-v1_7_7-lsfpercent99.5.fits.gz
+#
+# Cluster ID information is copied from the original mastarhc_v2 README
+# below.  This set excludes cluster IDs 0, 6, 8, 13, 29, 35, and 88 because
+# they did not contain any low-ISM or "cleaned" stellar spectra.  This
+# version of clusters 9, 12, 26, 30, 66, 84, and 96 have only one star.
+#
+#-----------------------------------------------------------------------
+#-----------------------------------------------------------------------
+# K.B. Westfall,  20 May 2020 - Beta version
+# KBW, 1 Jun 2021 - Added MaNGA ID
+# K.H.R. Rubin,   23 October 2024 - updated to describe ISM removal
+#-----------------------------------------------------------------------
+#
+# SUB Clusters removed:
+#   1   Bad noise spike in one spectrum
+#   4   Single star
+#   5   Single star
+#   7   Single star
+#   10  Noisy
+#   18  Mixed cluster
+#   20  Single star
+#   21  Single star
+#   24  Noisy
+#   28  Noisy
+#   31  Single star
+#   32  Noisy
+#   34  Noisy
+#   41  Noisy
+#   50  Noisy
+#   52  Noisy
+#   53  Noisy
+#   54  Noisy
+#   55  Noisy
+#   61  Bad cluster
+#   62  Noisy
+#   63  Noisy
+#   64  Single star
+#   65  Single star
+#   69  Single star
+#   72  Bad cluster
+#   73  Single star
+#   83  Bad cluster
+#   89  Bad cluster
+#   91  Noisy
+#   92  Single star
+#   93  Bad cluster
+#   94  Single star
+#   95  Single star
+#
+# Columns:
+#   1 - ID: Just the index of the spectrum in the file provided by Renbin Yan
+#   2 - MANGAID: MaNGA ID of observed star (unique)
+#   3 - BASE: Coarse cluster ID (based on fit without continuum adjustment)
+#   4 - SUB: Fine cluster ID (based on fit with high-order multiplicative polynomial)
+#
+# ID                MaNGAID BASE  SUB
+   0                   13-6    3   43
+   1                   13-7    3   44
+   2                   14-3    4   51
+   3                   14-7    4   51
+   4                   15-0    3   45
+   5                   15-3    4   49
+   6                   15-4    4   50
+   7                   15-5    3   43
+   8                 25-370    3   43
+   9                 25-376    4   51
+  10                 25-387    3   43
+  11                   25-5    3   43
+  12                 25-512    3   43
+  13                 25-559    3   43
+  14                 25-562    3   45
+  15                 25-572    3   42
+  16                 25-575    4   51
+  17                 25-577    3   43
+  18                  25-67    3   45
+  19                  25-71    4   51
+  20                  25-73    4   51
+  21                  25-75    3   43
+  22                  25-76    3   43
+  23                   26-1    3   37
+  24                  26-68    5   63
+  25                  26-74    5   61
+  26                  26-76    5   64
+  27                   26-8    5   61
+  28                  26-84    4   51
+  29                  26-90    4   53
+  30                27-1470    4   53
+  31                27-1475    5   -1
+  32                27-1497    5   57
+  33                27-1617    3   40
+  34                27-1787    5   59
+  35                27-1862    4   51
+  36                 27-442    5   57
+  37                 27-473    5   93
+  38                 27-755    3   40
+  39                 27-768    4   49
+  40                 27-838    4   48
+  41                 27-840    5   60
+  42                 27-841    1   21
+  43                 27-954    5   55
+  44                 27-957    4   50
+  45                 28-157    4   49
+  46                 28-194    3   40
+  47                 28-201    4   49
+  48                 28-202    4   48
+  49                 28-226    3   39
+  50                 28-231    4   49
+  51                 28-232    7   97
+  52                 28-240    3   42
+  53            3-100008624    7   77
+  54               3-100048    2   23
+  55            3-100141271    5   65
+  56            3-100272395    4   52
+  57            3-100398911    3   41
+  58            3-100520880    4   53
+  59            3-100638002    7   72
+  60            3-101300861    4   53
+  61            3-101388949    4   53
+  62            3-101493262    3   38
+  63            3-101493286    5   55
+  64            3-101581473    3   37
+  65            3-101587168    4   47
+  66            3-102021793    3   32
+  67            3-102188899    4   53
+  68            3-103163341    1   99
+  69            3-103225147    5   59
+  70            3-104474429    4   49
+  71            3-104803056    2   23
+  72            3-105007291    7   80
+  73            3-105104159    4   46
+  74            3-105163736    2   22
+  75            3-105253967    5   60
+  76            3-105446152    5   58
+  77             3-10569199    2   22
+  78            3-105761241    4   50
+  79            3-105895429    5   57
+  80            3-105968148    4   46
+  81            3-105987432    4   47
+  82            3-106005185    2   23
+  83            3-106023912    0    3
+  84            3-106024176    4   46
+  85            3-106042074    5   62
+  86            3-106042375    5   63
+  87            3-106060337    4   46
+  88            3-106078266    4   46
+  89            3-106085584    5   58
+  90            3-106102844    5   62
+  91            3-108691021    1   17
+  92            3-108873083    1   18
+  93            3-108949302    1   18
+  94            3-109142765    5   56
+  95            3-109319965    5   60
+  96            3-109360041    1   88
+  97            3-109364758    3   43
+  98            3-109409283    4   46
+  99            3-109454844    5   56
+ 100            3-109545410    3   41
+ 101            3-109592040    5   60
+ 102            3-109592339    3   34
+ 103            3-109638508    7   81
+ 104            3-109685853    4   48
+ 105            3-109686027    4   48
+ 106            3-110099835    5   57
+ 107             3-11151353    4   48
+ 108            3-111525502    5   58
+ 109            3-111785612    0    3
+ 110            3-112044738    4   47
+ 111            3-112046579    3   45
+ 112            3-112133639    5   60
+ 113            3-112133676    4   48
+ 114            3-112222195    1   16
+ 115            3-112222319    3   43
+ 116            3-112312194    3   44
+ 117            3-112500467    4   48
+ 118            3-112691219    4   49
+ 119            3-112799381    5   56
+ 120            3-112799581    2   22
+ 121            3-112799623    1   17
+ 122            3-112799692    2   22
+ 123            3-112898190    4   48
+ 124            3-112904205    4   49
+ 125            3-113005779    4   48
+ 126            3-113005817    5   56
+ 127            3-113005845    4   53
+ 128            3-113011268    3   45
+ 129            3-113011312    2   23
+ 130            3-113012116    5   57
+ 131            3-113117774    4   51
+ 132            3-113117833    4   48
+ 133            3-113123285    4   49
+ 134            3-113126736    5   57
+ 135            3-113236294    4   49
+ 136            3-113239400    4   49
+ 137            3-113353219    4   48
+ 138            3-113353238    3   44
+ 139            3-113460672    3   -1
+ 140            3-113469368    5   59
+ 141             3-11355574    7   85
+ 142            3-113585014    3   43
+ 143            3-113585098    4   48
+ 144            3-113693199    3   38
+ 145            3-113814042    5   60
+ 146            3-113819249    3   44
+ 147            3-114183391    2   23
+ 148            3-114307526    1   16
+ 149            3-114842839    4   48
+ 150            3-114981090    1   17
+ 151            3-115119884    4   48
+ 152            3-115261091    3   38
+ 153            3-115398787    1   18
+ 154            3-115813590    4   49
+ 155            3-115827066    4   53
+ 156            3-116121822    1   17
+ 157            3-116132958    3   40
+ 158            3-116280298    4   47
+ 159            3-116280335    4   48
+ 160            3-116402753    3   34
+ 161            3-116418674    3   40
+ 162            3-116553350    4   52
+ 163            3-116569849    3   45
+ 164            3-116581259    4   49
+ 165            3-116739358    4   48
+ 166            3-117044757    5   55
+ 167            3-117056554    4   47
+ 168            3-117218125    4   48
+ 169            3-117518138    4   48
+ 170            3-117848595    4   49
+ 171            3-118019145    4   48
+ 172            3-118185687    1   20
+ 173            3-118344594    0    3
+ 174            3-118564526    4   49
+ 175            3-118753802    1   18
+ 176            3-118897419    4   53
+ 177             3-11904173    1   13
+ 178            3-119097873    5   54
+ 179            3-119097983    7   -1
+ 180            3-119269268    4   53
+ 181            3-119650418    5   61
+ 182            3-119845324    5   63
+ 183            3-119871880    2   23
+ 184            3-120073409    1   16
+ 185            3-120235285    0    3
+ 186            3-120920263    7   -1
+ 187            3-121654446    2   23
+ 188            3-121879372    5   55
+ 189            3-121880101    0    3
+ 190            3-122128719    4   46
+ 191            3-122640417    4   46
+ 192            3-122665859    3   44
+ 193            3-122900522    4   48
+ 194            3-122924899    1   17
+ 195            3-123192839    3   44
+ 196            3-123203778    4   47
+ 197            3-123443753    5   62
+ 198            3-123478017    4   49
+ 199            3-123733440    6   68
+ 200            3-123735604    4   48
+ 201            3-124002718    5   58
+ 202            3-124002726    4   49
+ 203            3-124005451    0    3
+ 204            3-124012513    4   51
+ 205            3-124012637    3   41
+ 206            3-124274025    5   60
+ 207            3-124276031    2   23
+ 208            3-124276142    4   48
+ 209            3-124279132    4   53
+ 210            3-124285177    3   45
+ 211            3-124285230    4   49
+ 212            3-124558374    5   56
+ 213            3-125080391    4   49
+ 214            3-125085491    4   53
+ 215            3-125085554    2   89
+ 216            3-125085631    4   49
+ 217            3-125091464    4   51
+ 218            3-125307389    1   14
+ 219            3-125342610    4   48
+ 220            3-125567907    1   14
+ 221            3-125606765    1   19
+ 222            3-125869755    4   49
+ 223            3-125869932    4   48
+ 224            3-126127266    4   48
+ 225            3-126638785    4   50
+ 226            3-126638930    4   51
+ 227            3-126852603    5   56
+ 228            3-127154837    4   47
+ 229            3-127413096    4   48
+ 230            3-127687804    2   22
+ 231            3-127705619    1   19
+ 232            3-128816747    4   49
+ 233            3-129105594    4   47
+ 234            3-130323867    4   49
+ 235            3-130323870    5   58
+ 236            3-130664702    4   48
+ 237            3-130664814    2   22
+ 238            3-130664821    4   48
+ 239            3-130669691    7   87
+ 240            3-130672199    4   48
+ 241            3-130672225    4   48
+ 242            3-131020320    5   60
+ 243            3-131362382    4   47
+ 244            3-131362644    1   18
+ 245            3-131370017    4   51
+ 246            3-131714002    4   48
+ 247            3-131723136    3   42
+ 248            3-131723460    4   51
+ 249            3-132046050    1   17
+ 250            3-132046080    2   23
+ 251            3-132054687    5   58
+ 252             3-13206539    4   53
+ 253             3-13207890    4   47
+ 254             3-13222208    3   35
+ 255            3-132383074    3   43
+ 256            3-132701543    7   81
+ 257            3-133380249    1   17
+ 258            3-133386480    4   48
+ 259            3-133386576    5   55
+ 260            3-133722901    3   38
+ 261            3-134063947    4   49
+ 262            3-134070192    4   49
+ 263            3-134397594    4   49
+ 264            3-134397921    2   23
+ 265             3-13503429    5   56
+ 266            3-135037867    4   49
+ 267            3-135331584    4   48
+ 268            3-135331694    4   48
+ 269            3-135331835    4   49
+ 270            3-135335632    4   49
+ 271            3-135335654    4   48
+ 272            3-135623891    4   49
+ 273            3-135627844    4   48
+ 274            3-135627976    0    5
+ 275            3-135895382    4   48
+ 276            3-135904805    1   17
+ 277            3-135908167    1   19
+ 278             3-13609085    0    9
+ 279             3-13613036    4   49
+ 280            3-136187322    3   37
+ 281            3-136746156    2   28
+ 282            3-137018177    1   17
+ 283            3-137524439    4   51
+ 284            3-138012294    7   85
+ 285            3-138020616    1   17
+ 286            3-138025028    4   48
+ 287            3-138025122    4   48
+ 288            3-138031167    4   48
+ 289             3-13816811    3   36
+ 290            3-138277111    4   49
+ 291            3-138277519    4   48
+ 292            3-138277810    4   49
+ 293            3-138515306    5   57
+ 294            3-138518177    4   49
+ 295            3-138738793    5   57
+ 296            3-138759237    3   42
+ 297            3-138991853    5   58
+ 298            3-138991995    5   56
+ 299            3-139002012    5   57
+ 300            3-139002574    5   57
+ 301            3-139221724    7   81
+ 302            3-139231835    3   42
+ 303            3-139231837    3   43
+ 304            3-139231842    4   49
+ 305            3-139231882    5   60
+ 306            3-139461922    4   48
+ 307            3-139461928    4   51
+ 308            3-139471985    1   19
+ 309            3-139680922    3   42
+ 310            3-139681182    5   60
+ 311            3-139681422    5   56
+ 312            3-139690814    4   48
+ 313            3-139690889    4   48
+ 314            3-139907461    7   80
+ 315            3-139917388    5   60
+ 316            3-140150227    0    3
+ 317            3-140366270    4   48
+ 318            3-140593054    4   51
+ 319            3-140608370    5   58
+ 320            3-140823126    3   38
+ 321            3-140831352    4   48
+ 322            3-140831910    3   43
+ 323             3-14100639    7   81
+ 324            3-141039751    4   51
+ 325            3-141054890    4   49
+ 326            3-141054895    3   45
+ 327            3-141054911    4   47
+ 328             3-14119415    7   85
+ 329            3-141269636    4   49
+ 330            3-141462029    5   57
+ 331            3-141468643    4   48
+ 332            3-141474540    4   48
+ 333            3-141476902    4   48
+ 334            3-141492440    4   48
+ 335            3-141675922    3   42
+ 336            3-141678545    3   44
+ 337            3-141867718    3   38
+ 338            3-141868311    5   60
+ 339            3-141938947    1   10
+ 340            3-142047949    6   96
+ 341            3-142063855    3   42
+ 342            3-142072330    0    3
+ 343             3-14224086    4   47
+ 344            3-142270451    7   87
+ 345             3-14243644    4   46
+ 346            3-142443055    4   46
+ 347            3-142509373    5   60
+ 348            3-142623070    4   49
+ 349            3-142623114    4   48
+ 350            3-142794726    4   47
+ 351            3-142962932    1   17
+ 352            3-142962941    3   42
+ 353            3-142963092    3   43
+ 354            3-142975803    3   44
+ 355            3-143025309    7   79
+ 356            3-143460156    4   51
+ 357             3-14432343    3   36
+ 358            3-145254698    4   48
+ 359            3-145254998    4   49
+ 360            3-145682583    4   49
+ 361            3-145824049    5   56
+ 362            3-145889941    4   48
+ 363            3-146394070    0    3
+ 364            3-146513743    4   49
+ 365            3-146652268    4   48
+ 366            3-146788654    4   49
+ 367             3-14689930    1   19
+ 368            3-146924074    3   34
+ 369            3-146929011    4   49
+ 370            3-147195232    4   48
+ 371            3-147195329    7   -1
+ 372            3-147195380    4   49
+ 373            3-147200281    4   49
+ 374            3-147200320    4   49
+ 375            3-147336860    2   28
+ 376            3-147336861    2   28
+ 377            3-147467997    4   48
+ 378            3-147472918    3   45
+ 379             3-14752124    3   36
+ 380            3-147604891    0    3
+ 381            3-147609827    4   48
+ 382            3-147741377    0    3
+ 383            3-147744603    0    2
+ 384            3-147744709    4   47
+ 385            3-147874640    4   47
+ 386            3-148008201    2   23
+ 387            3-148011334    4   48
+ 388            3-148257311    5   59
+ 389            3-148269996    4   48
+ 390            3-148270119    4   48
+ 391            3-148271265    4   48
+ 392            3-148271291    4   48
+ 393            3-148399986    4   49
+ 394            3-148401259    2   23
+ 395            3-148530715    4   48
+ 396            3-148531019    2   22
+ 397            3-148532060    4   48
+ 398            3-148532169    4   48
+ 399            3-148532311    4   48
+ 400            3-148662080    7   81
+ 401            3-148670662    1   17
+ 402            3-149050789    4   47
+ 403            3-149050810    3   43
+ 404            3-149060540    1   17
+ 405            3-149060541    2   22
+ 406            3-149189364    1   17
+ 407            3-149189628    2   23
+ 408            3-149189656    4   49
+ 409            3-149189708    1   17
+ 410            3-149293242    3   43
+ 411            3-149293520    4   48
+ 412            3-149316798    4   48
+ 413            3-149419295    4   47
+ 414            3-149419546    4   49
+ 415            3-149428738    4   48
+ 416            3-149429390    1   17
+ 417            3-149442315    4   51
+ 418            3-149442329    4   49
+ 419            3-149442385    4   48
+ 420            3-149544136    4   48
+ 421            3-149554147    4   48
+ 422            3-149567416    4   48
+ 423            3-149567510    4   49
+ 424            3-149804572    4   48
+ 425            3-149804760    4   49
+ 426            3-149935960    5   57
+ 427            3-150053612    4   48
+ 428            3-150053717    1   17
+ 429            3-150176937    5   57
+ 430             3-15020818    3   -1
+ 431            3-150684495    4   51
+ 432             3-15068751    5   61
+ 433            3-150809641    4   48
+ 434             3-15080992    2   -1
+ 435            3-150935163    4   49
+ 436            3-150935291    4   49
+ 437            3-150948075    4   48
+ 438            3-151057839    4   49
+ 439            3-151058131    7   85
+ 440            3-151060916    4   47
+ 441            3-151067714    4   49
+ 442            3-151067766    4   49
+ 443            3-151073435    4   47
+ 444            3-151190947    4   48
+ 445            3-151197326    4   47
+ 446            3-151312906    4   48
+ 447            3-151312988    1   17
+ 448            3-151424898    4   48
+ 449            3-151546751    3   39
+ 450            3-151546801    4   47
+ 451            3-151546993    4   49
+ 452            3-151556937    4   51
+ 453            3-151668747    2   23
+ 454            3-151679069    4   47
+ 455            3-151682975    4   49
+ 456            3-151910378    4   48
+ 457            3-151910553    4   48
+ 458            3-151921096    1   17
+ 459            3-151924631    4   49
+ 460            3-152035186    4   49
+ 461            3-152155518    4   49
+ 462            3-152155609    5   57
+ 463             3-15215605    2   28
+ 464            3-152165672    4   49
+ 465            3-152165898    4   48
+ 466            3-152274754    2   23
+ 467            3-152393206    4   48
+ 468            3-152393232    4   47
+ 469              3-1525474    5   57
+ 470            3-152627657    4   47
+ 471            3-152744591    4   47
+ 472            3-152744746    4   47
+ 473            3-152744790    4   47
+ 474            3-152860989    4   48
+ 475            3-152861095    4   49
+ 476            3-152987553    4   49
+ 477            3-152996751    4   49
+ 478            3-153201522    3   43
+ 479            3-153335791    3   42
+ 480            3-153447454    4   48
+ 481            3-153537821    7   77
+ 482              3-1537374    4   46
+ 483             3-15405422    3   36
+ 484             3-15413485    7   85
+ 485            3-154413711    4   49
+ 486            3-154621595    4   47
+ 487            3-154622033    4   49
+ 488            3-154826409    4   48
+ 489            3-154826660    3   42
+ 490            3-154955325    1   17
+ 491            3-155017232    5   59
+ 492            3-155124688    2   22
+ 493            3-155320219    1   17
+ 494            3-155407835    3   42
+ 495            3-155598253    4   48
+ 496            3-155605808    3   43
+ 497            3-155606104    3   33
+ 498            3-155785230    4   48
+ 499            3-155792974    4   48
+ 500            3-155793215    3   42
+ 501            3-156058652    4   46
+ 502            3-156058688    4   46
+ 503            3-156746924    4   48
+ 504            3-156759833    4   48
+ 505            3-156760023    3   42
+ 506            3-156918008    4   51
+ 507            3-156918192    4   49
+ 508            3-156922364    2   22
+ 509            3-156922386    2   22
+ 510            3-156929887    4   49
+ 511            3-156931121    4   48
+ 512            3-157009300    4   48
+ 513            3-157018145    4   49
+ 514            3-157092226    3   41
+ 515            3-157092831    5   56
+ 516            3-157104717    2   23
+ 517            3-157106544    4   47
+ 518            3-157106582    1   17
+ 519            3-157194174    7   80
+ 520            3-157267438    4   48
+ 521            3-157267750    5   54
+ 522            3-157272445    4   48
+ 523            3-157281540    4   49
+ 524            3-157355327    5   56
+ 525            3-157359701    4   48
+ 526            3-157366694    4   48
+ 527            3-157367920    5   57
+ 528            3-157441983    4   48
+ 529            3-157454142    4   48
+ 530            3-157454421    4   49
+ 531            3-157534085    4   48
+ 532            3-157534257    4   48
+ 533            3-157534347    4   48
+ 534            3-157628191    3   43
+ 535            3-157713851    4   49
+ 536            3-157980747    7   80
+ 537            3-158054279    3   45
+ 538            3-158307798    1   17
+ 539            3-158311557    4   47
+ 540            3-158389244    4   49
+ 541            3-158472527    5   57
+ 542            3-158554124    4   47
+ 543            3-158635380    5   56
+ 544            3-158636330    5   58
+ 545            3-158717176    4   47
+ 546            3-158717560    5   56
+ 547            3-158717816    5   60
+ 548            3-158717839    3   42
+ 549            3-158717982    4   49
+ 550            3-158798161    4   48
+ 551            3-158798397    4   47
+ 552            3-158957234    4   49
+ 553            3-158957486    4   50
+ 554            3-158957542    4   49
+ 555            3-159036890    3   38
+ 556            3-159121358    4   49
+ 557            3-159254666    3   38
+ 558            3-159276233    3   39
+ 559            3-159277276    4   48
+ 560            3-159354969    4   48
+ 561            3-159409340    4   51
+ 562            3-159431925    1   17
+ 563            3-159439831    4   47
+ 564            3-159487029    4   48
+ 565            3-159518761    4   49
+ 566            3-159519138    4   48
+ 567            3-159643412    5   56
+ 568            3-159643997    0    3
+ 569            3-159754402    4   49
+ 570            3-159871714    4   49
+ 571            3-159948801    3   41
+ 572            3-160024870    3   43
+ 573            3-160024933    4   48
+ 574            3-160028307    0    3
+ 575            3-160119073    2   23
+ 576            3-160176860    7   80
+ 577            3-160177039    1   17
+ 578            3-160177302    4   48
+ 579            3-160177701    4   48
+ 580            3-160180326    2   22
+ 581            3-160181270    4   47
+ 582            3-160195575    4   46
+ 583            3-160252999    5   56
+ 584            3-160253080    1   17
+ 585            3-160253785    1   17
+ 586            3-160253970    5   59
+ 587            3-160330208    4   47
+ 588            3-160330551    1   19
+ 589            3-160338849    1   17
+ 590            3-160349025    4   47
+ 591            3-160353002    3   39
+ 592            3-160406590    4   48
+ 593            3-160407249    1   99
+ 594            3-160410443    4   49
+ 595            3-160410455    4   48
+ 596            3-160411002    2   23
+ 597            3-160415058    3   42
+ 598            3-160415762    4   49
+ 599            3-160426363    3   38
+ 600            3-160484455    3   43
+ 601            3-160492433    4   49
+ 602            3-160503908    6   68
+ 603            3-160561005    4   48
+ 604            3-160561043    4   47
+ 605            3-160561616    4   48
+ 606            3-160561689    4   48
+ 607            3-160565282    4   48
+ 608            3-160565566    5   58
+ 609            3-160570192    4   48
+ 610            3-160570268    5   58
+ 611            3-160638692    4   48
+ 612            3-160638695    3   42
+ 613            3-160639148    7   86
+ 614            3-160642266    3   43
+ 615            3-160642469    7   75
+ 616            3-160642854    3   38
+ 617            3-160642856    5   60
+ 618            3-160647130    4   48
+ 619            3-160647602    3   38
+ 620            3-160715759    0    3
+ 621            3-160716017    4   48
+ 622            3-160724801    4   48
+ 623            3-160725218    4   51
+ 624            3-160725486    5   59
+ 625            3-160793151    7   81
+ 626            3-160794438    4   48
+ 627            3-160796268    3   33
+ 628            3-160802136    2   22
+ 629            3-160817641    2   -1
+ 630            3-160871563    4   48
+ 631            3-160879485    4   49
+ 632            3-160879926    4   47
+ 633            3-160948795    3   38
+ 634            3-160948950    4   47
+ 635            3-160957877    4   47
+ 636            3-161035288    4   47
+ 637            3-161039256    4   48
+ 638            3-161113544    1   17
+ 639            3-161113619    0    4
+ 640            3-161117612    3   38
+ 641            3-161195760    4   48
+ 642            3-161195763    3   33
+ 643            3-161196006    5   58
+ 644            3-161275263    2   23
+ 645            3-161284451    1   17
+ 646            3-161284988    4   49
+ 647            3-161352555    4   49
+ 648            3-161352630    4   49
+ 649            3-161353264    4   46
+ 650            3-161442293    4   48
+ 651            3-161509763    4   46
+ 652            3-161732320    5   59
+ 653            3-161737990    4   48
+ 654            3-161738556    4   48
+ 655            3-161738803    3   37
+ 656            3-161738994    2   22
+ 657             3-16243358    4   49
+ 658             3-16244116    5   57
+ 659                3-16448    0    3
+ 660              3-1670396    7   85
+ 661                3-16719    4   48
+ 662             3-17128316    7   85
+ 663             3-17343246    3   33
+ 664              3-1798503    5   55
+ 665              3-1798752    4   49
+ 666               3-184299    4   53
+ 667             3-18527599    4   46
+ 668               3-188576    2   28
+ 669             3-19137073    5   56
+ 670             3-19273691    2   22
+ 671              3-1928712    1   11
+ 672              3-1928929    4   52
+ 673             3-19423683    5   58
+ 674             3-19704749    4   51
+ 675              3-2050325    3   37
+ 676              3-2053800    4   47
+ 677             3-21031984    2   23
+ 678             3-21479561    5   59
+ 679             3-21487681    5   57
+ 680              3-2181055    3   39
+ 681              3-2192477    3   42
+ 682              3-2192664    5   58
+ 683              3-2202385    4   53
+ 684             3-22125972    5   56
+ 685             3-22429847    1   15
+ 686             3-22602885    4   48
+ 687              3-2318586    2   22
+ 688              3-2328473    4   48
+ 689              3-2332504    4   48
+ 690              3-2342647    4   47
+ 691             3-23554620    4   48
+ 692             3-23567474    5   91
+ 693                3-24698    2   24
+ 694              3-2473901    4   48
+ 695             3-24998340    4   53
+ 696             3-25131551    1   11
+ 697             3-25603977    4   47
+ 698             3-25642530    5   59
+ 699              3-2631555    7   85
+ 700              3-2756602    4   49
+ 701              3-2757056    7   80
+ 702              3-2758158    3   38
+ 703             3-27612736    1   14
+ 704             3-27663833    4   51
+ 705             3-27663900    3   33
+ 706             3-28766985    4   49
+ 707              3-2910153    3   39
+ 708              3-2910334    5   57
+ 709               3-306263    2   23
+ 710              3-3063549    4   47
+ 711              3-3064247    4   48
+ 712              3-3065656    3   32
+ 713              3-3072347    3   39
+ 714             3-31934709    4   49
+ 715              3-3223105    4   47
+ 716              3-3223356    7   77
+ 717             3-32444724    4   53
+ 718              3-3245877    2   23
+ 719              3-3246351    3   40
+ 720             3-32968582    4   48
+ 721             3-33505585    3   33
+ 722              3-3384691    5   59
+ 723             3-34032492    7   84
+ 724             3-35081513    0    3
+ 725             3-35082197    1   11
+ 726              3-3555829    4   49
+ 727             3-36482801    7   83
+ 728             3-36487328    3   36
+ 729             3-36998973    5   60
+ 730             3-37519704    5   56
+ 731             3-37522193    4   49
+ 732             3-37526238    7   85
+ 733             3-37639811    7   84
+ 734             3-38050135    1   15
+ 735             3-38174644    4   49
+ 736             3-38603254    3   36
+ 737             3-38719742    4   53
+ 738              3-3887451    4   46
+ 739             3-39162426    3   33
+ 740             3-39297581    4   48
+ 741               3-396337    0    3
+ 742             3-39862218    4   49
+ 743             3-40292018    4   51
+ 744             3-40295442    1   17
+ 745             3-40425314    5   60
+ 746             3-40438576    4   49
+ 747             3-40883042    4   49
+ 748             3-41020822    7   84
+ 749             3-41038942    1   14
+ 750             3-41620653    4   49
+ 751             3-42199547    4   49
+ 752             3-42204324    4   49
+ 753             3-42229319    3   33
+ 754             3-42267115    4   49
+ 755              3-4245761    4   48
+ 756             3-42830047    3   40
+ 757             3-43164838    4   47
+ 758             3-43402543    4   46
+ 759             3-43420528    4   49
+ 760             3-43756525    1   14
+ 761             3-43996814    4   49
+ 762              3-4408465    4   48
+ 763              3-4429279    3   39
+ 764             3-44342587    7   80
+ 765             3-44607059    1   11
+ 766             3-45142773    4   49
+ 767             3-45178003    3   40
+ 768             3-45209930    1   11
+ 769             3-45487346    3   39
+ 770               3-456987    3   39
+ 771             3-45720887    4   48
+ 772             3-45745885    7   84
+ 773              3-4615133    3   39
+ 774              3-4615684    3   39
+ 775              3-4619493    4   48
+ 776              3-4619532    4   46
+ 777             3-46270170    4   47
+ 778             3-46281496    4   51
+ 779             3-46608443    3   33
+ 780             3-46838224    4   48
+ 781             3-47388171    4   49
+ 782             3-47400697    4   53
+ 783             3-47422548    5   61
+ 784             3-47712357    7   80
+ 785              3-4784958    3   38
+ 786              3-4785284    4   47
+ 787             3-47935547    2   23
+ 788              3-4805416    3   42
+ 789              3-4816139    4   49
+ 790              3-4818067    5   56
+ 791             3-48479966    4   49
+ 792             3-48500362    3   34
+ 793             3-49019308    4   51
+ 794             3-49224469    1   15
+ 795             3-49498978    1   19
+ 796             3-49508590    4   49
+ 797             3-49508907    4   49
+ 798             3-49527346    3   33
+ 799             3-49730859    4   49
+ 800              3-4997154    3   39
+ 801              3-4998199    4   49
+ 802             3-50027337    7   86
+ 803             3-50500347    1   19
+ 804             3-50737198    4   50
+ 805             3-51011157    2   22
+ 806             3-51015402    4   47
+ 807             3-51029427    4   50
+ 808             3-51030457    4   50
+ 809             3-51192105    4   47
+ 810             3-51352837    4   49
+ 811             3-51523852    5   60
+ 812              3-5169101    5   60
+ 813             3-51875388    5   60
+ 814              3-5190844    4   47
+ 815              3-5191657    4   48
+ 816             3-51971479    4   49
+ 817              3-5197228    4   48
+ 818              3-5201590    4   49
+ 819             3-52434341    5   -1
+ 820             3-52472974    3   38
+ 821             3-52853453    5   59
+ 822             3-52974667    4   49
+ 823             3-52999366    4   47
+ 824             3-53007956    3   39
+ 825             3-53010074    7   84
+ 826             3-53359587    4   51
+ 827             3-53361825    5   58
+ 828             3-53478881    4   48
+ 829              3-5367574    4   48
+ 830              3-5392576    4   47
+ 831              3-5428175    5   60
+ 832             3-54365455    5   59
+ 833              3-5437485    5   60
+ 834              3-5439563    4   48
+ 835             3-54527520    5   63
+ 836             3-54863807    4   49
+ 837             3-55007281    4   49
+ 838             3-55379922    5   58
+ 839              3-5567537    3   38
+ 840              3-5568134    4   48
+ 841               3-558421    3   41
+ 842              3-5594563    4   49
+ 843             3-55986339    0    3
+ 844             3-56003285    5   91
+ 845              3-5629184    5   56
+ 846              3-5640004    5   59
+ 847              3-5640724    4   48
+ 848             3-56436631    5   56
+ 849              3-5772546    4   49
+ 850              3-5803213    5   58
+ 851              3-5803879    5   56
+ 852             3-58039967    3   42
+ 853             3-58044279    2   22
+ 854               3-585797    4   48
+ 855             3-58857629    1   13
+ 856             3-58872393    4   53
+ 857             3-59128216    4   49
+ 858             3-59154158    5   61
+ 859             3-59154551    7   83
+ 860              3-5970799    3   40
+ 861              3-5977283    4   49
+ 862              3-5978808    4   49
+ 863             3-59998612    1   13
+ 864              3-6005748    4   48
+ 865             3-60116771    3   38
+ 866              3-6040134    4   50
+ 867              3-6052853    4   46
+ 868             3-61905933    5   57
+ 869             3-61916568    2   30
+ 870              3-6218701    4   51
+ 871             3-62320607    7   80
+ 872             3-62444444    4   48
+ 873             3-63007734    3   38
+ 874             3-63506876    4   49
+ 875             3-63535405    4   49
+ 876             3-63535477    4   48
+ 877              3-6387353    4   47
+ 878              3-6388341    4   47
+ 879              3-6429164    2   23
+ 880              3-6429179    5   59
+ 881               3-649913    4   49
+ 882             3-65060737    5   55
+ 883               3-655335    4   48
+ 884              3-6602186    3   42
+ 885             3-66252337    4   48
+ 886             3-66257486    1   16
+ 887             3-66793125    2   23
+ 888             3-66796121    4   47
+ 889             3-67905735    4   47
+ 890             3-68470667    2   23
+ 891             3-69034361    4   47
+ 892             3-69034609    2   23
+ 893             3-69335266    1   11
+ 894             3-69513188    4   48
+ 895             3-69584444    3   39
+ 896             3-70126878    4   48
+ 897             3-70130973    4   49
+ 898             3-70661720    4   49
+ 899             3-70662336    4   47
+ 900             3-70664870    0    3
+ 901             3-70933063    5   56
+ 902             3-71121864    7   84
+ 903             3-71678669    1   -1
+ 904             3-72108719    5   57
+ 905             3-72653067    5   58
+ 906             3-72947728    5   60
+ 907             3-72952221    1   13
+ 908             3-73157918    4   51
+ 909             3-73613845    2   23
+ 910             3-74653777    4   51
+ 911             3-75155408    7   79
+ 912             3-75157382    2   22
+ 913               3-755334    5   57
+ 914              3-7674813    3   40
+ 915              3-7895045    4   49
+ 916              3-7895058    4   48
+ 917             3-79229057    1   14
+ 918             3-79665625    2   24
+ 919              3-8105959    5   60
+ 920             3-82406696    4   49
+ 921             3-82407130    7   87
+ 922             3-82407371    4   48
+ 923             3-82832363    3   42
+ 924             3-83228097    0    3
+ 925             3-83261606    3   39
+ 926             3-83261866    4   49
+ 927              3-8333901    5   57
+ 928             3-83675993    4   49
+ 929             3-83677199    6   68
+ 930             3-83704589    3   42
+ 931             3-83705553    4   49
+ 932             3-83709444    4   48
+ 933             3-84187938    1   18
+ 934             3-84695110    2   23
+ 935             3-85182380    3   42
+ 936               3-852368    3   42
+ 937               3-857335    4   48
+ 938             3-85740032    3   37
+ 939             3-85743613    4   49
+ 940             3-86263191    6   96
+ 941             3-86293840    3   39
+ 942             3-86805456    4   47
+ 943             3-86806259    4   48
+ 944             3-86834948    4   48
+ 945             3-87880308    4   48
+ 946             3-87880670    4   47
+ 947             3-87888299    0    3
+ 948             3-88391473    5   60
+ 949             3-89415173    4   47
+ 950             3-89431510    3   36
+ 951             3-89909656    4   46
+ 952             3-89909934    5   56
+ 953             3-90351016    4   47
+ 954             3-90367739    5   54
+ 955             3-90367866    4   51
+ 956             3-90806897    3   40
+ 957             3-91236478    4   49
+ 958             3-91236507    1   19
+ 959             3-91654271    4   49
+ 960             3-92040028    3   44
+ 961             3-92815203    5   60
+ 962             3-93156759    4   49
+ 963             3-93522746    3   33
+ 964             3-93866570    7   87
+ 965             3-93905999    0    3
+ 966             3-94199055    5   54
+ 967             3-94199556    5   55
+ 968             3-94199696    3   41
+ 969             3-94200289    3   41
+ 970             3-94513000    7   84
+ 971             3-94812862    5   56
+ 972             3-94965327    7   72
+ 973             3-95102729    1   19
+ 974             3-95122499    3   44
+ 975             3-95245591    5   59
+ 976             3-95540426    2   31
+ 977             3-95678254    1   19
+ 978             3-95935083    4   49
+ 979             3-95940358    3   40
+ 980             3-96174544    5   57
+ 981             3-96174679    4   47
+ 982             3-96179735    3   40
+ 983               3-962106    5   57
+ 984             3-96405454    2   23
+ 985             3-96633292    3   38
+ 986             3-96633467    3   42
+ 987             3-96870419    4   48
+ 988             3-97049802    7   74
+ 989             3-97071174    4   47
+ 990             3-97087021    5   58
+ 991             3-97260152    7   86
+ 992             3-97260738    4   49
+ 993             3-97282044    4   48
+ 994             3-97297646    4   48
+ 995             3-97487152    4   48
+ 996             3-97855664    3   40
+ 997             3-97856990    4   48
+ 998             3-97870439    5   56
+ 999              3-9804335    7   84
+1000             3-98225151    4   51
+1001             3-98900801    2   22
+1002             3-99596498    4   46
+1003             3-99604155    4   53
+1004                  4-100    5   60
+1005                4-10480    7   75
+1006                4-11924    4   47
+1007                4-12613    4   47
+1008                4-13538    4   48
+1009                4-13586    2   23
+1010                4-15006    5   58
+1011                4-15008    5   59
+1012                4-15415    4   51
+1013                4-16394    4   47
+1014                4-16537    4   48
+1015                4-16641    5   57
+1016                4-17400    4   47
+1017                4-20311    4   48
+1018                4-20592    1   17
+1019                4-20627    4   47
+1020                4-20905    4   48
+1021                4-21098    4   48
+1022                4-21721    4   50
+1023                 4-3401    5   57
+1024                 4-4231    1   19
+1025                 4-4374    4   47
+1026                 4-4639    4   47
+1027                    4-7    4   51
+1028                 4-7021    5   57
+1029                  4-827    5   93
+1030                 4-8710    4   53
+1031               5-100647    3   44
+1032                5-10137    3   43
+1033               5-101591    3   45
+1034               5-101608    3   43
+1035               5-101655    3   43
+1036               5-101701    3   43
+1037               5-101705    3   45
+1038                5-10173    3   45
+1039               5-101743    4   51
+1040               5-101810    3   43
+1041               5-101817    3   43
+1042               5-101832    3   43
+1043               5-101935    3   43
+1044               5-101961    3   43
+1045               5-102210    3   42
+1046                5-10237    4   49
+1047               5-102441    3   43
+1048               5-102628    3   42
+1049               5-102664    4   51
+1050               5-102673    4   49
+1051               5-102698    3   34
+1052               5-102918    3   43
+1053               5-102947    3   45
+1054               5-103108    3   43
+1055               5-103165    3   43
+1056               5-103237    3   43
+1057               5-103433    3   43
+1058               5-103443    3   43
+1059               5-103530    3   43
+1060               5-103537    3   45
+1061               5-104011    3   42
+1062                5-10423    3   42
+1063               5-104432    3   43
+1064               5-104439    3   42
+1065                5-10449    4   51
+1066               5-104614    3   44
+1067               5-104667    3   45
+1068                5-10515    3   42
+1069                5-10522    3   42
+1070               5-105552    3   45
+1071               5-105597    4   49
+1072                5-10563    4   49
+1073                5-10580    3   43
+1074               5-106374    4   51
+1075               5-106411    3   -1
+1076               5-107384    4   51
+1077               5-107662    3   -1
+1078               5-107742    4   49
+1079                5-10789    3   45
+1080               5-108519    3   45
+1081                5-10859    3   41
+1082               5-108782    4   51
+1083               5-108784    3   43
+1084               5-108900    3   42
+1085               5-108963    4   50
+1086                5-10903    4   49
+1087               5-109099    4   49
+1088               5-109152    3   43
+1089               5-109193    4   51
+1090               5-109313    4   51
+1091               5-109329    4   51
+1092               5-109355    4   50
+1093                5-10944    3   43
+1094               5-109480    3   43
+1095               5-109497    3   41
+1096               5-109521    3   43
+1097               5-109544    3   43
+1098               5-109571    3   43
+1099               5-109584    4   51
+1100               5-109619    3   -1
+1101               5-109912    4   51
+1102               5-109952    4   51
+1103               5-110342    3   43
+1104               5-110570    4   49
+1105               5-110659    4   49
+1106               5-110822    4   50
+1107               5-111105    3   45
+1108               5-112303    3   -1
+1109               5-112344    4   49
+1110               5-112482    3   43
+1111               5-112517    3   43
+1112                5-11254    3   45
+1113                5-11256    3   43
+1114               5-113195    3   43
+1115               5-113207    3   43
+1116               5-113365    4   51
+1117               5-113492    4   51
+1118               5-113613    3   43
+1119               5-113865    3   45
+1120               5-114492    3   45
+1121               5-114570    3   43
+1122               5-114573    3   43
+1123               5-114648    4   51
+1124               5-114716    4   50
+1125               5-114794    4   49
+1126               5-114915    4   51
+1127               5-114931    4   49
+1128               5-115019    4   50
+1129               5-115027    4   49
+1130               5-115123    4   49
+1131               5-115155    4   51
+1132                5-11540    3   43
+1133               5-115507    3   43
+1134               5-115894    3   43
+1135               5-116075    3   43
+1136               5-116211    3   43
+1137               5-116212    4   49
+1138               5-116242    4   51
+1139               5-116313    3   41
+1140                5-11653    3   43
+1141                5-11654    3   43
+1142               5-116827    4   51
+1143               5-116841    4   49
+1144               5-117065    3   45
+1145               5-117154    3   43
+1146               5-117243    4   49
+1147                5-11845    4   49
+1148               5-119443    4   50
+1149                5-11956    3   42
+1150               5-119651    3   43
+1151               5-119858    4   49
+1152               5-120211    4   49
+1153               5-120217    3   43
+1154               5-121393    3   43
+1155               5-121516    3   43
+1156               5-121677    3   45
+1157               5-121678    3   41
+1158               5-122222    3   43
+1159               5-122226    3   45
+1160               5-122522    3   43
+1161               5-122529    3   43
+1162               5-122866    3   43
+1163               5-122868    3   43
+1164               5-122869    3   42
+1165               5-123164    3   42
+1166               5-123267    3   43
+1167               5-123319    4   51
+1168               5-123411    3   42
+1169                5-12414    3   43
+1170               5-124185    4   49
+1171               5-124219    3   43
+1172                5-12443    3   42
+1173               5-124577    3   41
+1174               5-125044    3   45
+1175               5-125230    4   49
+1176               5-125309    4   51
+1177               5-125801    4   49
+1178               5-125893    3   43
+1179               5-125895    3   43
+1180               5-126122    3   43
+1181               5-126167    3   43
+1182               5-126340    4   49
+1183               5-126350    4   51
+1184               5-126436    4   49
+1185               5-126446    3   45
+1186                5-12748    4   49
+1187                5-12752    4   49
+1188               5-127710    3   43
+1189               5-129376    3   45
+1190               5-129952    3   45
+1191               5-130176    3   43
+1192               5-131404    3   43
+1193                5-13142    3   43
+1194                5-13156    3   45
+1195                5-13161    4   49
+1196                5-13164    3   43
+1197                5-13207    4   48
+1198                5-13217    3   43
+1199                5-13302    3   43
+1200                5-13718    3   42
+1201                5-13722    3   43
+1202               5-137335    4   53
+1203                5-13863    4   51
+1204               5-139729    3   44
+1205               5-139730    4   51
+1206               5-139731    3   43
+1207               5-139734    4   49
+1208               5-139779    4   49
+1209               5-139780    4   51
+1210               5-139783    3   45
+1211                 5-1398    4   49
+1212               5-139805    3   -1
+1213               5-139810    4   53
+1214               5-139828    4   49
+1215               5-139829    3   39
+1216               5-139835    4   51
+1217               5-139877    4   49
+1218               5-139888    4   53
+1219               5-140059    4   49
+1220                5-14006    3   45
+1221               5-140118    3   39
+1222               5-140386    3   41
+1223               5-140393    4   51
+1224               5-140411    3   43
+1225               5-141771    3   42
+1226               5-142859    3   43
+1227               5-145480    3   42
+1228               5-146457    3   43
+1229                5-14659    4   51
+1230               5-146606    4   49
+1231               5-146611    4   51
+1232               5-146613    3   45
+1233               5-146647    4   49
+1234               5-146740    3   42
+1235               5-146749    4   51
+1236               5-146860    3   43
+1237               5-146865    3   42
+1238               5-146873    4   49
+1239               5-146980    3   42
+1240               5-148092    4   51
+1241               5-148205    3   43
+1242               5-148212    3   43
+1243               5-148773    3   45
+1244               5-152281    4   49
+1245               5-152606    3   45
+1246               5-155841    4   49
+1247               5-155903    3   45
+1248               5-156279    4   51
+1249                5-15628    4   49
+1250               5-156308    3   43
+1251               5-156482    3   43
+1252               5-156522    3   43
+1253               5-166122    4   49
+1254               5-166470    4   51
+1255               5-166471    3   41
+1256               5-166571    3   45
+1257               5-166671    3   43
+1258               5-166759    4   51
+1259               5-166760    4   51
+1260               5-168826    3   43
+1261               5-178386    4   49
+1262               5-178417    3   42
+1263               5-178633    3   43
+1264               5-179881    3   42
+1265               5-180037    4   53
+1266               5-180263    3   -1
+1267               5-180523    3   45
+1268               5-180685    4   53
+1269               5-181990    3   45
+1270               5-182079    4   49
+1271                5-18354    3   43
+1272               5-185365    3   43
+1273               5-185723    3   43
+1274               5-185729    3   44
+1275               5-185813    4   49
+1276               5-185833    3   44
+1277               5-186163    4   50
+1278               5-186316    3   43
+1279               5-186418    3   42
+1280               5-187177    4   51
+1281                 5-1888    4   49
+1282               5-191299    3   45
+1283               5-191310    3   43
+1284               5-192530    3   43
+1285               5-192649    3   42
+1286               5-192673    3   45
+1287               5-192679    3   43
+1288                5-19297    4   51
+1289               5-193471    4   49
+1290               5-193578    4   49
+1291               5-193580    3   43
+1292               5-193680    4   49
+1293               5-194113    3   45
+1294               5-194125    4   51
+1295               5-194166    4   49
+1296               5-194285    3   34
+1297               5-194311    4   49
+1298               5-194359    3   41
+1299               5-194399    3   39
+1300                5-19509    3   45
+1301               5-195805    3   -1
+1302                5-19716    4   51
+1303                5-19757    4   51
+1304               5-199379    3   42
+1305               5-200956    3   43
+1306               5-200968    4   49
+1307               5-201121    4   51
+1308               5-202104    4   53
+1309               5-203325    3   42
+1310               5-203600    3   44
+1311               5-203604    4   49
+1312               5-203611    4   50
+1313               5-203711    4   53
+1314               5-205408    3   41
+1315                5-20800    3   43
+1316               5-211019    4   49
+1317               5-212206    4   51
+1318               5-212392    4   51
+1319               5-215809    3   42
+1320               5-215810    4   51
+1321                5-21607    3   45
+1322                5-21755    3   43
+1323                5-21887    3   45
+1324               5-222212    3   41
+1325                5-22737    4   49
+1326                5-22873    3   40
+1327                5-22900    4   48
+1328                5-23892    3   41
+1329                5-23958    4   49
+1330                5-24073    4   51
+1331                5-24198    3   43
+1332                5-25277    3   44
+1333                5-25278    3   45
+1334                5-25301    3   42
+1335                5-25627    3   45
+1336                5-25645    4   51
+1337                5-25662    4   51
+1338                5-25704    4   50
+1339                5-25771    4   51
+1340                5-25780    3   -1
+1341                5-25850    4   51
+1342                5-25852    3   43
+1343                5-26741    3   43
+1344                5-27141    4   51
+1345                5-27194    3   42
+1346                5-27229    3   43
+1347                5-27230    3   45
+1348                5-27749    4   49
+1349                5-27759    3   44
+1350                5-27932    3   45
+1351                5-27946    4   49
+1352                5-28149    4   51
+1353                5-28571    4   49
+1354                5-28580    3   43
+1355                5-28735    4   51
+1356                5-29209    3   45
+1357                5-29498    4   51
+1358                5-29502    4   51
+1359                5-29504    4   51
+1360                5-29560    3   43
+1361                5-30760    3   43
+1362                5-31708    3   43
+1363                5-31820    3   45
+1364                5-32010    3   43
+1365                5-32014    3   43
+1366                5-32030    4   49
+1367                5-32053    3   34
+1368                5-32059    3   41
+1369                5-32135    4   51
+1370                5-33826    3   44
+1371                5-33864    4   51
+1372                5-34187    3   43
+1373                5-34202    3   44
+1374                5-34208    3   43
+1375                5-34262    3   43
+1376                5-34273    3   45
+1377                5-34586    3   43
+1378                5-34636    4   49
+1379                5-34665    3   42
+1380                5-34715    3   43
+1381                5-35593    3   43
+1382                5-35596    3   45
+1383                5-35652    3   43
+1384                5-35680    4   51
+1385                5-35705    3   43
+1386                5-35750    3   45
+1387                5-35784    3   44
+1388                   5-36    3   45
+1389                5-36153    3   45
+1390                5-36426    4   49
+1391                5-36476    3   45
+1392                5-36487    4   49
+1393                5-36654    4   51
+1394                5-36656    3   43
+1395                5-37294    3   43
+1396                5-37301    3   42
+1397                5-37306    3   45
+1398                5-37424    4   49
+1399                5-37764    4   51
+1400                5-37788    3   43
+1401                5-37821    4   51
+1402                5-39493    3   44
+1403                5-39617    3   43
+1404                5-39668    3   43
+1405                5-39677    3   45
+1406                5-39779    4   51
+1407                5-39803    3   44
+1408                5-39877    3   43
+1409                5-39912    3   43
+1410                5-40111    3   43
+1411                5-43810    3   45
+1412                5-43903    4   51
+1413                5-44106    3   41
+1414                5-44165    3   -1
+1415                5-44194    3   43
+1416                5-44335    4   49
+1417                5-44354    4   49
+1418                5-44760    4   51
+1419                5-44769    3   45
+1420                5-44849    3   34
+1421                5-44871    3   41
+1422                5-44970    3   42
+1423                5-45603    3   43
+1424                5-47430    3   43
+1425                5-47690    3   45
+1426                5-47718    4   49
+1427                5-47740    4   49
+1428                5-47836    3   43
+1429                5-47880    3   41
+1430                5-48222    3   43
+1431                5-48373    3   45
+1432                5-48432    4   51
+1433                5-48437    3   43
+1434                5-48473    4   49
+1435                5-48479    3   34
+1436                5-48482    4   53
+1437                5-48554    4   49
+1438                5-48618    3   41
+1439                5-48798    3   41
+1440                5-48862    3   45
+1441                5-48925    4   51
+1442                5-48978    3   43
+1443                5-49060    4   48
+1444                5-49484    4   50
+1445                5-49504    3   41
+1446                5-49513    4   49
+1447                5-49516    4   50
+1448                5-49623    3   43
+1449                5-49663    3   43
+1450                5-49763    3   43
+1451                5-49765    3   -1
+1452                5-49777    3   43
+1453                5-49835    3   45
+1454                5-49942    3   44
+1455                5-49960    3   41
+1456                5-49967    3   45
+1457                5-49977    4   51
+1458                5-50018    3   45
+1459                5-50142    4   49
+1460                5-50147    4   51
+1461                5-50169    3   42
+1462                5-50174    3   45
+1463                5-50175    3   42
+1464                5-50273    3   41
+1465                5-50294    7   -1
+1466                5-50295    4   49
+1467                 5-5077    4   51
+1468                5-50831    4   49
+1469                5-50883    3   43
+1470                5-50885    3   43
+1471                5-50990    3   32
+1472                5-51055    3   45
+1473                5-51241    3   45
+1474                5-51245    3   43
+1475                5-51298    3   43
+1476                5-51477    3   44
+1477                5-51483    3   41
+1478                5-51490    3   42
+1479                5-51701    3   41
+1480                5-51727    3   -1
+1481                5-51978    4   49
+1482                5-51998    3   41
+1483                5-52030    4   49
+1484                5-52335    3   41
+1485                5-52479    3   41
+1486                5-52646    3   41
+1487                5-52863    3   42
+1488                5-53031    4   49
+1489                5-53047    4   51
+1490                5-53076    3   43
+1491                5-53081    4   49
+1492                5-53084    3   42
+1493                5-53156    3   43
+1494                5-53258    4   49
+1495                5-53264    4   51
+1496                5-53270    3   45
+1497                5-53279    4   51
+1498                5-53415    4   51
+1499                5-53536    3   43
+1500                5-53620    3   43
+1501                5-53699    4   49
+1502                5-53820    3   42
+1503                5-54398    3   43
+1504                5-54535    4   51
+1505                5-54672    3   41
+1506                5-54690    3   45
+1507                5-54694    3   45
+1508                5-54939    3   43
+1509                5-55328    4   53
+1510                5-56592    3   45
+1511                5-56713    4   50
+1512                5-56746    3   45
+1513                5-56748    4   51
+1514                5-56774    3   41
+1515                5-56798    3   -1
+1516                5-56799    4   49
+1517                5-56866    3   43
+1518                5-56869    4   51
+1519                5-56885    3   43
+1520                5-56904    3   43
+1521                5-56946    4   53
+1522                5-56954    4   51
+1523                5-56997    3   43
+1524                5-57027    3   43
+1525                5-57116    4   51
+1526                5-57138    3   45
+1527                5-57211    4   49
+1528                5-57222    3   43
+1529                5-57230    3   45
+1530                5-57288    4   49
+1531                5-57510    3   43
+1532                5-57574    3   45
+1533                5-57620    3   -1
+1534                5-57629    3   45
+1535                5-57644    4   49
+1536                5-57681    4   51
+1537                5-57760    3   42
+1538                5-57958    3   43
+1539                5-57963    4   49
+1540                5-58109    3   90
+1541                5-58124    4   49
+1542                5-58130    3   90
+1543                5-58164    3   45
+1544                5-58220    3   42
+1545                5-58246    3   41
+1546                5-58343    3   42
+1547                5-58384    3   45
+1548                5-58393    3   45
+1549                5-58481    3   45
+1550                5-58615    3   43
+1551                5-58684    4   50
+1552                5-58735    4   49
+1553                5-58815    4   51
+1554                5-58831    3   43
+1555                5-58869    4   51
+1556                5-58888    3   43
+1557                5-58905    4   49
+1558                5-59307    4   49
+1559                5-59376    3   43
+1560                5-59525    3   43
+1561                5-59561    4   51
+1562                5-59722    4   51
+1563                5-59831    3   43
+1564                5-59991    3   43
+1565                5-60692    3   43
+1566                5-60952    3   43
+1567                5-61169    3   43
+1568                5-61267    3   43
+1569                5-61798    3   43
+1570                5-61804    3   43
+1571                5-61843    3   43
+1572                5-61897    3   43
+1573                5-61982    3   42
+1574                5-62166    3   43
+1575                5-62497    3   43
+1576                5-62508    3   43
+1577                5-62610    3   43
+1578                5-62694    4   49
+1579                5-62701    3   43
+1580                5-62890    4   51
+1581                 5-6323    3   41
+1582                5-63514    3   43
+1583                5-63556    4   50
+1584                5-63563    4   46
+1585                 5-6366    3   43
+1586                 5-6375    4   50
+1587                 5-6460    3   43
+1588                5-64783    3   43
+1589                5-64944    4   49
+1590                 5-6501    3   42
+1591                5-65057    4   49
+1592                5-65149    4   49
+1593                5-65204    4   51
+1594                5-65207    3   43
+1595                5-65215    4   51
+1596                 5-6548    3   44
+1597                 5-6551    3   41
+1598                5-65745    4   51
+1599                5-65820    3   44
+1600                5-66143    3   45
+1601                5-66160    3   45
+1602                5-66162    3   42
+1603                5-66187    3   43
+1604                5-66188    4   51
+1605                5-66220    3   43
+1606                 5-6697    4   51
+1607                5-67932    4   49
+1608                5-68147    3   -1
+1609                5-68196    4   51
+1610                5-68523    4   51
+1611                5-68575    3   45
+1612                5-68656    3   41
+1613                5-68659    3   43
+1614                5-68700    3   45
+1615                5-68767    3   41
+1616                 5-6889    3   42
+1617                 5-6892    4   51
+1618                 5-6893    3   -1
+1619                5-68949    3   45
+1620                5-69061    4   49
+1621                5-69095    3   43
+1622                5-69102    3   43
+1623                5-69141    3   42
+1624                5-69186    3   43
+1625                5-69219    3   43
+1626                5-69577    4   49
+1627                5-69612    3   43
+1628                5-69633    3   43
+1629                5-69702    3   41
+1630                5-69704    4   50
+1631                5-69729    4   51
+1632                5-69854    4   49
+1633                5-70027    3   43
+1634                5-70204    3   43
+1635                5-70466    3   43
+1636                5-70513    4   51
+1637                5-70559    4   51
+1638                5-70572    3   -1
+1639                5-70629    4   51
+1640                5-70632    4   51
+1641                5-70695    4   51
+1642                5-70756    3   43
+1643                5-70768    3   -1
+1644                5-70775    3   43
+1645                5-70836    4   50
+1646                5-70868    3   43
+1647                5-70971    4   51
+1648                5-71015    3   43
+1649                5-71064    3   44
+1650                5-71214    4   51
+1651                5-71255    4   53
+1652                5-71275    3   43
+1653                5-71309    3   43
+1654                5-71350    3   43
+1655                5-71514    4   50
+1656                5-71624    3   -1
+1657                5-71974    3   44
+1658                5-72139    3   44
+1659                5-72283    3   -1
+1660                5-72302    4   51
+1661                5-72311    3   43
+1662                5-72376    3   43
+1663                5-72444    4   50
+1664                5-72489    3   45
+1665                5-72745    3   42
+1666                5-72778    3   41
+1667                5-72799    3   43
+1668                5-73331    3   41
+1669                5-73405    4   51
+1670                5-73620    4   51
+1671                5-73730    3   44
+1672                5-73742    3   45
+1673                5-73773    3   43
+1674                5-73778    3   43
+1675                5-74075    3   43
+1676                5-74088    3   43
+1677                5-74140    4   51
+1678                5-74252    4   51
+1679                5-74257    3   43
+1680                5-74311    3   42
+1681                5-74520    3   43
+1682                5-75183    3   43
+1683                5-75184    3   45
+1684                5-75265    4   51
+1685                5-75268    3   43
+1686                5-75269    3   43
+1687                5-75570    3   43
+1688                5-75927    4   51
+1689                5-76040    4   51
+1690                5-76080    3   43
+1691                5-76216    4   51
+1692                5-76220    3   43
+1693                5-76290    4   49
+1694                5-76314    3   44
+1695                5-76455    4   51
+1696                5-76505    4   51
+1697                5-76523    4   49
+1698                5-76700    4   49
+1699                5-76744    3   43
+1700                5-76761    3   43
+1701                5-76762    3   43
+1702                5-77127    4   50
+1703                5-77230    3   43
+1704                5-77521    3   43
+1705                5-77670    3   43
+1706                5-77734    4   49
+1707                5-77748    3   43
+1708                5-77842    3   43
+1709                5-78190    4   51
+1710                5-78193    3   43
+1711                5-79351    3   45
+1712                5-79352    3   45
+1713                5-79858    3   43
+1714                5-79903    3   43
+1715                5-79909    3   43
+1716                5-79947    3   43
+1717                5-80085    3   43
+1718                5-80101    3   44
+1719                5-80120    3   45
+1720                5-80138    3   43
+1721                5-80240    4   50
+1722                5-80310    4   49
+1723                5-80323    4   51
+1724                5-80399    3   43
+1725                5-80480    3   43
+1726                5-80504    3   43
+1727                5-80506    4   51
+1728                5-80511    4   49
+1729                5-82349    3   44
+1730                5-82390    3   45
+1731                5-82404    4   49
+1732                5-82407    4   49
+1733                5-82481    4   51
+1734                5-82687    3   43
+1735                5-82877    4   50
+1736                5-83026    4   51
+1737                5-83160    4   51
+1738                5-83190    3   43
+1739                5-83938    3   43
+1740                5-85109    3   43
+1741                5-85301    3   42
+1742                5-85410    3   43
+1743                5-85629    4   49
+1744                5-85778    4   49
+1745                5-85785    3   43
+1746                5-85855    3   43
+1747                5-86100    3   43
+1748                5-86153    3   43
+1749                5-86158    3   45
+1750                5-86228    4   53
+1751                5-86593    4   49
+1752                5-86607    3   44
+1753                5-86629    3   43
+1754                5-86731    3   43
+1755                5-86733    4   51
+1756                5-86861    4   49
+1757                5-86879    4   51
+1758                5-88617    3   45
+1759                5-91075    3   41
+1760                5-91085    3   34
+1761                5-92650    3   45
+1762                5-92656    3   42
+1763                5-92758    3   45
+1764                5-92850    3   45
+1765                5-92858    4   50
+1766                5-92995    4   48
+1767                5-93028    3   45
+1768                5-93030    3   45
+1769                5-93041    3   43
+1770                5-93081    4   49
+1771                5-93116    3   45
+1772                5-93196    7   77
+1773                5-93214    3   43
+1774                5-93271    3   42
+1775                5-93359    4   52
+1776                5-93493    3   43
+1777                5-93514    4   51
+1778                5-93523    4   51
+1779                5-93531    3   43
+1780                5-93674    4   51
+1781                5-93830    3   43
+1782                5-93861    3   43
+1783                5-94009    3   43
+1784                5-94136    4   51
+1785                5-94145    3   44
+1786                5-94324    3   43
+1787                5-94519    3   43
+1788                5-94678    3   43
+1789                5-94709    3   45
+1790                5-94823    3   43
+1791                5-94834    3   44
+1792                5-94908    3   41
+1793                5-95047    3   44
+1794                5-95049    4   49
+1795                5-95057    3   41
+1796                5-95273    4   53
+1797                5-95624    3   43
+1798                5-95642    3   43
+1799                5-95645    3   45
+1800                5-95675    3   45
+1801                5-95686    3   43
+1802                5-95784    3   43
+1803                5-95805    3   43
+1804                5-95848    3   43
+1805                5-95857    4   51
+1806                5-96009    3   43
+1807                5-96412    3   43
+1808                 5-9644    3   45
+1809                5-96492    4   49
+1810                5-96530    3   43
+1811                5-96543    3   43
+1812                5-96551    3   43
+1813                5-96617    4   51
+1814                5-96732    3   43
+1815                5-96739    3   42
+1816                5-96754    3   43
+1817                5-96779    3   41
+1818                5-97094    3   43
+1819                5-97173    3   43
+1820                5-97382    3   43
+1821                5-97605    3   43
+1822                5-97649    4   49
+1823                5-97676    3   43
+1824                5-97771    4   50
+1825                5-97784    4   49
+1826                5-97840    3   43
+1827                5-97846    3   43
+1828                5-97980    4   51
+1829                5-97986    3   43
+1830                5-98005    3   43
+1831                5-98076    4   51
+1832                 5-9817    3   45
+1833                5-98218    3   45
+1834                5-98240    3   43
+1835                 5-9827    4   51
+1836                5-98365    3   43
+1837                5-99418    3   43
+1838                5-99682    3   44
+1839                5-99729    3   43
+1840                5-99768    4   49
+1841                5-99866    3   45
+1842             53-1341238    7   85
+1843             53-1341247    4   48
+1844             53-1343422    4   47
+1845             53-1343513    4   49
+1846             53-1343564    7   81
+1847            54-35970702    6   68
+1848            54-38642114    1   14
+1849            54-43801605    4   51
+1850            54-45999038    4   46
+1851            54-46001406    1   12
+1852            54-46005280    5   59
+1853            54-46661637    2   26
+1854            54-48685732    5   60
+1855            54-49458313    1   12
+1856             54-7417753    4   53
+1857 55-2076373386312553088    6   70
+1858 57-1237665428627324943    4   47
+1859                  6-161    5   57
+1860             6-22036581    4   51
+1861             6-22050169    4   49
+1862                   6-25    4   47
+1863                   6-26    4   48
+1864                  6-299    4   47
+1865                  6-308    4   47
+1866                   6-32    4   48
+1867                  6-419    7   86
+1868                   6-46    4   49
+1869                  6-477    4   47
+1870 60-1085507835368838912    4   47
+1871 60-1085615896745216256    4   49
+1872 60-1085648508433280000    0    9
+1873 60-1086058591910745856    4   49
+1874 60-1086219356830239360    3   39
+1875 60-1086286465695229056    3   39
+1876 60-1090076688436378496    0    6
+1877 60-1090476945027935360    3   38
+1878 60-1090567070621550976    4   53
+1879 60-1090588438082098944    3   40
+1880 60-1090613314532675968    4   47
+1881 60-1090696675554365184    7   75
+1882 60-1091607174261426048    0    3
+1883 60-1092123223171699328    1   14
+1884 60-1102939771889892224    3   39
+1885 60-1103010243715613952    4   47
+1886 60-1103096177421204224    2   27
+1887 60-1108298031352327296    4   49
+1888 60-1108412487938538368    3   40
+1889 60-1109136859943354752    4   49
+1890 60-1112080802325551616    4   48
+1891 60-1112304686083688576    4   47
+1892 60-1112388699940682624    4   46
+1893 60-1114117437160836096    3   39
+1894 60-1114194304191781888    3   39
+1895 60-1114196606294242304    6   96
+1896 60-1114264260619384192    3   39
+1897 60-1114467910789230080    1   14
+1898 60-1115061784506307328    4   51
+1899 60-1115833916547554176    3   39
+1900 60-1115979842356591360    3   39
+1901 60-1136116367026901248    4   48
+1902 60-1136133856133651072    1   12
+1903 60-1136302768607198720    3   39
+1904 60-1136363963300962432    4   47
+1905 60-1139421155381896576    7   85
+1906 60-1237726561579846912    6   70
+1907 60-1237762574880763776    4   49
+1908 60-1237840567191225088    4   47
+1909 60-1240897763567815168    4   48
+1910  60-124491418077564160    0    3
+1911 60-1280531927933779456    7   81
+1912 60-1280656756862767104    4   48
+1913 60-1283568435452362240    4   48
+1914 60-1283696150599850368    4   48
+1915 60-1284821535110689664    4   53
+1916 60-1431783457574556672    7   74
+1917 60-1437055925067197696    4   47
+1918 60-1437141618255443840    4   48
+1919 60-1437175226374922624    4   47
+1920 60-1437640968332394240    0    8
+1921 60-1437925363887019392    4   48
+1922 60-1438176228632832384    3   39
+1923 60-1438206740080193792    4   47
+1924  60-147277112935113088    0    3
+1925  60-148426854204894208    2   23
+1926  60-148853640812514816    2   29
+1927  60-148962659964955136    5   58
+1928  60-149760531746910080    3   40
+1929  60-149975073952811520    1   14
+1930  60-150918317489629696    7   80
+1931  60-156896877606702976    7   84
+1932  60-156961985014404224    3   36
+1933  60-157032392415254016    7   85
+1934  60-157373614679688832    3   40
+1935  60-160057797440967936    7   80
+1936 60-1630203941559738624    0    3
+1937 60-1630257061715159552    3   39
+1938 60-1632639428534113792    4   48
+1939 60-1632700275334603776    4   51
+1940 60-1632879740544643840    4   49
+1941 60-1633058617343497472    7   80
+1942 60-1633753783569858048    4   49
+1943 60-1635665181455243904    4   49
+1944 60-1636428444386583168    2   22
+1945 60-1636819084548119424    4   47
+1946 60-1642340071732598016    4   47
+1947 60-1642450920544726528    4   49
+1948 60-1643529404012326272    1   19
+1949  60-164847751127983360    3   36
+1950  60-164868371269546752    3   40
+1951 60-1648689583880503552    4   47
+1952 60-1648885262590216576    1   16
+1953 60-1649038193490487040    4   49
+1954 60-1649791294531184768    5   -1
+1955 60-1649993226714065152    3   42
+1956 60-1650059197411260928    0    3
+1957 60-1650227010373440384    1   12
+1958 60-1650587753266283648    0    9
+1959  60-165249042809543808    3   40
+1960 60-1653049727304456448    4   48
+1961 60-1653266056217134080    3   39
+1962 60-1653806122584933504    4   51
+1963 60-1653903704241636608    3   39
+1964  60-165520278584961408    3   33
+1965  60-172537086914067456    7   84
+1966  60-172749670615479680    7   84
+1967  60-174664848073260928    4   50
+1968  60-174721472921744768    3   39
+1969  60-176680184167059584    7   77
+1970 60-1766955356666258560    4   49
+1971  60-176803123315939712    0    3
+1972  60-176805597217045248    7   84
+1973  60-176923966512764544    7   85
+1974  60-176981553434017152    3   40
+1975 60-1770143970450710528    4   47
+1976  60-177027080087033344    3   33
+1977  60-177039758830453504    3   39
+1978  60-177116587207895296    4   49
+1979  60-178023856094545024    3   39
+1980  60-178415999492783104    7   76
+1981  60-179074508175041152    7   75
+1982 60-1821394032822459264    5   63
+1983 60-1821609090431019392    5   57
+1984 60-1823144489691767296    7   75
+1985 60-1824711598670872704    3   37
+1986 60-1826226798748449920    3   39
+1987 60-1993894144329626112    3   39
+1988 60-1993946577291835008    3   39
+1989 60-1994714620523378304    3   39
+1990 60-1994802993772227200    3   40
+1991 60-1994811171389919872    3   33
+1992 60-1994811480627536256    3   42
+1993 60-1995061928762465536    2   26
+1994 60-1995063165712971264    5   59
+1995 60-1995091473829339904    7   77
+1996 60-2004631974900212224    7   -1
+1997 60-2004829131073016832    4   47
+1998 60-2004846104784948352    3   40
+1999 60-2005110090655635200    3   39
+2000 60-2010819098615527168    7   98
+2001 60-2011142045787700736    4   47
+2002 60-2011151391642324608    4   48
+2003 60-2011277281423344256    3   37
+2004 60-2012120920380249088    7   97
+2005 60-2049127904805194880    3   37
+2006 60-2050208136303769856    4   47
+2007 60-2051011230771672448    5   60
+2008 60-2051287002031070208    0    8
+2009 60-2051290678523754752    0    8
+2010 60-2051293319920668160    1   12
+2011 60-2051294213273828224    2   26
+2012 60-2051295145289130496    1   13
+2013 60-2051759414076524544    3   38
+2014 60-2051779136567285248    3   39
+2015 60-2051799335793542272    3   38
+2016 60-2052528655596850560    4   49
+2017 60-2052548725983923456    4   48
+2018 60-2052609474002758784    3   39
+2019 60-2052635587404337024    3   39
+2020 60-2057924066533127808    4   51
+2021 60-2058034464370793088    4   48
+2022 60-2058077482763374848    3   33
+2023 60-2061028258439485056    4   48
+2024 60-2061110863548802176    3   39
+2025 60-2061186042657854336    7   97
+2026 60-2061229022385283072    4   47
+2027 60-2061286540593527808    7   97
+2028 60-2061288365972432640    7   97
+2029 60-2064080575732996480    7   97
+2030 60-2064138128294168832    3   39
+2031 60-2064145751856540032    3   40
+2032 60-2064151459872964352    3   37
+2033 60-2064803435905516928    4   48
+2034 60-2066153739265276288    4   49
+2035 60-2066333028377620096    3   39
+2036 60-2066337048467074560    3   38
+2037 60-2066376012410472704    4   49
+2038 60-2066400712766350080    4   49
+2039 60-2066426035893549568    4   48
+2040 60-2067176594317015040    3   39
+2041 60-2067186318122989056    3   39
+2042 60-2067232596392436992    3   38
+2043 60-2067362583580898688    4   48
+2044 60-2067368390376243584    4   48
+2045 60-2067436388299971840    6   71
+2046 60-2067443397681038976    3   39
+2047 60-2067455281858441600    4   48
+2048 60-2067748782741019904    4   48
+2049 60-2067766379225921152    3   -1
+2050 60-2067768372090380800    4   53
+2051 60-2067784246289931776    7   97
+2052 60-2067828467273010176    3   39
+2053 60-2067842378667954560    3   38
+2054 60-2068006347637543808    4   47
+2055 60-2068020503849905536    3   39
+2056 60-2068498409154126720    6   95
+2057 60-2068852761134411648    3   39
+2058 60-2069457359387710976    3   38
+2059 60-2069521886976494976    4   49
+2060 60-2073281014168612992    5   59
+2061 60-2076171424075538944    3   39
+2062 60-2076284394590518272    4   48
+2063 60-2076301784921882496    3   40
+2064 60-2076373974734337152    3   38
+2065 60-2151534115695067264    6   94
+2066 60-2200083670106032512    2   30
+2067 60-2249181296681987968    1   14
+2068 60-2249350548455620224    0    7
+2069 60-2254134562206591232    4   47
+2070 60-2254315260071065344    5   56
+2071 60-2254900062816639616    2   27
+2072 60-2255039906951510528    4   49
+2073 60-2256862175676174208    0    6
+2074 60-2257831773134046848    4   48
+2075 60-2257914889339654272    4   47
+2076 60-2258356068379657984    2   27
+2077 60-2258374004163174400    2   26
+2078 60-2263260470058173568    2   26
+2079 60-2263638568914374016    6   71
+2080  60-236901844773356416    3   33
+2081  60-236928714088292608    1   18
+2082  60-237100856376645504    3   36
+2083  60-237717373163337088    7   84
+2084  60-237722595843536512    0    3
+2085  60-238269740317215872    0    3
+2086 60-2435176951377037056    2   23
+2087 60-2442161392834325760    4   48
+2088 60-2446990069945943168    0    3
+2089 60-2505885994403407872    2   23
+2090 60-2507465030539704960    4   47
+2091 60-2507610475312345728    4   48
+2092 60-2511189385660796800    0   -1
+2093 60-2534986699936174080    2   23
+2094 60-2610556752588739200    4   47
+2095 60-2610744219321230592    3   42
+2096 60-2625947746418798464    4   49
+2097 60-2626775644314794368    4   49
+2098 60-2626829833917312512    2   23
+2099 60-2630675680777483136    5   56
+2100 60-2630694789087528832    5   60
+2101 60-2630788213216185728    4   48
+2102 60-2630983823206841600    4   48
+2103 60-2633449237513835776    5   56
+2104 60-2634738861574210560    4   48
+2105 60-2635277794070286080    5   59
+2106 60-2639144703450756224    3   43
+2107 60-2639192639580809216    4   46
+2108 60-2639194185769023360    7   85
+2109 60-2639284036484893312    4   46
+2110 60-2639565614540886400    4   48
+2111 60-2640025622718090240    4   49
+2112 60-2640273700029144704    0    3
+2113 60-2640434056928150400    0    2
+2114 60-2640701788009471872    1   17
+2115 60-2640806447772614272    3   44
+2116 60-3015574848662310400    0    8
+2117 60-3015593570422756224    5   58
+2118 60-3015836287614596736    3   39
+2119 60-3016048733877323520    4   47
+2120 60-3016071827917538048    4   49
+2121 60-3016754040524540160    6   67
+2122 60-3016768231096505472    7   81
+2123 60-3017021805964660992    0   -1
+2124 60-3017069080667496320    5   56
+2125 60-3017075402859352960    7   76
+2126 60-3017159622876498048    6   66
+2127 60-3130488279214717312    4   48
+2128 60-3130503466219239808    4   48
+2129 60-3131279412193145216    4   48
+2130 60-3131346787342518528    2   30
+2131 60-3131822223044709632    2   29
+2132 60-3209536636903447936    6   66
+2133 60-3222354189406362752    4   47
+2134 60-3222402361758676608    4   48
+2135 60-3222643910719311744    5   58
+2136 60-3302509416001250176    3   39
+2137 60-3302527764101577728    4   49
+2138 60-3302583186360081920    2   89
+2139 60-3302846072717868416    7   74
+2140 60-3303296941204692224    5   55
+2141 60-3303360403641337088    5   56
+2142 60-3304961361291161856    5   56
+2143 60-3305352718710074496    4   49
+2144 60-3305610519827303936    5   56
+2145 60-3311126494786034688    4   48
+2146 60-3311942676010563968    4   49
+2147 60-3312167113821671168    5   56
+2148 60-3313392790113256448    1   14
+2149 60-3313402930533341056    3   40
+2150 60-3313471924887779840    2   22
+2151 60-3314229518461315584    3   33
+2152 60-3321621814310337280    6   69
+2153 60-3321625142907398144    2   29
+2154 60-3321676618092762240    4   47
+2155 60-3322369649718366848    3   38
+2156 60-3322408102564150656    1   18
+2157 60-3323154666660841088    4   47
+2158 60-3323252493135344256    4   47
+2159 60-3351138062222744576    3   39
+2160 60-3383651312548611072    2   26
+2161 60-3392500903680633856    0    0
+2162 60-3393007709821284608    2   29
+2163 60-3393242382538725248    3   38
+2164 60-3393337597670226944    2   26
+2165 60-3395139903386341120    2   26
+2166 60-3404909059902552960    4   47
+2167 60-3409595281540049664    7   80
+2168 60-3410407477034905600    3   39
+2169 60-3411899690408978432    4   48
+2170 60-3412009087519591168    4   47
+2171 60-3412324342415692416    3   36
+2172 60-3412343339055509248    4   49
+2173 60-3418642445466752512    3   39
+2174 60-3418780743414098944    4   49
+2175 60-3419503431790771456    4   49
+2176 60-3419512983797945728    0    0
+2177 60-3419561598531634816    4   49
+2178 60-3425397260793400832    3   38
+2179 60-3425404923011937152    3   39
+2180 60-3425483503736675712    4   48
+2181 60-3425496491717660288    3   33
+2182 60-3425524048227401088    7   84
+2183 60-3426261133336963200    4   48
+2184 60-3426580369667726080    5   56
+2185 60-3426788482304570112    7   84
+2186 60-3431985495811511040    7   98
+2187 60-3564825260862068096    1   99
+2188 60-3565291698606176128    1   15
+2189 60-3565389383342321920    4   51
+2190 60-3604039587880353664    4   51
+2191 60-3606853066337146496    5   54
+2192 60-3607240128789931904    4   49
+2193 60-3607273766973808128    4   48
+2194 60-3607342619593545856    4   48
+2195 60-3608272948165621120    7   82
+2196 60-3608333318225871104    5   60
+2197 60-3609716916170331008    4   51
+2198 60-3610494472754354816    1   16
+2199 60-3611518740849706240    0   -1
+2200 60-3615110982777230464    4   48
+2201 60-3615442794770619648    4   48
+2202 60-3615471553871671808    4   48
+2203 60-3615860471750191104    1   88
+2204 60-3615883763358058496    1   99
+2205 60-3616374768314192384    5   92
+2206 60-3617204074959442560    4   49
+2207 60-3617424492681072640    4   53
+2208 60-3618755107909175424    1   16
+2209 60-3618937214522447360    4   48
+2210 60-3632487217866030336    3   42
+2211 60-3632778863325245312    4   48
+2212 60-3633038244990183168    4   51
+2213 60-3641224933692852992    4   48
+2214 60-3641272350131747840    4   49
+2215 60-3641400752474790016    4   48
+2216 60-3642040771320497152    7   81
+2217 60-3650380635736606720    4   48
+2218 60-3650388710275162496    2   26
+2219 60-3650687536919867904    4   49
+2220 60-3650703754716377344    0    6
+2221 60-3650805523966057472    4   47
+2222 60-3651044392866680320    4   48
+2223 60-3651857417291660800    4   47
+2224 60-3651873669447925760    1   14
+2225 60-3651938055302386688    4   48
+2226 60-3683046816960443776    4   48
+2227 60-3683094057305275648    4   48
+2228 60-3683242598749559424    7   85
+2229 60-3683675084776696832    4   47
+2230  60-368852753454148864    4   51
+2231  60-368973772747789824    4   48
+2232 60-3695656462985076096    3   42
+2233 60-3697862873583568768    4   49
+2234 60-3698734610209837056    4   48
+2235 60-3698805842243278336    4   48
+2236  60-375002154484895104    4   47
+2237  60-375328881237868416    2   27
+2238  60-381329740830507392    7   74
+2239   60-38426488281908736    1   15
+2240  60-387343519672074112    7   81
+2241 60-3889830491327228160    7   85
+2242 60-3890234836727947264    4   49
+2243 60-3897654066315005056    3   34
+2244 60-3899047388065879296    4   48
+2245 60-3914802114085309696    4   48
+2246 60-3914911451068470144    5   56
+2247 60-3914912271406515456    4   47
+2248 60-3915615001071278336    1   15
+2249   60-39305036729495936    7   74
+2250   60-39500990317569408    0    9
+2251   60-39523117989109760    4   49
+2252   60-39592833897913344    4   47
+2253   60-39623963820841216    3   39
+2254 60-3970548938457094400    7   80
+2255 60-3970954585233607296    4   47
+2256 60-3976755750315341312    4   47
+2257 60-3977038737120483200    4   48
+2258   60-39945742770935936    3   33
+2259 60-4072038809526733824    2   26
+2260 60-4072065296568639488    0   -1
+2261 60-4074170552095600384    0    9
+2262 60-4074795216458043008    4   53
+2263 60-4074949281209938688    5   63
+2264 60-4075143658556228864    7   85
+2265 60-4078141472704044928    3   36
+2266 60-4078207653882142208    3   36
+2267 60-4078663431487226752    5   56
+2268 60-4080866131234309760    3   39
+2269 60-4080924199195887360    4   51
+2270 60-4080942757755341440    2   27
+2271 60-4082181357607103232    2   27
+2272 60-4082197266166648320    0    9
+2273 60-4082206745149049088    3   40
+2274 60-4082484440552650624    0    9
+2275 60-4083564474509991168    0    9
+2276 60-4083924079228375168    4   51
+2277 60-4085504214876030720    7   79
+2278 60-4085940450448042240    2   26
+2279 60-4086719557506450944    7   79
+2280 60-4086756666030317184    4   49
+2281 60-4087087992657737600    2   23
+2282 60-4087124040337958656    6   71
+2283 60-4087545909209525888    4   51
+2284 60-4179511638718319104    4   49
+2285 60-4179526963161422336    1   16
+2286 60-4179795652016722688    3   39
+2287 60-4179811599235619072    4   49
+2288 60-4179996557704888960    0    3
+2289  60-420485686358853376    1   16
+2290  60-420874982194047872    1   14
+2291  60-421008018801196416    2   27
+2292  60-421029768511767296    2   26
+2293  60-425586488294521344    4   47
+2294  60-428050188918649984    4   48
+2295  60-428450582950540672    4   49
+2296  60-428463639650899200    4   49
+2297  60-428614272745299328    5   58
+2298  60-428742675086412672    1   13
+2299  60-428766379004057984    2   30
+2300  60-428804316458987264    0    1
+2301  60-430146270400578688    0    0
+2302  60-430173753886130432    4   47
+2303  60-430192136346139904    2   26
+2304  60-455960604396858496    6   71
+2305  60-456740020700683008    3   39
+2306  60-456809908409675648    7   84
+2307  60-457520158561303680    4   48
+2308  60-458287548959789568    6   71
+2309  60-458361765995978112    7   84
+2310  60-458369496937210752    6   71
+2311  60-458379014584350592    6   71
+2312  60-458388978906447488    4   48
+2313  60-458471476639919360    7   82
+2314  60-458693268747056512    7   80
+2315  60-465442277270026624    4   47
+2316  60-465444270140015744    3   38
+2317  60-465455402690983936    4   48
+2318  60-465466393512162560    7   82
+2319  60-465862325077115904    7   75
+2320  60-465937401106813952    6   71
+2321  60-465948190065752960    7   84
+2322  60-465949839333129472    6   67
+2323  60-465967122272787328    7   78
+2324  60-497963391679582976    7   82
+2325  60-508515164258723712    3   39
+2326  60-508816327366430592    7   86
+2327  60-511943407155475584    7   77
+2328  60-512030126831452928    3   38
+2329  60-512185608950157440    7   86
+2330  60-512246764985919232    1   11
+2331  60-512997323410316928    1   15
+2332  60-513616726408994944    7   84
+2333  60-513989941890704256    1   14
+2334  60-514083709619580160    1   15
+2335  60-514897726181171072    2   27
+2336   60-52846793735793024    4   48
+2337 60-5614008794079829888    2   29
+2338   60-56827197626852864    4   47
+2339  60-573279663303458688    3   39
+2340  60-573585327537075200    3   38
+2341  60-573660334844409728    1   15
+2342  60-573965243162996480    3   38
+2343   60-57587887874834304    5   58
+2344  60-598331726502752256    1   16
+2345  60-598694153022998144    5   58
+2346  60-598800358974272512    4   47
+2347  60-599360933810151296    3   36
+2348  60-599947252681815040    0    8
+2349  60-600158221475752192    4   48
+2350  60-600259204747037056    4   47
+2351  60-600329436052135936    4   48
+2352  60-600633378001152512    4   49
+2353  60-600657434114831616    1   12
+2354  60-600955397469890432    3   38
+2355  60-601707433358993408    1   15
+2356  60-601931871169543040    3   39
+2357  60-602106727878512256    4   48
+2358  60-602413732141502080    4   47
+2359  60-602528665466196608    7   85
+2360  60-602650711256884480    4   48
+2361  60-602799832521333760    3   42
+2362  60-605085987776928640    4   47
+2363 60-6292626133775990016    4   50
+2364 60-6294143459822300288    4   49
+2365 60-6294278424874599680    4   46
+2366 60-6294918134483639808    4   46
+2367 60-6295208852229737984    1   99
+2368 60-6331353097969824512    2   22
+2369 60-6331452500692846464    2   22
+2370 60-6331841074973988224    7   74
+2371   60-63438286164786432    4   48
+2372   60-64071261268387456    1   14
+2373  60-652783081365956352    1   15
+2374  60-652856954800213632    3   40
+2375  60-652989171075842432    3   39
+2376  60-656046225717904384    3   38
+2377  60-656339589163923328    1   15
+2378   60-65821546339978496    1   16
+2379  60-659408119958089600    1   19
+2380  60-661365525533546368    4   48
+2381  60-661397754968085376    4   49
+2382   60-66231492378982272    1   14
+2383  60-663603031697118592    4   46
+2384  60-664258684223744896    4   48
+2385  60-664438007698072576    3   38
+2386  60-665796488673860736    4   47
+2387  60-665913208704837632    4   47
+2388  60-675691612288156288    4   48
+2389 60-6757504563460044160    2   29
+2390 60-6759175129633826688    4   49
+2391 60-6759223890399254656    0    9
+2392  60-676068813495274240    0    8
+2393 60-6760929576538684416    5   61
+2394 60-6761872785720120064    0    6
+2395 60-6762332342907510400    5   91
+2396 60-6762367458557833856    4   49
+2397 60-6765549204694355328    2   26
+2398  60-676895302641646720    1   15
+2399 60-6770436332023294464    0    9
+2400 60-6770441245465261824    4   53
+2401 60-6770585453288259968    3   33
+2402 60-6770934926184844800    0    3
+2403  60-677820850914643968    3   39
+2404  60-677959320665488256    4   48
+2405  60-678116344664890368    6   71
+2406  60-678252821547714816    4   48
+2407  60-678376791481729024    1   16
+2408  60-902523781673853952    7   84
+2409  60-902634729270453248    7   84
+2410  60-902662560658504704    4   48
+2411  60-902874697683159552    4   48
+2412  60-904197272732339456    4   48
+2413  60-904224348206161536    7   82
+2414  60-908444342552755712    4   48
+2415  60-908537801041425152    4   47
+2416  60-908549517712155520    1   16
+2417  60-908593115923743872    4   48
+2418  60-916634256774776448    3   39
+2419  60-916772043621298432    7   86
+2420  60-916913743182505344    4   47
+2421  60-931105208481595904    4   48
+2422  60-931843977216291584    3   40
+2423  60-931893382224061056    1   14
+2424  60-931947365668941184    4   47
+2425  60-989444054205313280    4   48
+2426  60-989578095841247360    4   48
+2427  60-989652102421337856    4   48
+2428  60-993003242063619328    1   15
+2429             7-00370620    3   42
+2430             7-00459027    3   40
+2431             7-00493555    7   84
+2432             7-00551919    7   76
+2433             7-00584948    3   37
+2434             7-00976322    3   36
+2435             7-01024056    3   33
+2436             7-01291464    4   49
+2437             7-02197306    3   40
+2438             7-02264150    4   49
+2439             7-02388672    3   40
+2440             7-02950968    4   51
+2441             7-03143109    4   49
+2442             7-10003007    0    9
+2443             7-10350676    5   60
+2444             7-10533853    2   23
+2445             7-10953599    5   59
+2446             7-10995068    3   42
+2447             7-10997505    5   57
+2448             7-11002810    5   56
+2449             7-11123016    5   58
+2450             7-11411763    7   81
+2451             7-11478351    5   59
+2452             7-11665996    1   99
+2453             7-11672928    5   60
+2454             7-11698306    5   60
+2455             7-11726587    5   57
+2456             7-11727434    5   60
+2457             7-11785977    5   60
+2458             7-11809034    4   47
+2459             7-11837633    2   22
+2460             7-11868487    5   60
+2461             7-11901584    5   59
+2462             7-11950149    5   60
+2463             7-12154641    7   86
+2464             7-12225261    2   23
+2465             7-12450415    5   59
+2466             7-12529988    1   99
+2467             7-12936584    5   59
+2468             7-13205062    7   80
+2469             7-13260000    5   57
+2470             7-13416451    6   70
+2471             7-13559784    4   47
+2472             7-13568176    4   47
+2473             7-13633787    3   41
+2474             7-13850333    5   57
+2475              7-1424933    7   84
+2476             7-14250447    5   59
+2477             7-14254168    4   47
+2478             7-14335460    1   -1
+2479             7-14344342    5   59
+2480             7-14382619    5   60
+2481             7-14583021    5   58
+2482             7-14663993    1   14
+2483             7-14680797    5   59
+2484             7-14717235    3   35
+2485             7-14754759    4   50
+2486             7-14813550    2   26
+2487             7-14829319    5   61
+2488             7-14834007    4   49
+2489             7-14840923    2   30
+2490             7-14906025    2   30
+2491             7-15638639    3   33
+2492             7-15682397    0    8
+2493             7-15688041    0   -1
+2494             7-15865779    4   48
+2495              7-1591065    4   48
+2496             7-15926662    7   86
+2497             7-15926801    5   59
+2498             7-16067356    7   86
+2499             7-16142991    1   11
+2500             7-16161654    2   23
+2501             7-16430640    3   37
+2502             7-16471924    4   49
+2503             7-16557792    4   48
+2504             7-16588939    2   23
+2505             7-16621662    1   10
+2506             7-16687142    5   60
+2507             7-16753414    2   29
+2508             7-16816072    4   49
+2509             7-16830421    3   36
+2510             7-16839478    4   49
+2511             7-16839665    3   39
+2512             7-16868426    3   36
+2513             7-16875831    2   27
+2514             7-16888234    1   14
+2515             7-16899592    3   33
+2516             7-16900599    5   57
+2517             7-16913759    7   86
+2518             7-16923921    3   36
+2519             7-16928176    0    8
+2520             7-16941707    7   85
+2521             7-16956447    3   36
+2522             7-16960597    2   26
+2523             7-16965536    2   27
+2524             7-16967091    2   27
+2525             7-16998072    3   33
+2526             7-17002319    4   49
+2527             7-17011555    2   26
+2528             7-17033012    4   46
+2529             7-17037366    3   35
+2530             7-17045741    7   84
+2531             7-17048204    1   12
+2532             7-17049340    0    8
+2533             7-17049516    4   50
+2534             7-17076192    5   56
+2535             7-17090642    1   13
+2536             7-17102742    1   14
+2537             7-17108848    2   27
+2538             7-17116244    3   39
+2539             7-17133364    5   57
+2540             7-17153752    4   47
+2541             7-17164063    2   29
+2542             7-17165956    5   58
+2543             7-17202604    7   80
+2544             7-17209848    4   50
+2545             7-17346579    5   58
+2546             7-17397000    3   38
+2547             7-17420259    5   60
+2548             7-17430715    1   13
+2549             7-17442690    4   48
+2550             7-17443125    5   59
+2551             7-17451036    3   40
+2552             7-17459185    3   39
+2553             7-17475264    5   56
+2554             7-17479347    1   14
+2555             7-17499561    4   47
+2556             7-17516976    5   60
+2557             7-17532041    1   15
+2558             7-17538159    4   47
+2559             7-17547161    1   10
+2560             7-17597273    2   27
+2561             7-17619289    4   48
+2562             7-17625054    1   15
+2563             7-17630570    1   13
+2564             7-17718833    4   47
+2565             7-17723291    4   49
+2566             7-17723412    4   46
+2567             7-17732581    3   39
+2568             7-17738444    4   47
+2569             7-17738898    4   47
+2570             7-17744180    5   60
+2571             7-17786574    3   42
+2572             7-17808929    3   39
+2573             7-17833073    4   47
+2574             7-17855324    0    6
+2575             7-17857102    1   14
+2576             7-17902834    4   47
+2577             7-17903480    3   40
+2578             7-17905268    3   40
+2579             7-17908127    3   39
+2580             7-17922935    4   49
+2581             7-17933207    4   48
+2582             7-17951204    5   60
+2583             7-17958055    7   86
+2584             7-17971866    3   39
+2585             7-17972811    3   42
+2586             7-17974395    3   39
+2587             7-17974607    1   13
+2588             7-17983247    4   49
+2589             7-17984897    4   48
+2590             7-17997938    1   16
+2591             7-18039491    3   40
+2592             7-18042340    3   38
+2593             7-18069504    4   48
+2594             7-18071839    3   38
+2595             7-18079671    3   39
+2596             7-18096842    3   38
+2597             7-18102335    4   47
+2598             7-18103438    4   47
+2599             7-18121064    3   38
+2600             7-18160541    3   33
+2601             7-18167572    1   12
+2602             7-18173720    3   40
+2603             7-18204017    3   40
+2604             7-18218390    3   37
+2605             7-18222181    5   56
+2606             7-18231992    4   47
+2607             7-18241715    0    8
+2608             7-18259753    3   40
+2609             7-18259976    3   38
+2610             7-18301995    2   22
+2611             7-18307114    1   16
+2612             7-18312685    1   13
+2613             7-18355266    1   13
+2614             7-18418356    0    9
+2615             7-18456415    5   58
+2616             7-18475092    3   38
+2617             7-18492546    3   40
+2618             7-18498748    3   33
+2619             7-18513261    4   49
+2620             7-18569278    7   86
+2621             7-18570872    3   39
+2622             7-18585072    3   40
+2623             7-18592166    3   40
+2624             7-18599245    1   10
+2625             7-18610576    2   27
+2626             7-18614072    4   48
+2627             7-18849858    3   38
+2628             7-19000961    5   58
+2629             7-19002318    4   47
+2630             7-19054562    4   46
+2631             7-19055624    7   84
+2632             7-19095315    3   38
+2633             7-19205270    1   15
+2634             7-19240246    5   58
+2635             7-19271975    7   87
+2636             7-20102700    5   59
+2637             7-20309789    4   46
+2638             7-20379392    4   47
+2639             7-20405079    7   84
+2640             7-20428833    2   26
+2641             7-20460021    3   38
+2642             7-20573835    2   29
+2643             7-20576848    3   33
+2644             7-20612587    7   75
+2645             7-20710231    1   16
+2646             7-21216919    0    8
+2647             7-21221394    3   40
+2648              7-2129010    7   84
+2649             7-21303195    3   36
+2650             7-21305149    3   40
+2651             7-21653958    3   38
+2652             7-21720144    3   33
+2653             7-21737397    7   80
+2654             7-21744719    4   51
+2655             7-21809674    7   80
+2656             7-21824898    7   80
+2657             7-21896408    7   81
+2658             7-21896589    3   42
+2659             7-21956188    3   40
+2660             7-21958831    3   39
+2661             7-22000835    7   77
+2662             7-22019334    3   42
+2663             7-22029738    4   49
+2664             7-22036410    3   39
+2665             7-22038577    3   42
+2666             7-22091947    1   17
+2667             7-22098912    3   38
+2668             7-22103256    4   51
+2669             7-22146103    3   40
+2670             7-22154970    3   38
+2671             7-22282131    4   48
+2672             7-22290311    5   57
+2673             7-22350685    3   40
+2674             7-22399352    7   85
+2675             7-22502094    3   39
+2676             7-22534477    3   33
+2677             7-22671807    6   70
+2678             7-22896992    3   39
+2679             7-22905301    3   39
+2680             7-22936237    2   27
+2681             7-23000073    3   39
+2682             7-23023133    3   33
+2683              7-2309197    5   56
+2684             7-23269986    7   79
+2685             7-23285665    7   79
+2686             7-23360285    7   79
+2687             7-23376599    5   60
+2688             7-23413337    7   87
+2689             7-23521624    4   47
+2690             7-23808640    3   36
+2691             7-23811766    3   33
+2692             7-23814713    3   33
+2693             7-23816839    7   78
+2694             7-23835026    7   85
+2695             7-23911560    5   59
+2696             7-23928175    7   80
+2697             7-23941545    7   87
+2698             7-24066142    1   11
+2699             7-24201073    0    1
+2700             7-24239761    5   59
+2701             7-24435986    3   40
+2702             7-24469202    4   51
+2703             7-24490849    3   40
+2704             7-24497200    7   85
+2705             7-24655696    1   13
+2706             7-24659360    5   57
+2707             7-24764769    7   79
+2708             7-24784907    3   40
+2709             7-24787975    7   84
+2710             7-24827742    3   33
+2711             7-24862290    3   40
+2712             7-24869983    1   13
+2713             7-24877104    3   33
+2714             7-24893233    1   14
+2715             7-24928356    5   59
+2716             7-24943381    5   59
+2717              7-2529409    0    9
+2718             7-25365606    5   56
+2719             7-25455882    5   59
+2720              7-2560666    5   56
+2721             7-25667306    4   46
+2722             7-25790475    5   60
+2723             7-25971145    7   80
+2724             7-26246892    7   82
+2725             7-26439721    7   83
+2726             7-26684030    4   49
+2727             7-26763728    5   57
+2728             7-26773970    3   40
+2729             7-26780256    7   73
+2730             7-26803471    4   49
+2731             7-26849973    3   36
+2732             7-26976538    7   86
+2733             7-27053513    5   93
+2734             7-27138447    3   33
+2735             7-27322751    3   33
+2736             7-27355574    4   49
+2737             7-27578926    3   40
+2738             7-27848428    5   56
+2739              7-2788028    5   56
+2740             7-28087823    3   39
+2741             7-28122751    5   57
+2742             7-28331554    3   36
+2743             7-28560518    5   56
+2744             7-28625052    3   33
+2745             7-28719196    5   58
+2746             7-28819162    2   23
+2747               7-324479    7   78
+2748              7-3405689    5   59
+2749              7-3755072    7   81
+2750               7-417075    7   80
+2751              7-4178716    4   46
+2752              7-4206718    4   49
+2753              7-4266895    5   58
+2754              7-4267658    5   58
+2755              7-4426313    0    3
+2756              7-4702612    7   84
+2757              7-4853914    5   56
+2758              7-5201413    5   60
+2759              7-5202063    1   16
+2760              7-5312101    7   84
+2761               7-537753    7   87
+2762               7-555218    2   23
+2763              7-5632717    5   60
+2764              7-5646181    5   60
+2765               7-570727    7   82
+2766              7-5824868    4   47
+2767              7-5847119    5   61
+2768              7-5848806    4   50
+2769              7-6072668    5   59
+2770              7-6493694    5   60
+2771              7-6511583    3   40
+2772              7-6539819    5   57
+2773              7-6839854    7   84
+2774              7-7163483    1   14
+2775              7-7481674    4   47
+2776              7-7523191    5   60
+2777              7-7535538    7   81
+2778              7-7537927    1   17
+2779              7-7707819    1   17
+2780              7-7768531    5   57
+2781              7-7806641    3   42
+2782              7-7809468    5   57
+2783              7-8007298    5   -1
+2784              7-8012981    5   59
+2785              7-8273750    4   47
+2786              7-8282717    5   59
+2787              7-8301932    5   60
+2788              7-8331374    5   59
+2789              7-8335200    5   58
+2790              7-9183284    5   58
+2791              7-9216400    2   23
+2792              7-9320498    5   59
+2793              7-9333878    1   16
+2794              7-9434559    5   59
+2795              7-9441032    4   47
+2796              7-9477013    5   58
+2797              7-9523486    4   49
+2798              7-9736442    1   15
+2799              7-9993863    3   39
\ No newline at end of file
diff --git a/mangadap/proc/sasuke.py b/mangadap/proc/sasuke.py
index 3bbf75df..902b5ef0 100644
--- a/mangadap/proc/sasuke.py
+++ b/mangadap/proc/sasuke.py
@@ -45,7 +45,7 @@
 from .util import sample_growth
 from .ppxffit import PPXFModel, PPXFFit
 from ..contrib.xjmc import emline_fitter_with_ppxf, ppxf_tied_parameters
-
+from ..util.filter import interpolate_masked_vector
 
 class SasukePar(KeywordParSet):
     r"""
@@ -2066,6 +2066,10 @@ def fit(self, emission_lines, obj_wave, obj_flux, obj_ferr=None, obj_mask=None,
             _stellar_kinematics[:,0], _ = PPXFFit.revert_velocity(stellar_kinematics[:,0],
                                                                   numpy.zeros(self.nobj))
 
+        if not numpy.all(numpy.isfinite(etpl_sinst)):
+            etpl_sinst = interpolate_masked_vector(numpy.ma.MaskedArray(etpl_sinst,mask= ~numpy.isfinite(etpl_sinst)))
+
+
         #---------------------------------------------------------------
         # Build the emission-line templates; the EmissionLineTemplates
         # object will check the database
diff --git a/mangadap/proc/templatelibrary.py b/mangadap/proc/templatelibrary.py
index 70d943c9..a766ed1a 100644
--- a/mangadap/proc/templatelibrary.py
+++ b/mangadap/proc/templatelibrary.py
@@ -482,7 +482,8 @@ class TemplateLibrary:
     """
     # Class attribute
     supported_libraries = ['BC03', 'BPASS', 'M11ELODIE', 'M11MARCS', 'M11MILES', 'M11STELIB',   
-                           'M11STELIBZSOL', 'MASTARHC', 'MASTARHC2', 'MASTARSSP', 'MILES',
+                           'M11STELIBZSOL', 'MASTARHC', 'MASTARHC2', 'MASTARHC2-NOISM',
+                           'MASTARSSP', 'MASTARSSP-NOISM', 'MILES',
                            'MILESAVG', 'MILESHC', 'MILESTHIN', 'MIUSCAT', 'MIUSCATTHIN', 'STELIB']
     """Provides the keywords of the supported libraries."""
 
diff --git a/setup.cfg b/setup.cfg
index 338ae467..44e787e0 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -29,19 +29,18 @@ classifiers =
 zip_safe = False
 use_2to3 = False
 packages = find:
-python_requires = >=3.10,<3.13
+python_requires = >=3.11,<3.13
 setup_requires = setuptools_scm
 include_package_data = True
 install_requires =
     requests>=2.25
     ipython>=7.20
     configobj>=5.0.6
-    tomli>=2.0
-    numpy<2.0
-    scipy>=1.8
-    matplotlib>=3.5
-    astropy>=5.0
-    pydl>=0.7.0
+    numpy>=1.24
+    scipy>=1.9
+    matplotlib>=3.7
+    astropy>=6.0
+    pydl>=1.0
     ppxf==8.1.0
     cvxopt>=1.3
     vorbin==3.1.5
@@ -53,21 +52,21 @@ test =
     tox
     pytest-cov
     coverage
-    codecov
 docs =
-    sphinx
+    sphinx>=1.6,<8
+    docutils<0.21
     sphinx-automodapi
-    sphinx_rtd_theme
+    sphinx_rtd_theme==2.0.0
 dev =
     pytest>=7.1.0
     pytest-astropy
     tox
     pytest-cov
     coverage
-    codecov
-    sphinx
+    sphinx>=1.6,<8
+    docutils<0.21
     sphinx-automodapi
-    sphinx_rtd_theme
+    sphinx_rtd_theme==2.0.0
 
 [options.package_data]
 * = *.rst, *.txt, data/*, data/*/*, data/*/*/*, data/*/*/*/*, data/*/*/*/*/*, data/*/*/*/*/*/*


Test patch:
diff --git a/.github/workflows/ci_tests.yml b/.github/workflows/ci_tests.yml
index fcab2930..63199ec4 100644
--- a/.github/workflows/ci_tests.yml
+++ b/.github/workflows/ci_tests.yml
@@ -19,7 +19,7 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-latest]
-        python: ['3.10', '3.11', '3.12']
+        python: ['3.11', '3.12']
         toxenv: [test-cov, test-astropydev]
     steps:
     - name: Check out repository
@@ -34,13 +34,6 @@ jobs:
     - name: Test with tox
       run: |
         tox -e ${{ matrix.python }}-${{ matrix.toxenv }}
-#    - name: Upload coverage to codecov
-#      if: "contains(matrix.toxenv, '-cov')"
-#      uses: codecov/codecov-action@v3
-#      with:
-#        token: ${{ secrets.CODECOV }}
-#        file: ./coverage.xml
-#        fail_ci_if_error: true
 
   os-tests:
     name: Python ${{ matrix.python }} on ${{ matrix.os }}
@@ -50,7 +43,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [macos-latest]
-        python: ['3.10', '3.11', '3.12']
+        python: ['3.11', '3.12']
         toxenv: [test]
     steps:
     - name: Check out repository
diff --git a/mangadap/tests/test_rukia.py b/mangadap/tests/test_rukia.py
index aa1b6f53..e373b27e 100644
--- a/mangadap/tests/test_rukia.py
+++ b/mangadap/tests/test_rukia.py
@@ -92,8 +92,6 @@ def test_rukia_fit():
     r.fit(miles_wave, miles_flux, xsl_wave.data, xsl_flux.data, shift=0.0, fit_shift=True,
           rejiter=-1)
 
-    assert numpy.sum(r.gpm) == 2175, 'Change in the number of pixels rejected.'
+    assert len(r.gpm) - numpy.sum(r.gpm) < 20, 'Change in the number of pixels rejected.'
     assert numpy.sqrt(numpy.mean(numpy.square((r.flux-r.model(r.par))[r.gpm]))) < 0.01, \
             'Fit quality changed.'
-
-