aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 67 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1717
RA = 343.496, Dec = 16.1506
tmin = 684374401, tmax = 684633601
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='253572', job_status='RUN', time_executed='2022-09-17 00:22:01.664842', time_epoch_executed='1663399321.66' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253572

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253572/ft1_4FGL_J2253.9+1609_daily_bin1717.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253572/ft2_4FGL_J2253.9+1609_daily_bin1717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253572/ft1_4FGL_J2253.9+1609_daily_bin1717.fits outfile=/scratch/kocevski/253572/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1717.fits ra=343.496 dec=16.1506 rad=12.0 tmin=684374401.0 tmax=684633601.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 5.01
user 4.76
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/253572/ft2_4FGL_J2253.9+1609_daily_bin1717.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/253572/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1717.fits evtable="EVENTS" outfile="/scratch/kocevski/253572/ft1_filtered_4FGL_J2253.9+1609_daily_bin1717.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.34
sys 0.15

Number of photons that the gtmktime cut: 694

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/253572/ft1_filtered_4FGL_J2253.9+1609_daily_bin1717.fits" evtable="EVENTS" scfile=/scratch/kocevski/253572/ft2_4FGL_J2253.9+1609_daily_bin1717.fits sctable="SC_DATA" outfile=/scratch/kocevski/253572/ltcube_684374401_684633601_4FGL_J2253.9+1609_daily_bin1717.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/253572/ft2_4FGL_J2253.9+1609_daily_bin1717.fits
.....................!
real 16.06
user 15.69
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253572/ft1_filtered_4FGL_J2253.9+1609_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/253572/ft2_4FGL_J2253.9+1609_daily_bin1717.fits sctable="SC_DATA" expcube=/scratch/kocevski/253572/ltcube_684374401_684633601_4FGL_J2253.9+1609_daily_bin1717.fits outfile=/scratch/kocevski/253572/expmap_684374401_684633601_4FGL_J2253.9+1609_daily_bin1717.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/253572/ltcube_684374401_684633601_4FGL_J2253.9+1609_daily_bin1717.fits
.....................!
real 190.97
user 185.40
sys 5.23

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/253572/ft1_filtered_4FGL_J2253.9+1609_daily_bin1717.fits scfile=/scratch/kocevski/253572/ft2_4FGL_J2253.9+1609_daily_bin1717.fits outfile=/scratch/kocevski/253572/cmap_684374401_684633601_4FGL_J2253.9+1609_daily_bin1717.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.57
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/253572/ft1_filtered_4FGL_J2253.9+1609_daily_bin1717.fits scfile=/scratch/kocevski/253572/ft2_4FGL_J2253.9+1609_daily_bin1717.fits outfile=/scratch/kocevski/253572/cmap_HighResolution_684374401_684633601_4FGL_J2253.9+1609_daily_bin1717.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26146E-04   1.0000          .0000       .10000E+07
     2 'norm      '    12.786       1.0000          .0000       .10000E+07
     3 'Prefactor '    .95845E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.9026       1.0000          .0000       .10000E+07
     5 'Prefactor '    .86405       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .79261E-01   1.0000         .10000E-03   10000.    
     7 'norm      '    .47272       1.0000          .0000       .10000E+07
     8 'Prefactor '    102.75       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.9361       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.2868       1.0000         .10000E-03   10000.    
    11 'Prefactor '    64.412       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14589E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    32.737       1.0000          .0000       .10000E+07
    14 'Prefactor '    4.2858       1.0000          .0000       .10000E+07
    15 'Prefactor '    12.435       1.0000          .0000       .10000E+07
    16 'Prefactor '    .15709E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .70576E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    4.8856       1.0000          .0000       .10000E+07
    19 'norm      '    28.654       1.0000          .0000       .10000E+07
    20 'Normalizat'    .36520       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2502       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7694.669     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1730 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17570E-05    5.0280       -.63705E-06** at limit **
   2  norm          12.782        7.4381       -.14659E-06    .62872E-03
   3  Prefactor     .67457E-06    15.017        .20667E-07** at limit **
   4  Prefactor     4.9295        7.5243       -.18913E-06    .54300E-03
   5  Prefactor     .86331        .27446        .36894E-06   -.48292E-03
   6  Prefactor     .87023E-01    5.2120        .27629E-05    .12455E-02
   7  norm          .47265        1.2749        .29044E-06   -.86979E-03
   8  Prefactor     103.48        58.705       -.10611E-06   -.48281E-01
   9  Prefactor     6.9604        14.495        .21284E-06   -.10701E-01
  10  Prefactor     3.2851        .37383        .17951E-06   -.45398E-03
  11  Prefactor     64.328        14.025        .13104E-07   -.74607E-01
  12  Prefactor     .13600E-07    11.185       -.43975E-06** at limit **
  13  Prefactor     32.112        37.839        .69461E-06   -.18880E-01
  14  Prefactor     4.2626        7.4820       -.58678E-07   -.90170E-03
  15  Prefactor     12.511        12.361       -.26144E-06   -.37941E-02
  16  Prefactor     .89795E-06    6.5506       -.88224E-06** at limit **
  17  norm          .30492E-05    10.452       -.10677E-05** at limit **
  18  Prefactor     4.8455        8.9865       -.49850E-06   -.10926E-02
  19  norm          28.589        2.6090       -.34134E-07   -.93836E-01
  20  Normalizat    .36581        .28782       -.21410E-04    .11257E-04
  21  Prefactor     1.2503        .15687        .50481E-05   -.15875E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.75698e-06
  norm       = 12.782
  Prefactor  = 6.74572e-07
  Prefactor  = 4.92952
  Prefactor  = 0.86331
  Prefactor  = 0.0870233
  norm       = 0.472654
  Prefactor  = 103.48
  Prefactor  = 6.96036
  Prefactor  = 3.28515
  Prefactor  = 64.3277
  Prefactor  = 1.36002e-08
  Prefactor  = 32.1119
  Prefactor  = 4.26257
  Prefactor  = 12.5113
  Prefactor  = 8.97948e-07
  norm       = 3.04923e-06
  Prefactor  = 4.84551
  norm       = 28.5886
  Normalizat = 0.365805
  Prefactor  = 1.25026
 **********
 **   18 **HESSE 
 **********

 FCN=   7694.669     FROM HESSE     STATUS=OK           369 CALLS     2099 TOTAL
                     EDM=   .87E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17570E-05    18.085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          12.782        7.4985        .27988E-03   -1.5636    
   3  Prefactor     .67457E-06    17.385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.9295        7.5529        .45403E-03   -1.5664    
   5  Prefactor     .86331        .28194        .55584E-02   -1.5522    
   6  Prefactor     .87023E-01    5.9335        .94119E-01   -1.5649    
   7  norm          .47265        1.3973        .36267E-02   -1.5694    
   8  Prefactor     103.48        62.472        .98661E-04   -1.5505    
   9  Prefactor     6.9604        15.069        .38070E-03   -1.5655    
  10  Prefactor     3.2851        .37655        .36764E-02   -1.5345    
  11  Prefactor     64.328        50.488        .12461E-03   -1.5548    
  12  Prefactor     .13600E-07    11.113        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     32.112        39.232        .17480E-03   -1.5595    
  14  Prefactor     4.2626        7.6327        .48641E-03   -1.5667    
  15  Prefactor     12.511        12.421        .28381E-03   -1.5637    
  16  Prefactor     .89795E-06    18.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .30492E-05    19.283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.8455        9.2828        .45483E-03   -1.5664    
  19  norm          28.589        17.607        .18684E-03   -1.5601    
  20  Normalizat    .36581        .35989        .14199       -1.1911    
  21  Prefactor     1.2503        .17924        .33540E-01   -.84798    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.65848e-07
