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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1736
RA = 343.308, Dec = -12.5416
tmin = 689299201, tmax = 689558401
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='963408', job_status='RUN', time_executed='2022-11-08 00:44:21.577086', time_epoch_executed='1667897061.58' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/963408

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/963408/ft1_4FGL_J2253.2-1232_daily_bin1736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/963408/ft2_4FGL_J2253.2-1232_daily_bin1736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/963408/ft1_4FGL_J2253.2-1232_daily_bin1736.fits outfile=/scratch/kocevski/963408/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1736.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=689299201.0 tmax=689558401.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.62
user 3.35
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/963408/ft2_4FGL_J2253.2-1232_daily_bin1736.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/963408/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1736.fits evtable="EVENTS" outfile="/scratch/kocevski/963408/ft1_filtered_4FGL_J2253.2-1232_daily_bin1736.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.32
sys 0.17

Number of photons that the gtmktime cut: 642

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/963408/ft1_filtered_4FGL_J2253.2-1232_daily_bin1736.fits" evtable="EVENTS" scfile=/scratch/kocevski/963408/ft2_4FGL_J2253.2-1232_daily_bin1736.fits sctable="SC_DATA" outfile=/scratch/kocevski/963408/ltcube_689299201_689558401_4FGL_J2253.2-1232_daily_bin1736.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/963408/ft2_4FGL_J2253.2-1232_daily_bin1736.fits
.....................!
real 12.32
user 11.97
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/963408/ft1_filtered_4FGL_J2253.2-1232_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/963408/ft2_4FGL_J2253.2-1232_daily_bin1736.fits sctable="SC_DATA" expcube=/scratch/kocevski/963408/ltcube_689299201_689558401_4FGL_J2253.2-1232_daily_bin1736.fits outfile=/scratch/kocevski/963408/expmap_689299201_689558401_4FGL_J2253.2-1232_daily_bin1736.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/963408/ltcube_689299201_689558401_4FGL_J2253.2-1232_daily_bin1736.fits
.....................!
real 191.76
user 185.42
sys 6.03

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/963408/ft1_filtered_4FGL_J2253.2-1232_daily_bin1736.fits scfile=/scratch/kocevski/963408/ft2_4FGL_J2253.2-1232_daily_bin1736.fits outfile=/scratch/kocevski/963408/cmap_689299201_689558401_4FGL_J2253.2-1232_daily_bin1736.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/963408/ft1_filtered_4FGL_J2253.2-1232_daily_bin1736.fits scfile=/scratch/kocevski/963408/ft2_4FGL_J2253.2-1232_daily_bin1736.fits outfile=/scratch/kocevski/963408/cmap_HighResolution_689299201_689558401_4FGL_J2253.2-1232_daily_bin1736.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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/963408/ft1_filtered_4FGL_J2253.2-1232_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/963408/ft2_4FGL_J2253.2-1232_daily_bin1736.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/963408/Model_4FGL_J2253.2-1232_daily_bin1736.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/963408/ft1_filtered_4FGL_J2253.2-1232_daily_bin1736.fits.....................!
real 58.39
user 57.02
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/963408/ft1_filtered_4FGL_J2253.2-1232_daily_bin1736.fits', '/scratch/kocevski/963408/ft2_4FGL_J2253.2-1232_daily_bin1736.fits', expMap='/scratch/kocevski/963408/expmap_689299201_689558401_4FGL_J2253.2-1232_daily_bin1736.fits', expCube='/scratch/kocevski/963408/ltcube_689299201_689558401_4FGL_J2253.2-1232_daily_bin1736.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/963408/Model_4FGL_J2253.2-1232_daily_bin1736.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/963408/ft1_filtered_4FGL_J2253.2-1232_daily_bin1736.fits
Spacecraft file(s): /scratch/kocevski/963408/ft2_4FGL_J2253.2-1232_daily_bin1736.fits
Exposure map: /scratch/kocevski/963408/expmap_689299201_689558401_4FGL_J2253.2-1232_daily_bin1736.fits
Exposure cube: /scratch/kocevski/963408/ltcube_689299201_689558401_4FGL_J2253.2-1232_daily_bin1736.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/963408/Model_4FGL_J2253.2-1232_daily_bin1736.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) = 7066.18131884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.544       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.2406       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.0317       1.0000          .0000       .10000E+07
     4 'norm      '    3.0195       1.0000          .0000       .10000E+07
     5 'Prefactor '    36.841       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.658       1.0000          .0000       .10000E+07
     7 'norm      '    .98943       1.0000          .0000       .10000E+07
     8 'Prefactor '    14.058       1.0000          .0000       .10000E+07
     9 'norm      '    .54862       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12366E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .99054       1.0000          .0000       .10000E+07
    12 'norm      '    10.904       1.0000          .0000       .10000E+07
    13 'Prefactor '    12.038       1.0000          .0000       .10000E+07
    14 'Prefactor '    .63574E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.8610       1.0000          .0000       .10000E+07
    16 'norm      '    2.1313       1.0000          .0000       .10000E+07
    17 'norm      '    .70907E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .85968E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    .65771       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0938       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=   7066.099     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1235 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.298        10.486        .12679E-07    .32159E-01
   2  Prefactor     1.2408        3.6028       -.21150E-07    .15123E-04
   3  Prefactor     7.0821        1.5187       -.32514E-07   -.28628E-02
   4  norm          3.0222        2.5354        .45241E-07    .87103E-03
   5  Prefactor     36.274        18.142        .21392E-06    .51646E-01
   6  Prefactor     10.554        9.2154        .18217E-06   -.90345E-01
   7  norm          .99015        .67440       -.11809E-07    .25529E-04
   8  Prefactor     13.549        31.709        .41393E-06   -.13327E-02
   9  norm          .58862        2.6780       -.15083E-06    .37849E-02
  10  Prefactor     .55511E-10    13.164        .60424E-08** at limit **
  11  Prefactor     .98847        3.0345        .14195E-06    .88968E-01
  12  norm          10.874        10.928        .34623E-07    .53669E-01
  13  Prefactor     13.587        42.945       -.11129E-05    .88927E-02
  14  Prefactor     .11102E-08    16.774        .19099E-06** at limit **
  15  Prefactor     1.4725        12.818       -.60414E-06   -.18989E-02
  16  norm          2.1309        1.1443       -.90613E-08   -.19651E-02
  17  norm           .0000        1.3805        .21587E-07** at limit **
  18  Prefactor      .0000        2.9266        .60380E-07** at limit **
  19  Normalizat    .65891        .19101       -.85721E-06   -.63998E-04
  20  Prefactor     1.0937        .15548        .20904E-07   -.87288E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.2984
  Prefactor  = 1.24082
  Prefactor  = 7.08207
  norm       = 3.02222
  Prefactor  = 36.274
  Prefactor  = 10.5537
  norm       = 0.990155
  Prefactor  = 13.5489
  norm       = 0.588625
  Prefactor  = 5.55112e-11
  Prefactor  = 0.988469
  norm       = 10.8736
  Prefactor  = 13.5871
  Prefactor  = 1.11022e-09
  Prefactor  = 1.47247
  norm       = 2.13088
  norm       = 0
  Prefactor  = 0
  Normalizat = 0.658905
  Prefactor  = 1.09371
 **********
 **   18 **HESSE 
 **********

 FCN=   7066.099     FROM HESSE     STATUS=OK           341 CALLS     1576 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.298        10.611        .23884E-03   -1.5625    
   2  Prefactor     1.2408        3.6152        .10064E-02   -1.5686    
   3  Prefactor     7.0821        35.742        .37807E-03   -1.5655    
   4  norm          3.0222        2.5402        .58377E-03   -1.5673    
   5  Prefactor     36.274        48.182        .16477E-03   -1.5588    
   6  Prefactor     10.554        10.868        .30665E-03   -1.5643    
   7  norm          .99015        .67804        .43391E-03   -1.5688    
   8  Prefactor     13.549        34.443        .26688E-03   -1.5634    
   9  norm          .58862        3.2691        .73962E-03   -1.5693    
  10  Prefactor     .55511E-10    13.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .98847        4.9789        .43430E-03   -1.5688    
  12  norm          10.874        11.635        .30315E-03   -1.5642    
  13  Prefactor     13.587        52.149        .28847E-03   -1.5634    
  14  Prefactor     .11102E-08    16.717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.4725        17.455        .76355E-03   -1.5684    
  16  norm          2.1309        1.1439        .70592E-03   -1.5679    
  17  norm           .0000        1.3800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.9384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .65891        .16445        .65605E-01   -1.0554    
  20  Prefactor     1.0937        .13397        .37827E-01   -.89668    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73642e-06
