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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin44
RA = 343.496, Dec = 16.1506
tmin = 250732801, tmax = 250992001
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='572883', job_status='RUN', time_executed='2021-09-29 01:45:49.861247', time_epoch_executed='1632905149.86' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='44'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/572883

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/572883/ft1_4FGL_J2253.9+1609_daily_bin44.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/572883/ft2_4FGL_J2253.9+1609_daily_bin44.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/572883/ft1_4FGL_J2253.9+1609_daily_bin44.fits outfile=/scratch/kocevski/572883/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin44.fits ra=343.496 dec=16.1506 rad=12.0 tmin=250732801.0 tmax=250992001.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.46
user 1.25
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/572883/ft2_4FGL_J2253.9+1609_daily_bin44.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/572883/ft2_4FGL_J2253.9+1609_daily_bin44.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/572883/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin44.fits evtable="EVENTS" outfile="/scratch/kocevski/572883/ft1_filtered_4FGL_J2253.9+1609_daily_bin44.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/572883/ft1_filtered_4FGL_J2253.9+1609_daily_bin44.fits" evtable="EVENTS" scfile=/scratch/kocevski/572883/ft2_4FGL_J2253.9+1609_daily_bin44.fits sctable="SC_DATA" outfile=/scratch/kocevski/572883/ltcube_250732801_250992001_4FGL_J2253.9+1609_daily_bin44.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/572883/ft2_4FGL_J2253.9+1609_daily_bin44.fits
.....................!
real 12.45
user 12.09
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/572883/ft1_filtered_4FGL_J2253.9+1609_daily_bin44.fits evtable="EVENTS" scfile=/scratch/kocevski/572883/ft2_4FGL_J2253.9+1609_daily_bin44.fits sctable="SC_DATA" expcube=/scratch/kocevski/572883/ltcube_250732801_250992001_4FGL_J2253.9+1609_daily_bin44.fits outfile=/scratch/kocevski/572883/expmap_250732801_250992001_4FGL_J2253.9+1609_daily_bin44.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/572883/ltcube_250732801_250992001_4FGL_J2253.9+1609_daily_bin44.fits
.....................!
real 190.12
user 185.04
sys 4.71

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 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J2253.9+1609 @ 343.496 16.1506

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/572883/ft1_filtered_4FGL_J2253.9+1609_daily_bin44.fits scfile=/scratch/kocevski/572883/ft2_4FGL_J2253.9+1609_daily_bin44.fits outfile=/scratch/kocevski/572883/cmap_250732801_250992001_4FGL_J2253.9+1609_daily_bin44.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=343.496 yref=16.1506 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/572883/ft1_filtered_4FGL_J2253.9+1609_daily_bin44.fits scfile=/scratch/kocevski/572883/ft2_4FGL_J2253.9+1609_daily_bin44.fits outfile=/scratch/kocevski/572883/cmap_HighResolution_250732801_250992001_4FGL_J2253.9+1609_daily_bin44.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=343.496 yref=16.1506 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/572883/ft1_filtered_4FGL_J2253.9+1609_daily_bin44.fits evtable="EVENTS" scfile=/scratch/kocevski/572883/ft2_4FGL_J2253.9+1609_daily_bin44.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/572883/Model_4FGL_J2253.9+1609_daily_bin44.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/572883/ft1_filtered_4FGL_J2253.9+1609_daily_bin44.fits.....................!
real 120.89
user 119.37
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/572883/ft1_filtered_4FGL_J2253.9+1609_daily_bin44.fits', '/scratch/kocevski/572883/ft2_4FGL_J2253.9+1609_daily_bin44.fits', expMap='/scratch/kocevski/572883/expmap_250732801_250992001_4FGL_J2253.9+1609_daily_bin44.fits', expCube='/scratch/kocevski/572883/ltcube_250732801_250992001_4FGL_J2253.9+1609_daily_bin44.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/572883/Model_4FGL_J2253.9+1609_daily_bin44.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2253.9+1609'

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  5.306e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.020e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/572883/ft1_filtered_4FGL_J2253.9+1609_daily_bin44.fits
Spacecraft file(s): /scratch/kocevski/572883/ft2_4FGL_J2253.9+1609_daily_bin44.fits
Exposure map: /scratch/kocevski/572883/expmap_250732801_250992001_4FGL_J2253.9+1609_daily_bin44.fits
Exposure cube: /scratch/kocevski/572883/ltcube_250732801_250992001_4FGL_J2253.9+1609_daily_bin44.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/572883/Model_4FGL_J2253.9+1609_daily_bin44.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) = 11411.1506277

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .32452E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .25485       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.2178       1.0000         .10000E-03   10000.    
     7 'norm      '    .10074E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    47.524       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.3689       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.6985       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.0318       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.790       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.0910       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.0330       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    11.924       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    20.400       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .98188       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0157       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11411.10     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2324 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.795        .63070E-06** at limit **
   2  norm          .10000E-03    1.8913        .36240E-07** at limit **
   3  Prefactor     .10000E-03    6.8315        .13953E-07** at limit **
   4  Prefactor     .10007E-03    4.7886       -.11592E-05** at limit **
   5  Prefactor     .25487        .13415        .17171E-07    .15632E-03
   6  Prefactor     7.2177        4.8376       -.88211E-07    .32473E-04
   7  norm          .10000E-03    .82304        .16147E-07** at limit **
   8  Prefactor     47.512        29.488       -.22986E-05   -.42315E-03
   9  Prefactor     .10000E-03    6.3165        .24304E-06** at limit **
  10  Prefactor     6.3758        16.931        .23178E-05    .17459E-03
  11  Prefactor     2.6982        .25469        .89508E-08    .26738E-03
  12  Prefactor     7.0326        9.9917        .33267E-05   -.21022E-03
  13  Prefactor     .10000E-03    7.6655       -.40637E-06** at limit **
  14  Prefactor     11.790        7.8462        .28158E-07   -.99709E-05
  15  Prefactor     .10000E-03    8.2545       -.36906E-06** at limit **
  16  Prefactor     8.0865        15.887       -.12964E-05   -.15198E-03
  17  Prefactor     .10000E-03    4.5299       -.48174E-06** at limit **
  18  Prefactor     7.0327        8.0165        .11478E-06   -.14454E-04
  19  Prefactor     .10000E-03    5.2766        .37556E-06** at limit **
  20  norm          11.922        7.2759        .53200E-07   -.19290E-04
  21  Prefactor     .10000E-03    4.1156        .16663E-06** at limit **
  22  norm          20.399        11.977       -.45134E-07   -.43992E-04
  23  Normalizat    .98205        .19374       -.45592E-06    .15720E-03
  24  Prefactor     1.0156        .10710       -.13521E-06    .18992E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100074
  Prefactor  = 0.254875
  Prefactor  = 7.21775
  norm       = 0.0001
  Prefactor  = 47.5119
  Prefactor  = 0.0001
  Prefactor  = 6.37583
  Prefactor  = 2.69824
  Prefactor  = 7.03257
  Prefactor  = 0.0001
  Prefactor  = 11.7902
  Prefactor  = 0.0001
  Prefactor  = 8.0865
  Prefactor  = 0.0001
  Prefactor  = 7.0327
  Prefactor  = 0.0001
  norm       = 11.9216
  Prefactor  = 0.0001
  norm       = 20.3986
  Normalizat = 0.982053
  Prefactor  = 1.0156
 **********
 **   18 **HESSE 
 **********

 FCN=   11411.10     FROM HESSE     STATUS=OK           397 CALLS     2721 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.9152        .14342E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.8865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10007E-03    23.585        .42960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .25487        .13319        .27037E-04   -1.5607    
   6  Prefactor     7.2177        4.8378        .74651E-03   -1.5171    
   7  norm          .10000E-03    2.1025        .18802E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     47.512        30.998        .58165E-04   -1.4328    
   9  Prefactor     .10000E-03    6.4395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.3758        17.214        .15905E-03   -1.5203    
  11  Prefactor     2.6982        .25660        .14992E-04   -1.5379    
  12  Prefactor     7.0326        10.497        .75641E-03   -1.5178    
  13  Prefactor     .10000E-03    7.6854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.790        7.8444        .11667E-03   -1.5021    
  15  Prefactor     .10000E-03    8.3613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.0865        16.017        .14095E-03   -1.5139    
  17  Prefactor     .10000E-03    4.7254        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.0327        8.0047        .15127E-03   -1.5178    
  19  Prefactor     .10000E-03    5.3085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          11.922        7.2634        .11601E-03   -1.5017    
  21  Prefactor     .10000E-03    4.2279        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          20.399        11.979        .88680E-04   -1.4804    
  23  Normalizat    .98205        .22424        .36947E-03   -.93634    
  24  Prefactor     1.0156        .12625        .20654E-03   -.92211    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83395e-09
