/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 78 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7470
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1410.1+0202_daily_bin534
RA = 212.529, Dec = 2.0354
tmin = 377740801, tmax = 378000001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository Job = True

LAT data Source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='233867', job_status='RUN', time_executed='2021-09-09 03:41:55.061658', time_epoch_executed='1631184115.06' WHERE source_name='4FGL J1410.1+0202' and cadence='daily' and bin_id='534'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/233867

Creating custom pfile directory:
/scratch/kocevski/233867/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=377740801.0 && nMetStart<378000001.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=377740801.0 && nMetStart<378000001.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/233867/ft1_4FGL_J1410.1+0202_daily_bin534.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=377740801.0 && nMetStart<378000001.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/233867/ft2_4FGL_J1410.1+0202_daily_bin534.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/233867/ft1_4FGL_J1410.1+0202_daily_bin534.fits outfile=/scratch/kocevski/233867/ft1_filteredMKT_4FGL_J1410.1+0202_daily_bin534.fits ra=212.529 dec=2.0354 rad=12.0 tmin=377740801.0 tmax=378000001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.29
user 4.25
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/233867/ft2_4FGL_J1410.1+0202_daily_bin534.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/233867/ft2_4FGL_J1410.1+0202_daily_bin534.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/233867/ft1_filteredMKT_4FGL_J1410.1+0202_daily_bin534.fits evtable="EVENTS" outfile="/scratch/kocevski/233867/ft1_filtered_4FGL_J1410.1+0202_daily_bin534.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.87
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/233867/ft1_filtered_4FGL_J1410.1+0202_daily_bin534.fits" evtable="EVENTS" scfile=/scratch/kocevski/233867/ft2_4FGL_J1410.1+0202_daily_bin534.fits sctable="SC_DATA" outfile=/scratch/kocevski/233867/ltcube_377740801_378000001_4FGL_J1410.1+0202_daily_bin534.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/233867/ft2_4FGL_J1410.1+0202_daily_bin534.fits
.....................!
real 13.06
user 11.68
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/233867/ft1_filtered_4FGL_J1410.1+0202_daily_bin534.fits evtable="EVENTS" scfile=/scratch/kocevski/233867/ft2_4FGL_J1410.1+0202_daily_bin534.fits sctable="SC_DATA" expcube=/scratch/kocevski/233867/ltcube_377740801_378000001_4FGL_J1410.1+0202_daily_bin534.fits outfile=/scratch/kocevski/233867/expmap_377740801_378000001_4FGL_J1410.1+0202_daily_bin534.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/233867/ltcube_377740801_378000001_4FGL_J1410.1+0202_daily_bin534.fits
.....................!
real 195.37
user 183.81
sys 5.35

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J1410.1+0202 @ 212.529 2.0354

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/233867/ft1_filtered_4FGL_J1410.1+0202_daily_bin534.fits scfile=/scratch/kocevski/233867/ft2_4FGL_J1410.1+0202_daily_bin534.fits outfile=/scratch/kocevski/233867/cmap_377740801_378000001_4FGL_J1410.1+0202_daily_bin534.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=212.529 yref=2.0354 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.65
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/233867/ft1_filtered_4FGL_J1410.1+0202_daily_bin534.fits scfile=/scratch/kocevski/233867/ft2_4FGL_J1410.1+0202_daily_bin534.fits outfile=/scratch/kocevski/233867/cmap_HighResolution_377740801_378000001_4FGL_J1410.1+0202_daily_bin534.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=212.529 yref=2.0354 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.99
user 0.39
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/233867/ft1_filtered_4FGL_J1410.1+0202_daily_bin534.fits evtable="EVENTS" scfile=/scratch/kocevski/233867/ft2_4FGL_J1410.1+0202_daily_bin534.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/233867/Model_4FGL_J1410.1+0202_daily_bin534.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/233867/ft1_filtered_4FGL_J1410.1+0202_daily_bin534.fits.....................!
real 60.73
user 46.53
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/233867/ft1_filtered_4FGL_J1410.1+0202_daily_bin534.fits', '/scratch/kocevski/233867/ft2_4FGL_J1410.1+0202_daily_bin534.fits', expMap='/scratch/kocevski/233867/expmap_377740801_378000001_4FGL_J1410.1+0202_daily_bin534.fits', expCube='/scratch/kocevski/233867/ltcube_377740801_378000001_4FGL_J1410.1+0202_daily_bin534.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/233867/Model_4FGL_J1410.1+0202_daily_bin534.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1410.1+0202'

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  5.797e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
291        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  1.053e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/233867/ft1_filtered_4FGL_J1410.1+0202_daily_bin534.fits
Spacecraft file(s): /scratch/kocevski/233867/ft2_4FGL_J1410.1+0202_daily_bin534.fits
Exposure map: /scratch/kocevski/233867/expmap_377740801_378000001_4FGL_J1410.1+0202_daily_bin534.fits
Exposure cube: /scratch/kocevski/233867/ltcube_377740801_378000001_4FGL_J1410.1+0202_daily_bin534.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/233867/Model_4FGL_J1410.1+0202_daily_bin534.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 6032.07501366

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 6032.07329578

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9395       1.0000         .10000E-03   10000.    
     2 'norm      '    23.234       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11419E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    48.124       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.2883       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10991E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.144       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .56403E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    11.185       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.3067       1.0000         .10000E-03   10000.    
    16 'norm      '    .11355E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .98383       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0967       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6032.073     FROM MIGRAD    STATUS=CONVERGED    361 CALLS     1715 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9394        2.7656        .22834E-07   -.10986E-04
   2  norm          23.235        26.783       -.10955E-06   -.17562E-05
   3  Prefactor     .10000E-03    3.4501        .28251E-07** at limit **
   4  Prefactor     48.119        29.585        .25871E-06   -.13083E-04
   5  Prefactor     .10000E-03    1.4779        .68174E-08** at limit **
   6  Prefactor     3.2861        6.6200        .19774E-05    .18384E-03
   7  norm          .10000E-03    1.0722        .16094E-07** at limit **
   8  Prefactor     .10000E-03    40.132        .31660E-05** at limit **
   9  Prefactor     13.144        27.303        .54679E-06    .90242E-05
  10  norm          .10000E-03    5.6883       -.13509E-07** at limit **
  11  norm          .10001E-03    5.4847        .15506E-05** at limit **
  12  Prefactor     .10000E-03    6.6324        .13491E-07** at limit **
  13  norm          11.177        21.342        .94940E-06    .94532E-07
  14  Prefactor     .10000E-03    32.988       -.40112E-05** at limit **
  15  Prefactor     2.2779        34.827        .21194E-05   -.63334E-05
  16  norm          .10000E-03    20.066       -.77365E-06** at limit **
  17  Normalizat    .98397        .21074       -.23581E-06   -.84053E-04
  18  Prefactor     1.0965        .14183       -.22781E-06   -.13160E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.9394
  norm       = 23.2349
  Prefactor  = 0.0001
  Prefactor  = 48.1193
  Prefactor  = 0.0001
  Prefactor  = 3.2861
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.144
  norm       = 0.0001
  norm       = 0.000100007
  Prefactor  = 0.0001
  norm       = 11.1767
  Prefactor  = 0.0001
  Prefactor  = 2.27794
  norm       = 0.000100001
  Normalizat = 0.983974
  Prefactor  = 1.09652
 **********
 **   18 **HESSE 
 **********

 FCN=   6032.073     FROM HESSE     STATUS=OK           244 CALLS     1959 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9394        2.7702        .92721E-04   -1.5263    
   2  norm          23.235        26.790        .83101E-04   -1.4744    
   3  Prefactor     .10000E-03    3.5909        .28138E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     48.119        29.695        .57803E-04   -1.4319    
   5  Prefactor     .10000E-03    1.4860        .92204E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.2861        6.7773        .11164E-02   -1.5345    
   7  norm          .10000E-03    1.0881        .78503E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    40.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.144        27.357        .55243E-03   -1.4983    
  10  norm          .10000E-03    5.6996        .18091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10001E-03    14.015        .31054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.6371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          11.177        21.361        .11979E-03   -1.5039    
  14  Prefactor     .10000E-03    33.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.2779        34.296        .27017E-03   -1.5406    
  16  norm          .10000E-03    20.058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .98397        .24950        .29733E-03   -.93569    
  18  Prefactor     1.0965        .16801        .19435E-03   -.89578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34532e-10