Minuit parameter uncertainties:
  1  10.6114
  2  3.61521
  3  31.8201
  4  2.54018
  5  48.1825
  6  10.8679
  7  0.678036
  8  34.4438
  9  2.77438
  10  6.40493e-05
  11  4.43691
  12  11.635
  13  52.1512
  14  0.000271295
  15  10.1395
  16  1.14388
  17  6.38444e-08
  18  1.98582e-06
  19  0.16457
  20  0.134011
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  5.551e-11  6.405e-05  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:  1.094e+00  1.340e-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:  6.589e-01  1.646e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.308 -12.542
Photon Flux Upper Limit: 7.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/963408/likelihoodResults_689299201_689558401_4FGL_J2253.2-1232_daily_bin1736.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) = 7066.13565432
delta logL = -0.0370790965371

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7066.09857543
delta logL = -2.06983713724e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15863E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.3562       1.0000          .0000       10.000    
     3 'Normalizat'    .65896       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0937       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.

 FCN=   7066.099     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      229 TOTAL
                     EDM=   .44E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    1.2929        .48563E-02** at limit **
   2  Index         3.6267        2.9747        .50000       -.22737E-10
   3  Normalizat    .65891        .25950E-02    .65605E-01    .56677E-05
   4  Prefactor     1.0937        .21710E-02    .37831E-01   -.45451E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 3.6267
  Normalizat = 0.658905
  Prefactor  = 1.09371
 **********
 **   18 **HESSE 
 **********

 FCN=   7066.099     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      270 TOTAL
                     EDM=   .67E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    1.9462        .39878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6267        3.1116        .50000       -.27824    
   3  Normalizat    .65891        .27327E-02    .29029E-03   -1.0554    
   4  Prefactor     1.0937        .22901E-02    .19151E-03   -.89668    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.66972e-14
Minuit parameter uncertainties:
  1  2.42764e-05
  2  3.38427
  3  0.00273274
  4  0.00229009
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/963408': 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): 102
logL (Free Index) = 7066.09857522
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  5.551e-11  2.428e-05  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  3.627e+00  3.384e+00  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:  1.094e+00  2.290e-03  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:  6.589e-01  2.733e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.308 -12.542

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/963408/cmap_HighResolution_689299201_689558401_4FGL_J2253.2-1232_daily_bin1736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.69e-03', job_status='DONE', photon_flux_upper_limit='7.24e-08', time_completed='2022-11-08 00:53:00.458856', job_id='963408', GAL2='1.09', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1667897580.46', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1736' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov  8 00:53:00 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0128>
Subject: Job 963408: <4FGL_J2253.2-1232_daily_bin1736> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1736> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Nov  8 00:40:21 2022
Job was executed on host(s) <bullet0128>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 00:40:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 00:40:22 2022
Terminated at Tue Nov  8 00:53:01 2022
Results reported at Tue Nov  8 00:53:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1736 343.308 -12.5416 689299201 689558401 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 :                                   521.32 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             269.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            760 sec.

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

