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


Performing analysis on: 4FGL_J1410.1+0202_daily_bin112
RA = 212.529, Dec = 2.0354
tmin = 268358401, tmax = 268617601
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='231166', job_status='RUN', time_executed='2021-09-09 03:34:17.198242', time_epoch_executed='1631183657.2' WHERE source_name='4FGL J1410.1+0202' and cadence='daily' and bin_id='112'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/231166

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/231166/ft1_4FGL_J1410.1+0202_daily_bin112.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/231166/ft2_4FGL_J1410.1+0202_daily_bin112.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/231166/ft1_4FGL_J1410.1+0202_daily_bin112.fits outfile=/scratch/kocevski/231166/ft1_filteredMKT_4FGL_J1410.1+0202_daily_bin112.fits ra=212.529 dec=2.0354 rad=12.0 tmin=268358401.0 tmax=268617601.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.44
user 1.23
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/231166/ft1_filtered_4FGL_J1410.1+0202_daily_bin112.fits" evtable="EVENTS" scfile=/scratch/kocevski/231166/ft2_4FGL_J1410.1+0202_daily_bin112.fits sctable="SC_DATA" outfile=/scratch/kocevski/231166/ltcube_268358401_268617601_4FGL_J1410.1+0202_daily_bin112.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/231166/ft2_4FGL_J1410.1+0202_daily_bin112.fits
.....................!
real 12.89
user 12.26
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/231166/ft1_filtered_4FGL_J1410.1+0202_daily_bin112.fits evtable="EVENTS" scfile=/scratch/kocevski/231166/ft2_4FGL_J1410.1+0202_daily_bin112.fits sctable="SC_DATA" expcube=/scratch/kocevski/231166/ltcube_268358401_268617601_4FGL_J1410.1+0202_daily_bin112.fits outfile=/scratch/kocevski/231166/expmap_268358401_268617601_4FGL_J1410.1+0202_daily_bin112.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/231166/ltcube_268358401_268617601_4FGL_J1410.1+0202_daily_bin112.fits
.....................!
real 190.71
user 185.09
sys 5.27

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/231166/ft1_filtered_4FGL_J1410.1+0202_daily_bin112.fits scfile=/scratch/kocevski/231166/ft2_4FGL_J1410.1+0202_daily_bin112.fits outfile=/scratch/kocevski/231166/cmap_268358401_268617601_4FGL_J1410.1+0202_daily_bin112.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/231166/ft1_filtered_4FGL_J1410.1+0202_daily_bin112.fits scfile=/scratch/kocevski/231166/ft2_4FGL_J1410.1+0202_daily_bin112.fits outfile=/scratch/kocevski/231166/cmap_HighResolution_268358401_268617601_4FGL_J1410.1+0202_daily_bin112.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1828       1.0000         .10000E-03   10000.    
     2 'norm      '    56.431       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.533       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.4566       1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.627       1.0000         .10000E-03   10000.    
     7 'norm      '    .23687E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.2222       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.6213       1.0000         .10000E-03   10000.    
    10 'norm      '    1.5961       1.0000         .10000E-03   10000.    
    11 'norm      '    9.1022       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.8823       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    35.552       1.0000         .10000E-03   10000.    
    16 'norm      '    .14733E-02   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1926       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .81059       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=   8374.999     FROM MIGRAD    STATUS=CONVERGED    374 CALLS     1847 TOTAL
                     EDM=   .86E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1827        1.3209       -.70205E-07   -.90267E-05
   2  norm          56.433        31.792       -.36567E-07   -.40587E-05
   3  Prefactor     .10000E-03    1.6038        .11575E-06** at limit **
   4  Prefactor     15.533        15.721       -.63388E-06   -.73744E-05
   5  Prefactor     1.4558        4.2016       -.16264E-05   -.14476E-04
   6  Prefactor     24.628        13.207        .11489E-06   -.14901E-05
   7  norm          .10000E-03    .97202        .46558E-07** at limit **
   8  Prefactor     4.2199        19.605       -.40927E-06    .37596E-06
   9  Prefactor     3.5861        46.037        .10499E-06    .36437E-04
  10  norm          1.5957        4.9052       -.15359E-05   -.26621E-04
  11  norm          9.1057        5.6375       -.10138E-06   -.28709E-04
  12  Prefactor     5.8813        18.316       -.39164E-07   -.57486E-06
  13  norm          .10000E-03    11.281        .18378E-06** at limit **
  14  Prefactor     .10000E-03    29.053        .14432E-06** at limit **
  15  Prefactor     35.585        25.553       -.38835E-06   -.16670E-03
  16  norm          .10000E-03    69.523        .41212E-05** at limit **
  17  Normalizat    1.1925        .17427       -.88640E-06    .68498E-04
  18  Prefactor     .81068        .11183        .87114E-06   -.11086E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.18267
  norm       = 56.4326
  Prefactor  = 0.0001
  Prefactor  = 15.5326
  Prefactor  = 1.45582
  Prefactor  = 24.6276
  norm       = 0.0001
  Prefactor  = 4.21989
  Prefactor  = 3.58605
  norm       = 1.59574
  norm       = 9.10567
  Prefactor  = 5.88131
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.5847
  norm       = 0.0001
  Normalizat = 1.19254
  Prefactor  = 0.810678
 **********
 **   18 **HESSE 
 **********

 FCN=   8374.999     FROM HESSE     STATUS=OK           252 CALLS     2099 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1827        1.3019        .10757E-03   -1.5490    
   2  norm          56.433        31.795        .53401E-04   -1.4204    
   3  Prefactor     .10000E-03    1.6369        .11318E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     15.533        15.754        .50811E-03   -1.4920    
   5  Prefactor     1.4558        4.2227        .30713E-03   -1.5467    
   6  Prefactor     24.628        13.189        .80719E-04   -1.4715    
   7  norm          .10000E-03    4.8803        .16983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.2199        19.496        .19611E-03   -1.5297    
   9  Prefactor     3.5861        46.432        .21231E-03   -1.5329    
  10  norm          1.5957        4.8939        .33571E-03   -1.5455    
  11  norm          9.1057        5.5695        .13284E-03   -1.5104    
  12  Prefactor     5.8813        18.319        .16558E-03   -1.5223    
  13  norm          .10000E-03    11.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    29.112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     35.585        25.670        .67211E-04   -1.4514    
  16  norm          .10000E-03    69.099        .56734E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1925        .20141        .25934E-03   -.86834    
  18  Prefactor     .81068        .12912        .20417E-03   -.99336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57357e-10
