/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 4 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 = 7446
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2253.9+1609_daily_bin921
RA = 343.496, Dec = 16.1506
tmin = 478051201, tmax = 478310401
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='578249', job_status='RUN', time_executed='2021-09-29 02:00:31.212547', time_epoch_executed='1632906031.21' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='921'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/578249

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/578249/ft1_4FGL_J2253.9+1609_daily_bin921.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/578249/ft2_4FGL_J2253.9+1609_daily_bin921.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/578249/ft1_4FGL_J2253.9+1609_daily_bin921.fits outfile=/scratch/kocevski/578249/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin921.fits ra=343.496 dec=16.1506 rad=12.0 tmin=478051201.0 tmax=478310401.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 3.55
user 3.30
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/578249/ft2_4FGL_J2253.9+1609_daily_bin921.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/578249/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin921.fits evtable="EVENTS" outfile="/scratch/kocevski/578249/ft1_filtered_4FGL_J2253.9+1609_daily_bin921.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.51
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/578249/ft1_filtered_4FGL_J2253.9+1609_daily_bin921.fits" evtable="EVENTS" scfile=/scratch/kocevski/578249/ft2_4FGL_J2253.9+1609_daily_bin921.fits sctable="SC_DATA" outfile=/scratch/kocevski/578249/ltcube_478051201_478310401_4FGL_J2253.9+1609_daily_bin921.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/578249/ft2_4FGL_J2253.9+1609_daily_bin921.fits
.....................!
real 12.11
user 11.74
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/578249/ft1_filtered_4FGL_J2253.9+1609_daily_bin921.fits evtable="EVENTS" scfile=/scratch/kocevski/578249/ft2_4FGL_J2253.9+1609_daily_bin921.fits sctable="SC_DATA" expcube=/scratch/kocevski/578249/ltcube_478051201_478310401_4FGL_J2253.9+1609_daily_bin921.fits outfile=/scratch/kocevski/578249/expmap_478051201_478310401_4FGL_J2253.9+1609_daily_bin921.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/578249/ltcube_478051201_478310401_4FGL_J2253.9+1609_daily_bin921.fits
.....................!
real 190.34
user 185.53
sys 4.44

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/578249/ft1_filtered_4FGL_J2253.9+1609_daily_bin921.fits scfile=/scratch/kocevski/578249/ft2_4FGL_J2253.9+1609_daily_bin921.fits outfile=/scratch/kocevski/578249/cmap_478051201_478310401_4FGL_J2253.9+1609_daily_bin921.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/578249/ft1_filtered_4FGL_J2253.9+1609_daily_bin921.fits scfile=/scratch/kocevski/578249/ft2_4FGL_J2253.9+1609_daily_bin921.fits outfile=/scratch/kocevski/578249/cmap_HighResolution_478051201_478310401_4FGL_J2253.9+1609_daily_bin921.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.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/578249/ft1_filtered_4FGL_J2253.9+1609_daily_bin921.fits', '/scratch/kocevski/578249/ft2_4FGL_J2253.9+1609_daily_bin921.fits', expMap='/scratch/kocevski/578249/expmap_478051201_478310401_4FGL_J2253.9+1609_daily_bin921.fits', expCube='/scratch/kocevski/578249/ltcube_478051201_478310401_4FGL_J2253.9+1609_daily_bin921.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/578249/Model_4FGL_J2253.9+1609_daily_bin921.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/578249/ft1_filtered_4FGL_J2253.9+1609_daily_bin921.fits
Spacecraft file(s): /scratch/kocevski/578249/ft2_4FGL_J2253.9+1609_daily_bin921.fits
Exposure map: /scratch/kocevski/578249/expmap_478051201_478310401_4FGL_J2253.9+1609_daily_bin921.fits
Exposure cube: /scratch/kocevski/578249/ltcube_478051201_478310401_4FGL_J2253.9+1609_daily_bin921.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/578249/Model_4FGL_J2253.9+1609_daily_bin921.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) = 12050.8586192

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.851       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.508       1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.661       1.0000         .10000E-03   10000.    
     7 'norm      '    6.3922       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.3154       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.5808       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .21975E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.287       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.3858       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.2467       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.0040       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    34.292       1.0000         .10000E-03   10000.    
    20 'norm      '    .75562       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    7.2948       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .74329       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1623       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=   12050.81     FROM MIGRAD    STATUS=CONVERGED    550 CALLS     2772 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    48.728       -.14186E-06** at limit **
   2  norm          .10000E-03    3.6485       -.55358E-07** at limit **
   3  Prefactor     .10000E-03    5.1537       -.40451E-07** at limit **
   4  Prefactor     21.850        15.042       -.66790E-07    .77674E-04
   5  Prefactor     10.508        .62980       -.17844E-08   -.99047E-04
   6  Prefactor     20.661        11.279        .47771E-07   -.82687E-04
   7  norm          6.3920        2.6512       -.17944E-07    .20471E-04
   8  Prefactor     .10000E-03    13.767        .27715E-07** at limit **
   9  Prefactor     3.3190        10.780        .47798E-06    .38049E-04
  10  Prefactor     .10000E-03    9.0060       -.35238E-07** at limit **
  11  Prefactor     4.5808        .36747       -.35641E-08   -.13427E-03
  12  Prefactor     .10002E-03    9.1613       -.32679E-06** at limit **
  13  Prefactor     20.310        41.990       -.18206E-05    .21962E-03
  14  Prefactor     8.3847        10.395        .11679E-06   -.97500E-04
  15  Prefactor     .10000E-03    3.4872        .22942E-07** at limit **
  16  Prefactor     8.2493        20.851        .36253E-06   -.29692E-04
  17  Prefactor     5.0039        8.9012        .39212E-06   -.16213E-03
  18  Prefactor     .10000E-03    4.7364        .14282E-06** at limit **
  19  Prefactor     34.286        29.110       -.14514E-06   -.10302E-03
  20  norm          .75548        12.124        .47507E-05    .11087E-03
  21  Prefactor     .10000E-03    2.3940        .63619E-07** at limit **
  22  norm          7.2928        16.956       -.23856E-06    .65818E-04
  23  Normalizat    .74329        .27970        .56564E-06   -.44491E-04
  24  Prefactor     1.1623        .13969       -.19659E-06   -.28238E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.8496
  Prefactor  = 10.5084
  Prefactor  = 20.6608
  norm       = 6.39202
  Prefactor  = 0.0001
  Prefactor  = 3.31899
  Prefactor  = 0.0001
  Prefactor  = 4.58079
  Prefactor  = 0.00010002
  Prefactor  = 20.3095
  Prefactor  = 8.38466
  Prefactor  = 0.0001
  Prefactor  = 8.24934
  Prefactor  = 5.00393
  Prefactor  = 0.0001
  Prefactor  = 34.2863
  norm       = 0.755484
  Prefactor  = 0.0001
  norm       = 7.29281
  Normalizat = 0.743293
  Prefactor  = 1.16234
 **********
 **   18 **HESSE 
 **********

 FCN=   12050.81     FROM HESSE     STATUS=OK           407 CALLS     3179 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    49.247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.7329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.1587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.850        15.031        .85688E-04   -1.4773    
   5  Prefactor     10.508        .62943        .20231E-04   -1.5060    
   6  Prefactor     20.661        11.287        .88117E-04   -1.4799    
   7  norm          6.3920        2.6448        .10765E-03   -1.5202    
   8  Prefactor     .10000E-03    13.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.3190        10.730        .22232E-03   -1.5344    
  10  Prefactor     .10000E-03    9.0119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.5808        .36791        .17625E-04   -1.5280    
  12  Prefactor     .10002E-03    12.021        .89720E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.310        42.191        .88925E-04   -1.4806    
  14  Prefactor     8.3847        10.393        .13844E-03   -1.5129    
  15  Prefactor     .10000E-03    3.4891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.2493        20.850        .13961E-03   -1.5133    
  17  Prefactor     5.0039        8.8141        .17977E-03   -1.5261    
  18  Prefactor     .10000E-03    4.7479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     34.286        28.970        .68432E-04   -1.4536    
  20  norm          .75548        12.058        .49094E-03   -1.5534    
  21  Prefactor     .10000E-03    2.3995        .16573E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          7.2928        16.950        .14851E-03   -1.5168    
  23  Normalizat    .74329        .31200        .56338E-03   -1.0221    
  24  Prefactor     1.1623        .15969        .25867E-03   -.87498    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.52008e-10
