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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1767
RA = 343.308, Dec = -12.5416
tmin = 697334401, tmax = 697593601
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='91497', job_status='RUN', time_executed='2023-02-09 02:04:36.613068', time_epoch_executed='1675937076.61' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1767'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/91497

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/91497/ft1_4FGL_J2253.2-1232_daily_bin1767.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/91497/ft2_4FGL_J2253.2-1232_daily_bin1767.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/91497/ft1_4FGL_J2253.2-1232_daily_bin1767.fits outfile=/scratch/kocevski/91497/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1767.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=697334401.0 tmax=697593601.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.64
user 3.41
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/91497/ft2_4FGL_J2253.2-1232_daily_bin1767.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/91497/ft2_4FGL_J2253.2-1232_daily_bin1767.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/91497/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1767.fits evtable="EVENTS" outfile="/scratch/kocevski/91497/ft1_filtered_4FGL_J2253.2-1232_daily_bin1767.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.52
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 425

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/91497/ft1_filtered_4FGL_J2253.2-1232_daily_bin1767.fits" evtable="EVENTS" scfile=/scratch/kocevski/91497/ft2_4FGL_J2253.2-1232_daily_bin1767.fits sctable="SC_DATA" outfile=/scratch/kocevski/91497/ltcube_697334401_697593601_4FGL_J2253.2-1232_daily_bin1767.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/91497/ft2_4FGL_J2253.2-1232_daily_bin1767.fits
.....................!
real 16.35
user 15.90
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/91497/ft1_filtered_4FGL_J2253.2-1232_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/91497/ft2_4FGL_J2253.2-1232_daily_bin1767.fits sctable="SC_DATA" expcube=/scratch/kocevski/91497/ltcube_697334401_697593601_4FGL_J2253.2-1232_daily_bin1767.fits outfile=/scratch/kocevski/91497/expmap_697334401_697593601_4FGL_J2253.2-1232_daily_bin1767.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/91497/ltcube_697334401_697593601_4FGL_J2253.2-1232_daily_bin1767.fits
.....................!
real 192.16
user 186.55
sys 5.17

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