Minuit parameter uncertainties:
  1  8.50122e-05
  2  3.92104e-06
  3  1.4079e-06
  4  0.00264116
  5  0.133187
  6  4.83802
  7  4.46193e-06
  8  31.0085
  9  2.12101e-05
  10  17.2276
  11  0.256601
  12  10.4995
  13  4.36531e-05
  14  7.84506
  15  4.31022e-05
  16  16.0254
  17  3.01955e-05
  18  8.00589
  19  3.2537e-05
  20  7.26394
  21  1.05724e-05
  22  11.9809
  23  0.224451
  24  0.126288
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  2.698e+00  2.566e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.020e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.016e+00  1.263e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  9.821e-01  2.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 363.17
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 9.84e-07 +/- 9.35e-08
Energy Flux (Fixed Index): 3.16e-04 +/- 3.00e-05

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) = 11409.2347714
delta logL = 1.86101554226

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11409.1884982
delta logL = 1.90728865652

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8848       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.2312       1.0000          .0000       10.000    
     3 'Normalizat'    .87536       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0599       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11409.19     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      205 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8848        .25693        .34260E-02   -.75917E-04
   2  Index1        2.2312        .10727        .59890E-01   -.78751E-04
   3  Normalizat    .87535        .19433        .87486E-01    .42423E-04
   4  Prefactor     1.0600        .10909        .39364E-01    .13286E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.88477
  Index1     = 2.23117
  Normalizat = 0.87535
  Prefactor  = 1.05995
 **********
 **   18 **HESSE 
 **********

 FCN=   11409.19     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8848        .26472        .15143E-04   -1.5368    
   2  Index1        2.2312        .11134        .26343E-03   -.58688    
   3  Normalizat    .87535        .22800        .38744E-03   -.97332    
   4  Prefactor     1.0600        .12780        .20263E-03   -.90757    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23668e-14