Minuit parameter uncertainties:
  1  3.52761e-05
  2  1.42733e-06
  3  6.20889e-06
  4  15.0333
  5  0.629427
  6  11.2881
  7  2.64481
  8  1.43924e-05
  9  10.7365
  10  7.94303e-06
  11  0.367907
  12  0.000969103
  13  42.2526
  14  10.395
  15  3.38305e-06
  16  20.8684
  17  8.81638
  18  2.83514e-05
  19  28.9822
  20  6.03749
  21  1.24069e-05
  22  16.9611
  23  0.312748
  24  0.159753
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  4.581e+00  3.679e-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.162e+00  1.598e-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:  7.433e-01  3.127e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 604.29
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 1.67e-06 +/- 1.34e-07
Energy Flux (Fixed Index): 5.36e-04 +/- 4.31e-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) = 12050.4468892
delta logL = 0.36755222855

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12050.4449251
delta logL = 0.369516389719

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4423       1.0000         .10000E-03   10000.    
     2 'Index1    '    1.9434       1.0000          .0000       10.000    
     3 'Normalizat'    .79103       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1438       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=   12050.44     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      214 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4423        .37751        .39575E-02   -.12388E-03
   2  Index1        1.9434        .83957E-01    .48016E-01   -.95938E-04
   3  Normalizat    .79096        .24780        .12363        .57816E-04
   4  Prefactor     1.1438        .13716        .58939E-01    .15217E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.44226
  Index1     = 1.94336
  Normalizat = 0.790964
  Prefactor  = 1.14384
 **********
 **   18 **HESSE 
 **********

 FCN=   12050.44     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .55E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4423        .39330        .17488E-04   -1.5286    
   2  Index1        1.9434        .87910E-01    .21168E-03   -.65774    
   3  Normalizat    .79096        .28371        .54877E-03   -1.0040    
   4  Prefactor     1.1438        .15763        .26059E-03   -.88078    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.50476e-14
