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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1708
RA = 343.308, Dec = -12.5416
tmin = 682041601, tmax = 682300801
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='249047', job_status='RUN', time_executed='2022-09-17 00:14:14.219504', time_epoch_executed='1663398854.22' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/249047

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/249047/ft1_4FGL_J2253.2-1232_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/249047/ft2_4FGL_J2253.2-1232_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/249047/ft1_4FGL_J2253.2-1232_daily_bin1708.fits outfile=/scratch/kocevski/249047/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1708.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=682041601.0 tmax=682300801.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 4.06
user 3.77
sys 0.23

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

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

Number of photons that the gtmktime cut: 437

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/249047/ft1_filtered_4FGL_J2253.2-1232_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/249047/ft2_4FGL_J2253.2-1232_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/249047/ltcube_682041601_682300801_4FGL_J2253.2-1232_daily_bin1708.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/249047/ft2_4FGL_J2253.2-1232_daily_bin1708.fits
.....................!
real 12.52
user 12.07
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/249047/ft1_filtered_4FGL_J2253.2-1232_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/249047/ft2_4FGL_J2253.2-1232_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/249047/ltcube_682041601_682300801_4FGL_J2253.2-1232_daily_bin1708.fits outfile=/scratch/kocevski/249047/expmap_682041601_682300801_4FGL_J2253.2-1232_daily_bin1708.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/249047/ltcube_682041601_682300801_4FGL_J2253.2-1232_daily_bin1708.fits
.....................!
real 193.71
user 186.45
sys 5.65

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/249047/ft1_filtered_4FGL_J2253.2-1232_daily_bin1708.fits scfile=/scratch/kocevski/249047/ft2_4FGL_J2253.2-1232_daily_bin1708.fits outfile=/scratch/kocevski/249047/cmap_682041601_682300801_4FGL_J2253.2-1232_daily_bin1708.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.59
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/249047/ft1_filtered_4FGL_J2253.2-1232_daily_bin1708.fits scfile=/scratch/kocevski/249047/ft2_4FGL_J2253.2-1232_daily_bin1708.fits outfile=/scratch/kocevski/249047/cmap_HighResolution_682041601_682300801_4FGL_J2253.2-1232_daily_bin1708.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/249047/ft1_filtered_4FGL_J2253.2-1232_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/249047/ft2_4FGL_J2253.2-1232_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/249047/Model_4FGL_J2253.2-1232_daily_bin1708.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/249047/ft1_filtered_4FGL_J2253.2-1232_daily_bin1708.fits.....................!
real 50.18
user 48.33
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/249047/ft1_filtered_4FGL_J2253.2-1232_daily_bin1708.fits', '/scratch/kocevski/249047/ft2_4FGL_J2253.2-1232_daily_bin1708.fits', expMap='/scratch/kocevski/249047/expmap_682041601_682300801_4FGL_J2253.2-1232_daily_bin1708.fits', expCube='/scratch/kocevski/249047/ltcube_682041601_682300801_4FGL_J2253.2-1232_daily_bin1708.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/249047/Model_4FGL_J2253.2-1232_daily_bin1708.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/249047/ft1_filtered_4FGL_J2253.2-1232_daily_bin1708.fits
Spacecraft file(s): /scratch/kocevski/249047/ft2_4FGL_J2253.2-1232_daily_bin1708.fits
Exposure map: /scratch/kocevski/249047/expmap_682041601_682300801_4FGL_J2253.2-1232_daily_bin1708.fits
Exposure cube: /scratch/kocevski/249047/ltcube_682041601_682300801_4FGL_J2253.2-1232_daily_bin1708.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/249047/Model_4FGL_J2253.2-1232_daily_bin1708.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 4992.47206528

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.973       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.9099       1.0000          .0000       .10000E+07
     3 'Prefactor '    29.616       1.0000          .0000       .10000E+07
     4 'norm      '    .75240E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .13453E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    13.490       1.0000          .0000       .10000E+07
     7 'norm      '    .52902E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    7.7250       1.0000          .0000       .10000E+07
     9 'norm      '    .83855E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.6827       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.8972       1.0000          .0000       .10000E+07
    12 'norm      '    113.87       1.0000          .0000       .10000E+07
    13 'Prefactor '    13.060       1.0000          .0000       .10000E+07
    14 'Prefactor '    .28929E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .44245E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .28422E-07   1.0000          .0000       .10000E+07
    17 'norm      '    4.6664       1.0000          .0000       .10000E+07
    18 'Prefactor '    .26392E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.4966       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .52866       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=   4991.889     FROM MIGRAD    STATUS=CONVERGED    197 CALLS     1031 TOTAL
                     EDM=   .33E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.314        14.114       -.20393E-07   -.10268E-03
   2  Prefactor     5.9110        4.7832        .85742E-08   -.19745E-04
   3  Prefactor     29.440        4.4495        .13574E-08    .23837E-01
   4  norm           .0000        2.2515       -.19177E-08** at limit **
   5  Prefactor      .0000        35.346        .37442E-07** at limit **
   6  Prefactor     13.092        15.749       -.36761E-07   -.42442E-04
   7  norm           .0000        .28725        .58011E-08** at limit **
   8  Prefactor     8.5736        22.053        .47382E-06    .60536E-03
   9  norm           .0000        1.3274       -.43527E-09** at limit **
  10  Prefactor     .19273        3143.4       -.62657E-05** at limit **
  11  Prefactor     2.8661        20.422        .11525E-06   -.74184E-04
  12  norm          114.08        25.462       -.59598E-07    .32399E-02
  13  Prefactor     15.818        58.966        .21753E-06    .10815E-02
  14  Prefactor      .0000        9.2016       -.38060E-07** at limit **
  15  Prefactor      .0000        8.3710        .96980E-08** at limit **
  16  norm           .0000        .38465       -.46055E-08** at limit **
  17  norm          4.6069        5.3753        .15486E-08   -.41072E-04
  18  Prefactor      .0000        51.126       -.16654E-07** at limit **
  19  Normalizat    1.4966        .26854        .68189E-06    .70348E-04
  20  Prefactor     .52829        .18385       -.49015E-06    .54157E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.3142
  Prefactor  = 5.91102
  Prefactor  = 29.4396
  norm       = 0
  Prefactor  = 0
  Prefactor  = 13.0921
  norm       = 0
  Prefactor  = 8.57364
  norm       = 0
  Prefactor  = 0.192734
  Prefactor  = 2.86609
  norm       = 114.079
  Prefactor  = 15.8178
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 4.60692
  Prefactor  = 0
  Normalizat = 1.4966
  Prefactor  = 0.528288
 **********
 **   18 **HESSE 
 **********

 FCN=   4991.889     FROM HESSE     STATUS=OK           343 CALLS     1374 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.314        14.075        .30220E-03   -1.5641    
   2  Prefactor     5.9110        4.7855        .41284E-03   -1.5659    
   3  Prefactor     29.440        64.416        .18378E-03   -1.5599    
   4  norm           .0000        2.2489        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        35.325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.092        15.690        .27245E-03   -1.5636    
   7  norm           .0000        .28676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.5736        22.185        .36055E-03   -1.5649    
   9  norm           .0000        1.3297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19273        133.54        .91981E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.8661        20.714        .59675E-03   -1.5674    
  12  norm          114.08        25.979        .93717E-04   -1.5494    
  13  Prefactor     15.818        59.761        .27691E-03   -1.5628    
  14  Prefactor      .0000        9.2371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        8.3893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .38355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.6069        5.3983        .46564E-03   -1.5665    
  18  Prefactor      .0000        50.950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.4966        .22551        .53530E-01   -.77874    
  20  Prefactor     .52829        .15668        .61809E-01   -1.1070    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39303e-07