Minuit parameter uncertainties:
  1  0.264721
  2  0.111352
  3  0.228248
  4  0.127835
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/572883': 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) = 11409.1884974
delta logL = 1.90728948237

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  2.885e+00  2.647e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.231e+00  1.114e-01  0.000e+00  1.000e+01 (-1.000e+00)
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.060e+00  1.278e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  8.754e-01  2.282e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 373.30
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.23 +/- 0.11
Photon Flux (Free Index): 1.08e-06 +/- 1.06e-07
Energy Flux (Free Index): 2.89e-04 +/- 2.84e-05

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/572883/cmap_HighResolution_250732801_250992001_4FGL_J2253.9+1609_daily_bin44.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.84e-07', energy_flux2='2.89e-04', photon_flux_error='9.35e-08', dlogl='1.91e+00', energy_flux='3.16e-04', photon_flux2='1.08e-06', job_status='DONE', time_completed='2021-09-29 01:59:12.557345', photon_index_error2='0.11', photon_index2='2.23', ts='363.17', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.84e-05', EG='0.98', time_epoch_completed='1632905952.56', return_code='0', job_id='572883', GAL2='1.06', EG2='0.88', return_code2='0', energy_flux_error='3.00e-05', photon_flux_error2='1.06e-07', ts2='373.30', photon_index='2.02' WHERE bin_id='44' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:59:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 572883: <4FGL_J2253.9+1609_daily_bin44> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin44> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 01:45:32 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 01:45:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 01:45:33 2021
Terminated at Wed Sep 29 01:59:12 2021
Results reported at Wed Sep 29 01:59:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin44 343.496 16.1506 250732801 250992001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2253.9+1609 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   799.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             378.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            820 sec.

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