Setting source of interest to:
4FGL J2253.2-1232 @ 343.308 -12.5416

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/91497/ft1_filtered_4FGL_J2253.2-1232_daily_bin1767.fits scfile=/scratch/kocevski/91497/ft2_4FGL_J2253.2-1232_daily_bin1767.fits outfile=/scratch/kocevski/91497/cmap_697334401_697593601_4FGL_J2253.2-1232_daily_bin1767.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.308 yref=-12.5416 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.58
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/91497/ft1_filtered_4FGL_J2253.2-1232_daily_bin1767.fits scfile=/scratch/kocevski/91497/ft2_4FGL_J2253.2-1232_daily_bin1767.fits outfile=/scratch/kocevski/91497/cmap_HighResolution_697334401_697593601_4FGL_J2253.2-1232_daily_bin1767.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.308 yref=-12.5416 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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/91497/ft1_filtered_4FGL_J2253.2-1232_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/91497/ft2_4FGL_J2253.2-1232_daily_bin1767.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/91497/Model_4FGL_J2253.2-1232_daily_bin1767.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/91497/ft1_filtered_4FGL_J2253.2-1232_daily_bin1767.fits.....................!
real 47.31
user 45.97
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/91497/ft1_filtered_4FGL_J2253.2-1232_daily_bin1767.fits', '/scratch/kocevski/91497/ft2_4FGL_J2253.2-1232_daily_bin1767.fits', expMap='/scratch/kocevski/91497/expmap_697334401_697593601_4FGL_J2253.2-1232_daily_bin1767.fits', expCube='/scratch/kocevski/91497/ltcube_697334401_697593601_4FGL_J2253.2-1232_daily_bin1767.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/91497/Model_4FGL_J2253.2-1232_daily_bin1767.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2253.2-1232'

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  7.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.646e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  8.906e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/91497/ft1_filtered_4FGL_J2253.2-1232_daily_bin1767.fits
Spacecraft file(s): /scratch/kocevski/91497/ft2_4FGL_J2253.2-1232_daily_bin1767.fits
Exposure map: /scratch/kocevski/91497/expmap_697334401_697593601_4FGL_J2253.2-1232_daily_bin1767.fits
Exposure cube: /scratch/kocevski/91497/ltcube_697334401_697593601_4FGL_J2253.2-1232_daily_bin1767.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/91497/Model_4FGL_J2253.2-1232_daily_bin1767.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) = 4909.97872137

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.168       1.0000          .0000       .10000E+07
     2 'Prefactor '    .14501E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    30.475       1.0000          .0000       .10000E+07
     4 'norm      '    4.7128       1.0000          .0000       .10000E+07
     5 'Prefactor '    .49233E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.7758       1.0000          .0000       .10000E+07
     7 'norm      '    1.1000       1.0000          .0000       .10000E+07
     8 'Prefactor '    13.181       1.0000          .0000       .10000E+07
     9 'norm      '    .42849E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    58.530       1.0000          .0000       .10000E+07
    11 'Prefactor '    .24868E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .22444E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    40.463       1.0000          .0000       .10000E+07
    14 'Prefactor '    27.056       1.0000          .0000       .10000E+07
    15 'Prefactor '    .68898       1.0000          .0000       .10000E+07
    16 'norm      '    .94369E-09   1.0000          .0000       .10000E+07
    17 'norm      '    .42678E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .18969E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    .98319       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .84045       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4909.594     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1599 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.464        3.0424       -.37307E-07   -.18885E-01
   2  Prefactor     .65503E-08    9.0637        .78364E-07** at limit **
   3  Prefactor     30.121        47.219        .17277E-06   -.38686E-02
   4  norm          4.7183        4.2700       -.28242E-06    .15111E-02
   5  Prefactor     .24597E-06    77.729       -.40573E-06** at limit **
   6  Prefactor     9.9356        17.198       -.18876E-07    .28230E-01
   7  norm          1.0920        1.2638        .55026E-07   -.81415E-03
   8  Prefactor     14.216        31.411        .14774E-06   -.37102E-02
   9  norm           .0000        1.4008        .18907E-06** at limit **
  10  Prefactor     56.570        56.032       -.57990E-06   -.22293E-01
  11  Prefactor     .55511E-10    4.3538        .16326E-06** at limit **
  12  norm           .0000        3.2614       -.12962E-06** at limit **
  13  Prefactor     41.079        25.282        .26721E-06   -.49757E-01
  14  Prefactor     27.057        9.0267       -.23636E-07   -.13653    
  15  Prefactor     .64658        20.529       -.38908E-06    .13165E-01
  16  norm           .0000        .42337        .40543E-07** at limit **
  17  norm           .0000        6.2142        .11171E-06** at limit **
  18  Prefactor     .12768E-08    6.2257       -.16874E-06** at limit **
  19  Normalizat    .98181        .25471        .79562E-05   -.31286E-04
  20  Prefactor     .84096        .18489       -.33464E-05   -.11409E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.4641
  Prefactor  = 6.55032e-09
  Prefactor  = 30.1208
  norm       = 4.71833
  Prefactor  = 2.4597e-07
  Prefactor  = 9.93563
  norm       = 1.09203
  Prefactor  = 14.2157
  norm       = 0
  Prefactor  = 56.5701
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 41.0787
  Prefactor  = 27.057
  Prefactor  = 0.64658
  norm       = 0
  norm       = 0
  Prefactor  = 1.27676e-09
  Normalizat = 0.981805
  Prefactor  = 0.840959
 **********
 **   18 **HESSE 
 **********

 FCN=   4909.594     FROM HESSE     STATUS=OK           327 CALLS     1926 TOTAL
                     EDM=   .87E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.464        14.229        .31399E-03   -1.5643    
   2  Prefactor     .65503E-08    9.0229        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     30.121        49.989        .18117E-03   -1.5598    
   4  norm          4.7183        4.2771        .46328E-03   -1.5665    
   5  Prefactor     .24597E-06    78.117        .15571E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.9356        17.510        .32026E-03   -1.5645    
   7  norm          1.0920        1.2810        .11329E-03   -1.5687    
   8  Prefactor     14.216        32.937        .27564E-03   -1.5633    
   9  norm           .0000        1.3979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     56.570        59.290        .13072E-03   -1.5558    
  11  Prefactor     .55511E-10    4.3425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        3.2703        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     41.079        73.997        .15722E-03   -1.5580    
  14  Prefactor     27.057        22.707        .19229E-03   -1.5604    
  15  Prefactor     .64658        30.245        .61608E-03   -1.5692    
  16  norm           .0000        .42199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        6.1603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .12768E-08    6.2409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .98181        .22248        .45956E-01   -.93642    
  20  Prefactor     .84096        .15756        .44241E-01   -.98236    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.74198e-07