Minuit parameter uncertainties:
  1  2.77029
  2  26.8043
  3  2.73948e-06
  4  29.7039
  5  5.02216e-07
  6  6.7789
  7  2.92264e-08
  8  5.07721e-05
  9  27.3827
  10  6.73487e-07
  11  0.000646973
  12  2.88449e-06
  13  21.3752
  14  4.77819e-05
  15  17.6894
  16  0.000272017
  17  0.249796
  18  0.168093
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 6032.07327471

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  1.000e-04  5.077e-05  1.000e-04  1.000e+04 ( 1.000e-13)
291        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  1.053e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.097e+00  1.681e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  9.840e-01  2.498e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 212.529 2.035
Photon Flux Upper Limit: 8.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/233867/likelihoodResults_377740801_378000001_4FGL_J1410.1+0202_daily_bin534.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6032.0733917
delta logL = -0.000116988457194

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6032.07327518
delta logL = -4.71531166113e-07

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11178E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4950       1.0000          .0000       10.000    
     3 'Normalizat'    .98397       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0965       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6032.073     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      293 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10125E-03    .33815        .12644    ** at limit **
   2  Index         2.4315        8.7594        .50000        .85957E-05
   3  Normalizat    .98398        .99052E-03    .29733E-03   -.18391E-03
   4  Prefactor     1.0965        .68361E-03    .19435E-03   -.47191E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101246
  Index      = 2.4315
  Normalizat = 0.983976
  Prefactor  = 1.09651
 **********
 **   18 **HESSE 
 **********

 FCN=   6032.073     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      324 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10125E-03    60.680        .46155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4315        8.7666        .50000       -.53949    
   3  Normalizat    .98398        .67123E-02    .11893E-04   -.93569    
   4  Prefactor     1.0965        .46325E-02    .38871E-04   -.89578    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.85496e-10
