/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 28 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 = 7409
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1410.1+0202_daily_bin46
RA = 212.529, Dec = 2.0354
tmin = 251251201, tmax = 251510401
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='231058', job_status='RUN', time_executed='2021-09-09 03:31:19.435609', time_epoch_executed='1631183479.44' WHERE source_name='4FGL J1410.1+0202' and cadence='daily' and bin_id='46'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/231058

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/231058/ft1_4FGL_J1410.1+0202_daily_bin46.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/231058/ft2_4FGL_J1410.1+0202_daily_bin46.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/231058/ft1_4FGL_J1410.1+0202_daily_bin46.fits outfile=/scratch/kocevski/231058/ft1_filteredMKT_4FGL_J1410.1+0202_daily_bin46.fits ra=212.529 dec=2.0354 rad=12.0 tmin=251251201.0 tmax=251510401.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 1.50
user 1.29
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/231058/ft2_4FGL_J1410.1+0202_daily_bin46.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/231058/ft1_filteredMKT_4FGL_J1410.1+0202_daily_bin46.fits evtable="EVENTS" outfile="/scratch/kocevski/231058/ft1_filtered_4FGL_J1410.1+0202_daily_bin46.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/231058/ft1_filtered_4FGL_J1410.1+0202_daily_bin46.fits" evtable="EVENTS" scfile=/scratch/kocevski/231058/ft2_4FGL_J1410.1+0202_daily_bin46.fits sctable="SC_DATA" outfile=/scratch/kocevski/231058/ltcube_251251201_251510401_4FGL_J1410.1+0202_daily_bin46.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/231058/ft2_4FGL_J1410.1+0202_daily_bin46.fits
.....................!
real 12.60
user 12.27
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/231058/ft1_filtered_4FGL_J1410.1+0202_daily_bin46.fits evtable="EVENTS" scfile=/scratch/kocevski/231058/ft2_4FGL_J1410.1+0202_daily_bin46.fits sctable="SC_DATA" expcube=/scratch/kocevski/231058/ltcube_251251201_251510401_4FGL_J1410.1+0202_daily_bin46.fits outfile=/scratch/kocevski/231058/expmap_251251201_251510401_4FGL_J1410.1+0202_daily_bin46.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/231058/ltcube_251251201_251510401_4FGL_J1410.1+0202_daily_bin46.fits
.....................!
real 190.40
user 185.56
sys 4.47

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/231058/ft1_filtered_4FGL_J1410.1+0202_daily_bin46.fits scfile=/scratch/kocevski/231058/ft2_4FGL_J1410.1+0202_daily_bin46.fits outfile=/scratch/kocevski/231058/cmap_251251201_251510401_4FGL_J1410.1+0202_daily_bin46.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/231058/ft1_filtered_4FGL_J1410.1+0202_daily_bin46.fits scfile=/scratch/kocevski/231058/ft2_4FGL_J1410.1+0202_daily_bin46.fits outfile=/scratch/kocevski/231058/cmap_HighResolution_251251201_251510401_4FGL_J1410.1+0202_daily_bin46.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/231058/ft1_filtered_4FGL_J1410.1+0202_daily_bin46.fits evtable="EVENTS" scfile=/scratch/kocevski/231058/ft2_4FGL_J1410.1+0202_daily_bin46.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/231058/Model_4FGL_J1410.1+0202_daily_bin46.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/231058/ft1_filtered_4FGL_J1410.1+0202_daily_bin46.fits.....................!
real 67.40
user 66.04
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/231058/ft1_filtered_4FGL_J1410.1+0202_daily_bin46.fits', '/scratch/kocevski/231058/ft2_4FGL_J1410.1+0202_daily_bin46.fits', expMap='/scratch/kocevski/231058/expmap_251251201_251510401_4FGL_J1410.1+0202_daily_bin46.fits', expCube='/scratch/kocevski/231058/ltcube_251251201_251510401_4FGL_J1410.1+0202_daily_bin46.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/231058/Model_4FGL_J1410.1+0202_daily_bin46.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/231058/ft1_filtered_4FGL_J1410.1+0202_daily_bin46.fits
Spacecraft file(s): /scratch/kocevski/231058/ft2_4FGL_J1410.1+0202_daily_bin46.fits
Exposure map: /scratch/kocevski/231058/expmap_251251201_251510401_4FGL_J1410.1+0202_daily_bin46.fits
Exposure cube: /scratch/kocevski/231058/ltcube_251251201_251510401_4FGL_J1410.1+0202_daily_bin46.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/231058/Model_4FGL_J1410.1+0202_daily_bin46.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) = 9342.67420516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17772       1.0000         .10000E-03   10000.    
     2 'norm      '    30.850       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5947       1.0000         .10000E-03   10000.    
     7 'norm      '    1.8383       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12210E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .74381       1.0000         .10000E-03   10000.    
    10 'norm      '    18.406       1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .18875E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    31.904       1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.338       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .40665E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    23.429       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3610       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .78371       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=   9342.672     FROM MIGRAD    STATUS=CONVERGED    416 CALLS     1786 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17739        .76713        .10714E-07   -.37718E-03
   2  norm          30.850        25.045       -.46943E-08    .16070E-04
   3  Prefactor     .10000E-03    1.0323       -.21975E-07** at limit **
   4  Prefactor     .10000E-03    3.8633       -.67971E-08** at limit **
   5  Prefactor     .10000E-03    1.1209       -.11819E-07** at limit **
   6  Prefactor     1.5946        5.3853        .44162E-05    .28229E-03
   7  norm          1.8382        1.3628       -.31606E-08   -.54451E-05
   8  Prefactor     .10000E-03    38.093       -.10591E-07** at limit **
   9  Prefactor     .79476        11.564        .24858E-06   -.38768E-04
  10  norm          18.404        9.5428       -.54011E-08    .22339E-04
  11  norm          .10000E-03    1.8851       -.11256E-07** at limit **
  12  Prefactor     .10000E-03    32.357       -.14116E-06** at limit **
  13  norm          31.927        19.078       -.98482E-07    .25332E-04
  14  Prefactor     18.289        50.794       -.28359E-05   -.34041E-04
  15  Prefactor     .13419E-03    41.178       -.11966E-04** at limit **
  16  norm          23.387        15.344        .30598E-05    .52050E-03
  17  Normalizat    1.3610        .16044       -.11325E-06    .22157E-03
  18  Prefactor     .78382        .10609        .19575E-06    .39640E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.177388
  norm       = 30.8498
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.59457
  norm       = 1.83817
  Prefactor  = 0.0001
  Prefactor  = 0.794758
  norm       = 18.4035
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 31.9273
  Prefactor  = 18.2891
  Prefactor  = 0.000134194
  norm       = 23.3872
  Normalizat = 1.36096
  Prefactor  = 0.783823
 **********
 **   18 **HESSE 
 **********

 FCN=   9342.672     FROM HESSE     STATUS=OK           256 CALLS     2042 TOTAL
                     EDM=   .76E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17739        1.4679        .16325E-02   -1.5624    
   2  norm          30.850        25.047        .72137E-04   -1.4597    
   3  Prefactor     .10000E-03    1.0406        .95874E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.8677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.1274        .99932E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.5946        5.4070        .16795E-02   -1.5455    
   7  norm          1.8382        1.3590        .94326E-04   -1.5437    
   8  Prefactor     .10000E-03    39.173        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .79476        154.24        .63074E-02   -1.5530    
  10  norm          18.404        9.5452        .93357E-04   -1.4850    
  11  norm          .10000E-03    1.8970        .12959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    32.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          31.927        19.073        .70939E-04   -1.4577    
  14  Prefactor     18.289        50.858        .93529E-04   -1.4852    
  15  Prefactor     .13419E-03    39.240        .12116       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          23.387        19.910        .82754E-04   -1.4740    
  17  Normalizat    1.3610        .19079        .25012E-03   -.81765    
  18  Prefactor     .78382        .12656        .21343E-03   -1.0033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.6317e-08