Minuit parameter uncertainties:
  1  0.393298
  2  0.087917
  3  0.284241
  4  0.157699
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/578249': 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) = 12050.444925
delta logL = 0.369516443208

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  4.442e+00  3.933e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  1.943e+00  8.792e-02  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.144e+00  1.577e-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:  7.910e-01  2.842e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 583.20
Ra Dec: 343.496 16.151
Photon Index (Free Index): 1.94 +/- 0.09
Photon Flux (Free Index): 1.61e-06 +/- 1.45e-07
Energy Flux (Free Index): 5.59e-04 +/- 5.28e-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/578249/cmap_HighResolution_478051201_478310401_4FGL_J2253.9+1609_daily_bin921.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.67e-06', energy_flux2='5.59e-04', photon_flux_error='1.34e-07', dlogl='3.70e-01', energy_flux='5.36e-04', photon_flux2='1.61e-06', job_status='DONE', time_completed='2021-09-29 02:16:14.355162', photon_index_error2='0.09', photon_index2='1.94', ts='604.29', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', energy_flux_error2='5.28e-05', EG='0.74', time_epoch_completed='1632906974.36', return_code='0', job_id='578249', GAL2='1.14', EG2='0.79', return_code2='0', energy_flux_error='4.31e-05', photon_flux_error2='1.45e-07', ts2='583.20', photon_index='2.02' WHERE bin_id='921' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:16:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 578249: <4FGL_J2253.9+1609_daily_bin921> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin921> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:00:18 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:00:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 02:00:19 2021
Terminated at Wed Sep 29 02:16:15 2021
Results reported at Wed Sep 29 02:16:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin921 343.496 16.1506 478051201 478310401 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 :                                   936.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             373.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            957 sec.

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