Minuit parameter uncertainties:
  1  14.0752
  2  4.7855
  3  64.4173
  4  2.75956e-06
  5  4.7845e-05
  6  15.6901
  7  3.45955e-07
  8  22.1851
  9  9.92683e-07
  10  10.1467
  11  15.4102
  12  25.979
  13  59.7628
  14  1.78835e-05
  15  1.064e-05
  16  4.95458e-07
  17  5.39828
  18  6.47537e-05
  19  0.225665
  20  0.156807
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.927e-01  1.015e+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:  5.283e-01  1.568e-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:  1.497e+00  2.257e-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: 1.43e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.13e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/249047/likelihoodResults_682041601_682300801_4FGL_J2253.2-1232_daily_bin1708.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): 102
logL (Free Index) = 4991.83246368
delta logL = 0.0567193996394

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4991.82599609
delta logL = 0.0631869908748

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9118       1.0000          .0000       .10000E+07
     2 'Index     '    3.6012       1.0000          .0000       10.000    
     3 'Normalizat'    1.4676       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53886       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4991.826     FROM MIGRAD    STATUS=FAILED        82 CALLS      269 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9145        79.523        .23806E-04    .11970E-01
   2  Index         3.6014        6.7437        .10681E-01    .34954E-03
   3  Normalizat    1.4676        .26068        .23856E-03    .17895E-02
   4  Prefactor     .53887        .18277        .27091E-03    .11129E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4991.826     FROM SIMPLEX   STATUS=UNCHANGED     82 CALLS      351 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9145        79.523        .40878E-04   -1.5674    
   2  Index         3.6014        6.7437        .27349E-02   -.28351    
   3  Normalizat    1.4676        .26068        .37290E-03   -.78693    
   4  Prefactor     .53887        .18277        .41682E-03   -1.1023    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4991.826     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      382 TOTAL
                     EDM=   .88E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9152        17.558        .95223E-06    .26407E-03
   2  Index         3.6012        2.3136        .42723E-03    .47366E-05
   3  Normalizat    1.4676        .26134        .47713E-04   -.55089E-04
   4  Prefactor     .53887        .18271        .54182E-04   -.35586E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.91523
  Index      = 3.60117
  Normalizat = 1.46759
  Prefactor  = 0.538867
 **********
 **   18 **HESSE 
 **********

 FCN=   4991.826     FROM HESSE     STATUS=OK            23 CALLS      405 TOTAL
                     EDM=   .88E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9152        17.122        .37369E-06   -1.5674    
   2  Index         3.6012        2.2868        .17089E-04   -.28355    
   3  Normalizat    1.4676        .26138        .95425E-05   -.78693    
   4  Prefactor     .53887        .18272        .10836E-04   -1.1023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.8458e-12
Minuit parameter uncertainties:
  1  14.13
  2  2.38359
  3  0.261624
  4  0.182925
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/249047': 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) = 4991.82599602
delta logL = 0.0631870592833

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  2.915e+00  1.413e+01  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  3.601e+00  2.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:  5.389e-01  1.829e-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:  1.468e+00  2.616e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/249047/cmap_HighResolution_682041601_682300801_4FGL_J2253.2-1232_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.43e-07', time_completed='2022-09-17 00:21:59.531665', job_id='249047', GAL2='0.54', fit_tolerance='1e-08', EG2='1.47', EG='1.50', time_epoch_completed='1663399319.53', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.53', dlogl='6.32e-02', ts2='0.13', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1708' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 17 00:21:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 249047: <4FGL_J2253.2-1232_daily_bin1708> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1708> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 17 00:05:39 2022
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:12:20 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:12:20 2022
Terminated at Sat Sep 17 00:22:00 2022
Results reported at Sat Sep 17 00:22:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1708 343.308 -12.5416 682041601 682300801 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 :                                   464.33 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             296.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   579 sec.
    Turnaround time :                            981 sec.

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