Minuit parameter uncertainties:
  1  1.02031
  2  25.0552
  3  8.45934e-06
  4  9.8147e-06
  5  5.16988e-06
  6  5.40861
  7  1.35903
  8  0.000257542
  9  22.2006
  10  9.54599
  11  7.28604e-06
  12  8.91827e-05
  13  19.0762
  14  50.9786
  15  0.0733082
  16  19.9157
  17  0.19089
  18  0.126608
Done.

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

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  1.000e-04  2.575e-04  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:  7.838e-01  1.266e-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:  1.361e+00  1.909e-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: 6.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/231058/likelihoodResults_251251201_251510401_4FGL_J1410.1+0202_daily_bin46.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) = 9342.67230963
delta logL = -0.000121718112496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9342.67218721
delta logL = 7.02559191268e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .57679E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4476       1.0000          .0000       10.000    
     3 'Normalizat'    1.3611       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78372       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.

 FCN=   9341.548     FROM MIGRAD    STATUS=CONVERGED    155 CALLS      332 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .23015E-02    .33477E-03** at limit **
   2  Index         8.4193        2.2659        .19626        .16791E-03
   3  Normalizat    1.2869        .37979E-01    .57869E-01    .77864E-04
   4  Prefactor     .81711        .25218E-01    .43505E-01    .13362E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.41926
  Normalizat = 1.28687
  Prefactor  = 0.817115
 **********
 **   18 **HESSE 
 **********

 FCN=   9341.548     FROM HESSE     STATUS=OK            35 CALLS      367 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .69790E-03    .10688E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.4193        .35364        .74621E-02    .75303    
   3  Normalizat    1.2869        .19405        .25592E-03   -.83959    
   4  Prefactor     .81711        .12850        .20948E-03   -.99101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45083e-11
