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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1575
RA = 343.496, Dec = 16.1506
tmin = 647568001, tmax = 647827201
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='581491', job_status='RUN', time_executed='2021-09-29 02:10:45.295818', time_epoch_executed='1632906645.3' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1575'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/581491

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/581491/ft1_4FGL_J2253.9+1609_daily_bin1575.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/581491/ft2_4FGL_J2253.9+1609_daily_bin1575.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/581491/ft1_4FGL_J2253.9+1609_daily_bin1575.fits outfile=/scratch/kocevski/581491/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1575.fits ra=343.496 dec=16.1506 rad=12.0 tmin=647568001.0 tmax=647827201.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.50
user 3.29
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/581491/ft2_4FGL_J2253.9+1609_daily_bin1575.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/581491/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1575.fits evtable="EVENTS" outfile="/scratch/kocevski/581491/ft1_filtered_4FGL_J2253.9+1609_daily_bin1575.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.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/581491/ft1_filtered_4FGL_J2253.9+1609_daily_bin1575.fits" evtable="EVENTS" scfile=/scratch/kocevski/581491/ft2_4FGL_J2253.9+1609_daily_bin1575.fits sctable="SC_DATA" outfile=/scratch/kocevski/581491/ltcube_647568001_647827201_4FGL_J2253.9+1609_daily_bin1575.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/581491/ft2_4FGL_J2253.9+1609_daily_bin1575.fits
.....................!
real 14.78
user 14.46
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/581491/ft1_filtered_4FGL_J2253.9+1609_daily_bin1575.fits evtable="EVENTS" scfile=/scratch/kocevski/581491/ft2_4FGL_J2253.9+1609_daily_bin1575.fits sctable="SC_DATA" expcube=/scratch/kocevski/581491/ltcube_647568001_647827201_4FGL_J2253.9+1609_daily_bin1575.fits outfile=/scratch/kocevski/581491/expmap_647568001_647827201_4FGL_J2253.9+1609_daily_bin1575.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/581491/ltcube_647568001_647827201_4FGL_J2253.9+1609_daily_bin1575.fits
.....................!
real 191.77
user 187.20
sys 4.18

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/581491/ft1_filtered_4FGL_J2253.9+1609_daily_bin1575.fits scfile=/scratch/kocevski/581491/ft2_4FGL_J2253.9+1609_daily_bin1575.fits outfile=/scratch/kocevski/581491/cmap_647568001_647827201_4FGL_J2253.9+1609_daily_bin1575.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/581491/ft1_filtered_4FGL_J2253.9+1609_daily_bin1575.fits scfile=/scratch/kocevski/581491/ft2_4FGL_J2253.9+1609_daily_bin1575.fits outfile=/scratch/kocevski/581491/cmap_HighResolution_647568001_647827201_4FGL_J2253.9+1609_daily_bin1575.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.1837       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.7898       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .82264E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .20091       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.9032       1.0000         .10000E-03   10000.    
     7 'norm      '    2.4763       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10503E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.347       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .14616E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .64174       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.0263       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.702       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.3608       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.2196       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .50043E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    22.926       1.0000         .10000E-03   10000.    
    20 'norm      '    1.5760       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .52526E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .99623       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94590       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=   8532.489     FROM MIGRAD    STATUS=CONVERGED    558 CALLS     2432 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.298        .12127E-05** at limit **
   2  norm          2.1841        3.0480        .94779E-07    .93127E-04
   3  Prefactor     7.7889        10.591       -.61876E-06   -.12060E-03
   4  Prefactor     .10076E-03    6.4913       -.16568E-05** at limit **
   5  Prefactor     .20089        .14172       -.45224E-08   -.32281E-03
   6  Prefactor     5.9028        6.7682       -.13321E-06   -.90727E-04
   7  norm          2.4763        1.6339        .11314E-07    .16002E-03
   8  Prefactor     .10000E-03    71.848        .11025E-05** at limit **
   9  Prefactor     14.346        10.757       -.95888E-07    .10648E-03
  10  Prefactor     .10002E-03    88.712        .96801E-05** at limit **
  11  Prefactor     .64179        .16630       -.30380E-07   -.10549E-02
  12  Prefactor     5.0259        6.3567        .14480E-05    .62677E-03
  13  Prefactor     14.698        24.585       -.57143E-06   -.20311E-04
  14  Prefactor     7.3594        6.3180        .14625E-05   -.32604E-03
  15  Prefactor     .10000E-03    11.191       -.42965E-06** at limit **
  16  Prefactor     .10000E-03    13.464        .60868E-06** at limit **
  17  Prefactor     7.2189        5.6222       -.39785E-06   -.23993E-03
  18  Prefactor     .10020E-03    5.8670        .15143E-06** at limit **
  19  Prefactor     22.923        18.073       -.28330E-09    .38707E-04
  20  norm          1.5772        7.4241       -.21204E-05   -.21512E-03
  21  Prefactor     .10014E-03    6.0189       -.20731E-05** at limit **
  22  norm          .10000E-03    4.0087       -.16311E-06** at limit **
  23  Normalizat    .99630        .20193        .18687E-05    .44272E-03
  24  Prefactor     .94594        .10896       -.54026E-06    .71261E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.18413
  Prefactor  = 7.78889
  Prefactor  = 0.00010076
  Prefactor  = 0.200892
  Prefactor  = 5.9028
  norm       = 2.4763
  Prefactor  = 0.0001
  Prefactor  = 14.3465
  Prefactor  = 0.00010002
  Prefactor  = 0.641786
  Prefactor  = 5.02592
  Prefactor  = 14.6983
  Prefactor  = 7.35937
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.21893
  Prefactor  = 0.000100198
  Prefactor  = 22.9226
  norm       = 1.57719
  Prefactor  = 0.000100138
  norm       = 0.0001
  Normalizat = 0.9963
  Prefactor  = 0.945936
 **********
 **   18 **HESSE 
 **********

 FCN=   8532.489     FROM HESSE     STATUS=OK           425 CALLS     2857 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1841        3.0350        .18484E-03   -1.5412    
   3  Prefactor     7.7889        10.566        .14367E-03   -1.5150    
   4  Prefactor     .10076E-03    8.8179        .68935E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .20089        .13835        .27216E-04   -1.5618    
   6  Prefactor     5.9028        6.7521        .16528E-03   -1.5222    
   7  norm          2.4763        1.6317        .91699E-04   -1.5393    
   8  Prefactor     .10000E-03    72.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.346        10.746        .10575E-03   -1.4950    
  10  Prefactor     .10002E-03    91.154        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .64179        .16638        .17957E-04   -1.5548    
  12  Prefactor     5.0259        6.3957        .17936E-03   -1.5260    
  13  Prefactor     14.698        24.621        .10446E-03   -1.4941    
  14  Prefactor     7.3594        7.4233        .73916E-03   -1.5165    
  15  Prefactor     .10000E-03    11.487        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.2189        5.6254        .14928E-03   -1.5171    
  18  Prefactor     .10020E-03    7.1155        .70317E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     22.923        18.067        .83656E-04   -1.4750    
  20  norm          1.5772        8.6615        .33845E-03   -1.5457    
  21  Prefactor     .10014E-03    21.025        .37510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    4.0133        .18064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .99630        .23608        .32706E-03   -.93154    
  24  Prefactor     .94594        .12900        .19084E-03   -.94554    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.46559e-09
