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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1744
RA = 343.308, Dec = -12.5416
tmin = 691372801, tmax = 691632001
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='597044', job_status='RUN', time_executed='2022-12-02 02:03:16.614657', time_epoch_executed='1669975396.61' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/597044

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/597044/ft1_4FGL_J2253.2-1232_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/597044/ft2_4FGL_J2253.2-1232_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/597044/ft1_4FGL_J2253.2-1232_daily_bin1744.fits outfile=/scratch/kocevski/597044/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1744.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=691372801.0 tmax=691632001.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 2.54
user 2.33
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/597044/ft2_4FGL_J2253.2-1232_daily_bin1744.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/597044/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1744.fits evtable="EVENTS" outfile="/scratch/kocevski/597044/ft1_filtered_4FGL_J2253.2-1232_daily_bin1744.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.53
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 672

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/597044/ft1_filtered_4FGL_J2253.2-1232_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/597044/ft2_4FGL_J2253.2-1232_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/597044/ltcube_691372801_691632001_4FGL_J2253.2-1232_daily_bin1744.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/597044/ft2_4FGL_J2253.2-1232_daily_bin1744.fits
.....................!
real 12.58
user 12.14
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/597044/ft1_filtered_4FGL_J2253.2-1232_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/597044/ft2_4FGL_J2253.2-1232_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/597044/ltcube_691372801_691632001_4FGL_J2253.2-1232_daily_bin1744.fits outfile=/scratch/kocevski/597044/expmap_691372801_691632001_4FGL_J2253.2-1232_daily_bin1744.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/597044/ltcube_691372801_691632001_4FGL_J2253.2-1232_daily_bin1744.fits
.....................!
real 192.22
user 184.84
sys 5.76

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/597044/ft1_filtered_4FGL_J2253.2-1232_daily_bin1744.fits scfile=/scratch/kocevski/597044/ft2_4FGL_J2253.2-1232_daily_bin1744.fits outfile=/scratch/kocevski/597044/cmap_691372801_691632001_4FGL_J2253.2-1232_daily_bin1744.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.65
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/597044/ft1_filtered_4FGL_J2253.2-1232_daily_bin1744.fits scfile=/scratch/kocevski/597044/ft2_4FGL_J2253.2-1232_daily_bin1744.fits outfile=/scratch/kocevski/597044/cmap_HighResolution_691372801_691632001_4FGL_J2253.2-1232_daily_bin1744.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 1.13
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/597044/ft1_filtered_4FGL_J2253.2-1232_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/597044/ft2_4FGL_J2253.2-1232_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/597044/Model_4FGL_J2253.2-1232_daily_bin1744.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/597044/ft1_filtered_4FGL_J2253.2-1232_daily_bin1744.fits.....................!
real 72.26
user 61.53
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8053       1.0000          .0000       .10000E+07
     2 'Prefactor '    .69339       1.0000          .0000       .10000E+07
     3 'Prefactor '    52.934       1.0000          .0000       .10000E+07
     4 'norm      '    4.4119       1.0000          .0000       .10000E+07
     5 'Prefactor '    63.330       1.0000          .0000       .10000E+07
     6 'Prefactor '    16.647       1.0000          .0000       .10000E+07
     7 'norm      '    5.7718       1.0000          .0000       .10000E+07
     8 'Prefactor '    .17773E-01   1.0000          .0000       .10000E+07
     9 'norm      '    1.3430       1.0000          .0000       .10000E+07
    10 'Prefactor '    57.821       1.0000          .0000       .10000E+07
    11 'Prefactor '    10.099       1.0000          .0000       .10000E+07
    12 'norm      '    .39228E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    158.97       1.0000          .0000       .10000E+07
    14 'Prefactor '    .28654E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    16.938       1.0000          .0000       .10000E+07
    16 'norm      '    .58174       1.0000          .0000       .10000E+07
    17 'norm      '    .29032E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.3469       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1009       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .82701       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=   7239.632     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1559 TOTAL
                     EDM=   .74E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8740        6.8144        .45103E-06    .83420E-04
   2  Prefactor     .68237        3.2550        .46832E-06   -.15578E-03
   3  Prefactor     61.062        61.592       -.64538E-06   -.45310E-01
   4  norm          4.3893        3.0310       -.47501E-08   -.11635E-02
   5  Prefactor     69.858        63.310       -.93303E-06   -.11823E-01
   6  Prefactor     16.709        15.581       -.87925E-07    .28971E-03
   7  norm          5.7477        1.2985        .16931E-07   -.36483E-03
   8  Prefactor      .0000        12.553       -.60140E-06** at limit **
   9  norm          1.3171        1.0667        .80184E-07   -.12588E-03
  10  Prefactor     59.711        31.715       -.12629E-06   -.13714E-02
  11  Prefactor     10.139        8.8095        .79150E-07   -.30789E-03
  12  norm           .0000        3.0720       -.17972E-06** at limit **
  13  Prefactor     166.88        49.389       -.42397E-06    .93986E-01
  14  Prefactor     .17208E-08    61.898        .34346E-05** at limit **
  15  Prefactor     16.445        11.526        .20815E-06   -.24703E-02
  16  norm          .58377        .84055        .18741E-07    .85354E-03
  17  norm           .0000        2.8878       -.26090E-06** at limit **
  18  Prefactor     2.5380        14.741       -.11681E-05    .42616E-03
  19  Normalizat    1.0913        .22272       -.19454E-05   -.65175E-05
  20  Prefactor     .82840        .16200        .34375E-06   -.39007E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.87396
  Prefactor  = 0.682372
  Prefactor  = 61.0622
  norm       = 4.38928
  Prefactor  = 69.8581
  Prefactor  = 16.7091
  norm       = 5.7477
  Prefactor  = 0
  norm       = 1.31712
  Prefactor  = 59.7106
  Prefactor  = 10.1389
  norm       = 0
  Prefactor  = 166.876
  Prefactor  = 1.72085e-09
  Prefactor  = 16.4453
  norm       = 0.583774
  norm       = 0
  Prefactor  = 2.53796
  Normalizat = 1.09129
  Prefactor  = 0.8284
 **********
 **   18 **HESSE 
 **********

 FCN=   7239.632     FROM HESSE     STATUS=OK           341 CALLS     1900 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8740        6.8252        .51720E-03   -1.5669    
   2  Prefactor     .68237        3.2897        .61247E-03   -1.5691    
   3  Prefactor     61.062        78.561        .13746E-03   -1.5552    
   4  norm          4.3893        3.0335        .47922E-03   -1.5666    
   5  Prefactor     69.858        63.998        .12567E-03   -1.5541    
   6  Prefactor     16.709        15.529        .24521E-03   -1.5626    
   7  norm          5.7477        1.3117        .41782E-03   -1.5660    
   8  Prefactor      .0000        12.467        .17188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.3171        1.0797        .94504E-03   -1.5685    
  10  Prefactor     59.711        32.004        .13152E-03   -1.5553    
  11  Prefactor     10.139        8.8066        .31506E-03   -1.5644    
  12  norm           .0000        3.0699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     166.88        73.587        .79318E-04   -1.5450    
  14  Prefactor     .17208E-08    61.462        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.445        12.678        .24309E-03   -1.5627    
  16  norm          .58377        .85504        .70879E-03   -1.5693    
  17  norm           .0000        2.8877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.5380        14.826        .66890E-03   -1.5676    
  19  Normalizat    1.0913        .18907        .62126E-01   -.90032    
  20  Prefactor     .82840        .13839        .44068E-01   -.98690    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81448e-06