Minuit parameter uncertainties:
  1  0.0112737
  2  7.49851
  3  0.00684912
  4  7.55294
  5  0.281937
  6  1.43647
  7  1.39731
  8  62.4723
  9  15.0693
  10  0.376552
  11  50.4883
  12  0.000777041
  13  39.2325
  14  7.63273
  15  12.4211
  16  0.00811513
  17  0.0153363
  18  9.28284
  19  17.6069
  20  0.362195
  21  0.179331
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  3.285e+00  3.766e-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.250e+00  1.793e-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:  3.658e-01  3.622e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 254.88
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 1.20e-06 +/- 1.37e-07
Energy Flux (Fixed Index): 3.85e-04 +/- 4.41e-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) = 7694.54084601
delta logL = 0.128343069774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7694.53955678
delta logL = 0.129632304165

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1900       1.0000         .10000E-03   10000.    
     2 'Index1    '    1.9566       1.0000          .0000       10.000    
     3 'Normalizat'    .40074       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2358       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=   7694.540     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      199 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1900        .38349        .36439E-02    .25441E-02
   2  Index1        1.9566        .11666        .51425E-01   -.74357E-04
   3  Normalizat    .40074        .30380        .13606        .19276E-04
   4  Prefactor     1.2358        .16902        .33834E-01    .39250E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.19001
  Index1     = 1.9566
  Normalizat = 0.400738
  Prefactor  = 1.23581
 **********
 **   18 **HESSE 
 **********

 FCN=   7694.540     FROM HESSE     STATUS=OK            29 CALLS      228 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1900        .39963        .16106E-04   -1.5351    
   2  Index1        1.9566        .12267        .22643E-03   -.65440    
   3  Normalizat    .40074        .28132        .60312E-03   -1.1726    
   4  Prefactor     1.2358        .15744        .20210E-03   -.85236    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40109e-10
Minuit parameter uncertainties:
  1  0.39963
  2  0.122688
  3  0.282317
  4  0.157497
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253572': 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) = 7694.53955678
delta logL = 0.129632308018

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  3.190e+00  3.996e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  1.957e+00  1.227e-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.236e+00  1.575e-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:  4.007e-01  2.823e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 257.66
Ra Dec: 343.496 16.151
Photon Index (Free Index): 1.96 +/- 0.12
Photon Flux (Free Index): 1.16e-06 +/- 1.48e-07
Energy Flux (Free Index): 3.96e-04 +/- 4.94e-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/253572/cmap_HighResolution_684374401_684633601_4FGL_J2253.9+1609_daily_bin1717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.20e-06', energy_flux2='3.96e-04', photon_flux_error='1.37e-07', dlogl='1.30e-01', energy_flux='3.85e-04', photon_flux2='1.16e-06', job_status='DONE', time_completed='2022-09-17 00:31:47.026656', photon_index_error2='0.12', photon_index2='1.96', ts='254.88', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', energy_flux_error2='4.94e-05', EG='0.37', time_epoch_completed='1663399907.03', return_code='0', job_id='253572', GAL2='1.24', EG2='0.40', return_code2='0', energy_flux_error='4.41e-05', photon_flux_error2='1.48e-07', ts2='257.66', photon_index='2.02' WHERE bin_id='1717' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 17 00:31:47 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 253572: <4FGL_J2253.9+1609_daily_bin1717> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1717> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 17 00:20:19 2022
Job was executed on host(s) <bullet0005>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:20:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 00:20:45 2022
Terminated at Sat Sep 17 00:31:47 2022
Results reported at Sat Sep 17 00:31:47 2022

Your job looked like:

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

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