Minuit parameter uncertainties:
  1  14.2287
  2  0.000486603
  3  49.9901
  4  4.27706
  5  0.00876669
  6  17.5104
  7  1.28099
  8  32.937
  9  8.7394e-06
  10  59.2908
  11  2.64536e-05
  12  1.23296e-05
  13  73.9987
  14  22.7075
  15  8.84439
  16  1.22426e-07
  17  1.79113e-05
  18  0.000177155
  19  0.222694
  20  0.157647
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  5.657e+01  5.929e+01  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.646e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  8.906e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
488    Prefactor:  8.410e-01  1.576e-01  0.000e+00  1.000e+01 ( 1.000e+00)
489        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
490        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
487   Normalization:  9.818e-01  2.227e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.55
Ra Dec: 343.308 -12.542
Photon Index (Fixed Index): 2.65 +/- 0.00
Photon Flux (Fixed Index): 1.12e-07 +/- 1.17e-07
Energy Flux (Fixed Index): 2.82e-05 +/- 2.96e-05

TS (Fixed Index): 3.55
Ra Dec: 343.308 -12.542
Photon Flux Upper Limit: 2.47e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.94e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/91497/likelihoodResults_697334401_697593601_4FGL_J2253.2-1232_daily_bin1767.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4909.55032078
delta logL = 0.0437859247513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4909.54593797
delta logL = 0.0481687397451

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.176       1.0000          .0000       .10000E+07
     2 'Index     '    2.8537       1.0000          .0000       10.000    
     3 'Normalizat'    .96509       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85069       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4909.546     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      278 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.172        54.731        .59517E-05   -.25214E-03
   2  Index         2.8541        .80041        .48123E-02    .38072E-03
   3  Normalizat    .96511        .25029        .26721E-03   -.11236E-03
   4  Prefactor     .85072        .18670        .21475E-03   -.20793E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.172
  Index      = 2.85405
  Normalizat = 0.96511
  Prefactor  = 0.850723
 **********
 **   18 **HESSE 
 **********

 FCN=   4909.546     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.172        49.243        .23807E-06   -1.5574    
   2  Index         2.8541        .71998        .96247E-03   -.44359    
   3  Normalizat    .96511        .24962        .10689E-04   -.94209    
   4  Prefactor     .85072        .18618        .42950E-04   -.97885    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.44516e-11
Minuit parameter uncertainties:
  1  49.2433
  2  0.723064
  3  0.24992
  4  0.186319
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/91497': 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) = 4909.54593744
delta logL = 0.0481692678622

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  4.517e+01  4.924e+01  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  2.854e+00  7.231e-01  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  8.906e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
488    Prefactor:  8.507e-01  1.863e-01  0.000e+00  1.000e+01 ( 1.000e+00)
489        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
490        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
487   Normalization:  9.651e-01  2.499e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.77
Ra Dec: 343.308 -12.542
Photon Index (Free Index): 2.85 +/- 0.72
Photon Flux (Free Index): 1.25e-07 +/- 8.42e-08
Energy Flux (Free Index): 2.71e-05 +/- 1.70e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/91497/cmap_HighResolution_697334401_697593601_4FGL_J2253.2-1232_daily_bin1767.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.94e-02', comment='SUCCESS', photon_flux='1.12e-07', energy_flux2='2.71e-05', photon_flux_error='1.17e-07', dlogl='4.82e-02', energy_flux='2.82e-05', photon_flux2='1.25e-07', job_status='DONE', time_completed='2023-02-09 02:12:52.484107', photon_index_error2='0.72', photon_index2='2.85', ts='3.55', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='2.47e-07', energy_flux_error2='1.70e-05', EG='0.98', time_epoch_completed='1675937572.48', return_code='0', job_id='91497', GAL2='0.85', EG2='0.97', return_code2='0', energy_flux_error='2.96e-05', photon_flux_error2='8.42e-08', ts2='3.77', photon_index='2.65' WHERE bin_id='1767' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Feb  9 02:12:52 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 91497: <4FGL_J2253.2-1232_daily_bin1767> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1767> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Feb  9 02:00:27 2023
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Feb  9 02:01:41 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Feb  9 02:01:41 2023
Terminated at Thu Feb  9 02:12:53 2023
Results reported at Thu Feb  9 02:12:53 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1767 343.308 -12.5416 697334401 697593601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2253.2-1232 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   498.06 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             303.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   673 sec.
    Turnaround time :                            746 sec.

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