Minuit parameter uncertainties:
  1  1.29804e-09
  2  0.354198
  3  0.194156
  4  0.12855
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/231058': 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): 0
logL (Free Index) = 9341.54800054
delta logL = 1.1241873708

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  1.000e-04  1.298e-09  1.000e-04  1.000e+04 ( 1.000e-13)
291        Index:  8.419e+00  3.542e-01  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:  8.171e-01  1.286e-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:  1.287e+00  1.942e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.36
Ra Dec: 212.529 2.035
Photon Index (Free Index): 8.42 +/- 0.35
Photon Flux (Free Index): 5.58e-08 +/- 4.29e-08
Energy Flux (Free Index): 6.42e-06 +/- 4.91e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/231058/cmap_HighResolution_251251201_251510401_4FGL_J1410.1+0202_daily_bin46.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.98e-03', comment='SUCCESS', energy_flux2='6.42e-06', dlogl='1.12e+00', photon_flux2='5.58e-08', job_status='DONE', time_completed='2021-09-09 03:41:58.635163', photon_index_error2='0.35', photon_index2='8.42', ts='-0.00', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='6.49e-08', energy_flux_error2='4.91e-06', EG='1.36', time_epoch_completed='1631184118.64', return_code='0', job_id='231058', GAL2='0.82', EG2='1.29', return_code2='0', photon_flux_error2='4.29e-08', ts2='2.36', photon_index='2.31' WHERE bin_id='46' AND source_name='4FGL J1410.1+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 03:41:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 231058: <4FGL_J1410.1+0202_daily_bin46> in cluster <slac> Done

Job <4FGL_J1410.1+0202_daily_bin46> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 03:30:40 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 03:30:42 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:30:42 2021
Terminated at Thu Sep  9 03:42:00 2021
Results reported at Thu Sep  9 03:42:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1410.1+0202_daily_bin46 212.529 2.0354 251251201 251510401 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 :                                   634.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   677 sec.
    Turnaround time :                            680 sec.

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