Minuit parameter uncertainties:
  1  1.30193
  2  31.805
  3  2.65756e-06
  4  15.7586
  5  4.22353
  6  13.1905
  7  3.36098e-06
  8  18.1503
  9  25.8318
  10  4.89516
  11  5.56983
  12  18.3369
  13  1.1073e-07
  14  1.56946e-05
  15  25.6783
  16  6.49015e-05
  17  0.201541
  18  0.129173
Done.

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

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  4.220e+00  1.815e+01  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:  8.107e-01  1.292e-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.193e+00  2.015e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/231166/likelihoodResults_268358401_268617601_4FGL_J1410.1+0202_daily_bin112.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): 0
logL (Free Index) = 8374.87598579
delta logL = 0.12344688448

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8374.87175655
delta logL = 0.127676124417

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6733       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0718       1.0000          .0000       10.000    
     3 'Normalizat'    1.1745       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81643       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=   8374.872     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      246 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6721        22.170        .21075E-03   -.61692E-03
   2  Index         3.0718        2.4258        .96510E-02   -.22552E-03
   3  Normalizat    1.1746        .19817        .26099E-03   -.65852E-03
   4  Prefactor     .81643        .12962        .20348E-03   -.65622E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.67208
  Index      = 3.07178
  Normalizat = 1.17455
  Prefactor  = 0.816428
 **********
 **   18 **HESSE 
 **********

 FCN=   8374.872     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6721        11.583        .84298E-05   -1.5325    
   2  Index         3.0718        1.6025        .38604E-03   -.39591    
   3  Normalizat    1.1746        .19778        .52198E-04   -.87393    
   4  Prefactor     .81643        .12908        .40696E-04   -.99126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45088e-09
Minuit parameter uncertainties:
  1  11.5905
  2  1.63662
  3  0.197903
  4  0.129126
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/231166': 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) = 8374.87175654
delta logL = 0.127676140999

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  3.672e+00  1.159e+01  1.000e-04  1.000e+04 ( 1.000e-13)
291        Index:  3.072e+00  1.637e+00  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.164e-01  1.291e-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.175e+00  1.979e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 212.529 2.035

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/231166/cmap_HighResolution_268358401_268617601_4FGL_J1410.1+0202_daily_bin112.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.24e-03', job_status='DONE', photon_flux_upper_limit='8.12e-08', time_completed='2021-09-09 03:44:22.078103', job_id='231166', GAL2='0.82', fit_tolerance='1e-08', EG2='1.17', EG='1.19', time_epoch_completed='1631184262.08', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.28e-01', ts2='0.32', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='112' AND source_name='4FGL J1410.1+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 03:44:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 231166: <4FGL_J1410.1+0202_daily_bin112> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1410.1+0202_daily_bin112 212.529 2.0354 268358401 268617601 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 :                                   601.34 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             261.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            819 sec.

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