Minuit parameter uncertainties:
  1  0.00015693
  2  3.03523
  3  10.5686
  4  0.00517861
  5  0.138354
  6  6.75301
  7  1.6317
  8  0.00026866
  9  10.7477
  10  0.00270285
  11  0.166378
  12  6.39653
  13  24.6375
  14  7.42418
  15  5.07659e-05
  16  6.07607e-05
  17  5.62578
  18  0.00237515
  19  18.0718
  20  7.39352
  21  0.00340611
  22  1.08708e-05
  23  0.236329
  24  0.129039
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  6.418e-01  1.664e-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:  9.459e-01  1.290e-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.963e-01  2.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 30.62
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 2.34e-07 +/- 6.06e-08
Energy Flux (Fixed Index): 7.51e-05 +/- 1.95e-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) = 8532.47810373
delta logL = 0.0111963138133

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8532.47774508
delta logL = 0.0115549656657

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65664       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.0632       1.0000          .0000       10.000    
     3 'Normalizat'    .98875       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94885       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=   8532.478     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      210 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .65666        .16982        .40666E-02    .61848E-03
   2  Index1        2.0632        .24650        .12594       -.12470E-03
   3  Normalizat    .98876        .19067        .74150E-01    .24820E-04
   4  Prefactor     .94884        .10801        .45625E-01    .51303E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.65666
  Index1     = 2.06317
  Normalizat = 0.988757
  Prefactor  = 0.948842
 **********
 **   18 **HESSE 
 **********

 FCN=   8532.478     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .65666        .18914        .18042E-04   -1.5546    
   2  Index1        2.0632        .28568        .53900E-02   -.62780    
   3  Normalizat    .98876        .22908        .32811E-03   -.93408    
   4  Prefactor     .94884        .12897        .19057E-03   -.94455    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96427e-12
Minuit parameter uncertainties:
  1  0.189138
  2  0.28592
  3  0.229312
  4  0.129007
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/581491': 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) = 8532.47774507
delta logL = 0.0115549723796

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  6.567e-01  1.891e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.063e+00  2.859e-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:  9.488e-01  1.290e-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.888e-01  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 30.60
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.06 +/- 0.29
Photon Flux (Free Index): 2.40e-07 +/- 7.23e-08
Energy Flux (Free Index): 7.41e-05 +/- 2.02e-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/581491/cmap_HighResolution_647568001_647827201_4FGL_J2253.9+1609_daily_bin1575.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.34e-07', energy_flux2='7.41e-05', photon_flux_error='6.06e-08', dlogl='1.16e-02', energy_flux='7.51e-05', photon_flux2='2.40e-07', job_status='DONE', time_completed='2021-09-29 02:21:57.592805', photon_index_error2='0.29', photon_index2='2.06', ts='30.62', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='2.02e-05', EG='1.00', time_epoch_completed='1632907317.59', return_code='0', job_id='581491', GAL2='0.95', EG2='0.99', return_code2='0', energy_flux_error='1.95e-05', photon_flux_error2='7.23e-08', ts2='30.60', photon_index='2.02' WHERE bin_id='1575' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:21:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 581491: <4FGL_J2253.9+1609_daily_bin1575> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1575> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep 29 02:10:30 2021
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:10:32 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:10:32 2021
Terminated at Wed Sep 29 02:21:58 2021
Results reported at Wed Sep 29 02:21:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1575 343.496 16.1506 647568001 647827201 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 :                                   668.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             373.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            688 sec.

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