Minuit parameter uncertainties:
  1  0.017406
  2  125.207
  3  0.00671231
  4  0.00463251
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/233867': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6032.07327487
delta logL = -1.5830846678e-07

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  1.012e-04  1.741e-02  1.000e-04  1.000e+04 ( 1.000e-13)
291        Index:  2.432e+00  1.252e+02  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  1.053e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.097e+00  4.633e-03  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  9.840e-01  6.712e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 212.529 2.035

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/233867/cmap_HighResolution_377740801_378000001_4FGL_J1410.1+0202_daily_bin534.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/233867

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.44e-03', job_status='DONE', photon_flux_upper_limit='8.39e-08', time_completed='2021-09-09 03:51:15.551326', job_id='233867', GAL2='1.10', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1631184675.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='-1.58e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='534' AND source_name='4FGL J1410.1+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 03:51:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 233867: <4FGL_J1410.1+0202_daily_bin534> in cluster <slac> Done

Job <4FGL_J1410.1+0202_daily_bin534> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 03:40:15 2021
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 03:40:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 03:40:17 2021
Terminated at Thu Sep  9 03:51:16 2021
Results reported at Thu Sep  9 03:51:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1410.1+0202_daily_bin534 212.529 2.0354 377740801 378000001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1410.1+0202 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   518.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   658 sec.
    Turnaround time :                            661 sec.

The output (if any) is above this job summary.