Minuit parameter uncertainties:
  1  6.82525
  2  2.99655
  3  78.5623
  4  3.03348
  5  63.9989
  6  15.5292
  7  1.3117
  8  1.64285e-05
  9  1.07966
  10  32.0043
  11  8.80664
  12  6.28635e-06
  13  73.5877
  14  0.000646195
  15  12.6776
  16  0.855037
  17  6.29001e-07
  18  12.2682
  19  0.189188
  20  0.138443
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  5.971e+01  3.200e+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.284e-01  1.384e-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.091e+00  1.892e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.70
Ra Dec: 343.308 -12.542
Photon Index (Fixed Index): 2.65 +/- 0.00
Photon Flux (Fixed Index): 1.18e-07 +/- 6.34e-08
Energy Flux (Fixed Index): 2.98e-05 +/- 1.60e-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) = 7237.81547454
delta logL = 1.81657204051

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7237.73735735
delta logL = 1.89468922958

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2681       1.0000          .0000       .10000E+07
     2 'Index     '    4.3603       1.0000          .0000       10.000    
     3 'Normalizat'    1.0081       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88177       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=   7237.737     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      273 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2638        23.111        .48745E-03    .24699E-02
   2  Index         4.3607        2.2256        .74230E-01    .18831E-03
   3  Normalizat    1.0081        .77999E-01    .46268E-01    .90215E-05
   4  Prefactor     .88179        .58979E-01    .44772E-01    .26794E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.26376
  Index      = 4.36075
  Normalizat = 1.0081
  Prefactor  = 0.881788
 **********
 **   18 **HESSE 
 **********

 FCN=   7237.737     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      306 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2638        31.831        .64324E-05   -1.5667    
   2  Index         4.3607        2.7113        .31101E-02   -.12820    
   3  Normalizat    1.0081        .19850        .28369E-03   -.92760    
   4  Prefactor     .88179        .15219        .11563E-02   -.96780    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.11995e-07
Minuit parameter uncertainties:
  1  23.2999
  2  2.86869
  3  0.198649
  4  0.152262
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/597044': 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) = 7237.73735723
delta logL = 1.89468934998

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  4.264e+00  2.330e+01  0.000e+00  1.000e+06 ( 1.000e-13)
279        Index:  4.361e+00  2.869e+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:  8.818e-01  1.523e-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.008e+00  1.986e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.03
Ra Dec: 343.308 -12.542
Photon Index (Free Index): 4.36 +/- 2.87
Photon Flux (Free Index): 1.76e-07 +/- 6.78e-08
Energy Flux (Free Index): 2.51e-05 +/- 1.38e-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/597044/cmap_HighResolution_691372801_691632001_4FGL_J2253.2-1232_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.18e-07', energy_flux2='2.51e-05', photon_flux_error='6.34e-08', dlogl='1.89e+00', energy_flux='2.98e-05', photon_flux2='1.76e-07', job_status='DONE', time_completed='2022-12-02 02:12:12.125700', photon_index_error2='2.87', photon_index2='4.36', ts='6.70', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='1.38e-05', EG='1.09', time_epoch_completed='1669975932.13', return_code='0', job_id='597044', GAL2='0.88', EG2='1.01', return_code2='102', energy_flux_error='1.60e-05', photon_flux_error2='6.78e-08', ts2='11.03', photon_index='2.65' WHERE bin_id='1744' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 02:12:12 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 597044: <4FGL_J2253.2-1232_daily_bin1744> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1744> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Dec  2 02:00:25 2022
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 02:00:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 02:00:26 2022
Terminated at Fri Dec  2 02:12:13 2022
Results reported at Fri Dec  2 02:12:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1744 343.308 -12.5416 691372801 691632001 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 :                                   525.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   706 sec.
    Turnaround time :                            708 sec.

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

