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 97 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1683
RA = 343.308, Dec = -12.5416
tmin = 675561601, tmax = 675820801
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='52957', job_status='RUN', time_executed='2022-06-02 01:39:18.166718', time_epoch_executed='1654159158.17' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1683'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/52957

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/52957/ft1_4FGL_J2253.2-1232_daily_bin1683.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/52957/ft2_4FGL_J2253.2-1232_daily_bin1683.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/52957/ft1_4FGL_J2253.2-1232_daily_bin1683.fits outfile=/scratch/kocevski/52957/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1683.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=675561601.0 tmax=675820801.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.46
user 3.23
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/52957/ft2_4FGL_J2253.2-1232_daily_bin1683.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/52957/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1683.fits evtable="EVENTS" outfile="/scratch/kocevski/52957/ft1_filtered_4FGL_J2253.2-1232_daily_bin1683.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 722

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/52957/ft1_filtered_4FGL_J2253.2-1232_daily_bin1683.fits" evtable="EVENTS" scfile=/scratch/kocevski/52957/ft2_4FGL_J2253.2-1232_daily_bin1683.fits sctable="SC_DATA" outfile=/scratch/kocevski/52957/ltcube_675561601_675820801_4FGL_J2253.2-1232_daily_bin1683.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/52957/ft2_4FGL_J2253.2-1232_daily_bin1683.fits
.....................!
real 14.41
user 14.03
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/52957/ft1_filtered_4FGL_J2253.2-1232_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/52957/ft2_4FGL_J2253.2-1232_daily_bin1683.fits sctable="SC_DATA" expcube=/scratch/kocevski/52957/ltcube_675561601_675820801_4FGL_J2253.2-1232_daily_bin1683.fits outfile=/scratch/kocevski/52957/expmap_675561601_675820801_4FGL_J2253.2-1232_daily_bin1683.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/52957/ltcube_675561601_675820801_4FGL_J2253.2-1232_daily_bin1683.fits
.....................!
real 191.80
user 185.49
sys 4.97

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/52957/ft1_filtered_4FGL_J2253.2-1232_daily_bin1683.fits scfile=/scratch/kocevski/52957/ft2_4FGL_J2253.2-1232_daily_bin1683.fits outfile=/scratch/kocevski/52957/cmap_675561601_675820801_4FGL_J2253.2-1232_daily_bin1683.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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/52957/ft1_filtered_4FGL_J2253.2-1232_daily_bin1683.fits scfile=/scratch/kocevski/52957/ft2_4FGL_J2253.2-1232_daily_bin1683.fits outfile=/scratch/kocevski/52957/cmap_HighResolution_675561601_675820801_4FGL_J2253.2-1232_daily_bin1683.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.57
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/52957/ft1_filtered_4FGL_J2253.2-1232_daily_bin1683.fits', '/scratch/kocevski/52957/ft2_4FGL_J2253.2-1232_daily_bin1683.fits', expMap='/scratch/kocevski/52957/expmap_675561601_675820801_4FGL_J2253.2-1232_daily_bin1683.fits', expCube='/scratch/kocevski/52957/ltcube_675561601_675820801_4FGL_J2253.2-1232_daily_bin1683.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/52957/Model_4FGL_J2253.2-1232_daily_bin1683.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  1.000e-04  1.000e+04 ( 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/52957/ft1_filtered_4FGL_J2253.2-1232_daily_bin1683.fits
Spacecraft file(s): /scratch/kocevski/52957/ft2_4FGL_J2253.2-1232_daily_bin1683.fits
Exposure map: /scratch/kocevski/52957/expmap_675561601_675820801_4FGL_J2253.2-1232_daily_bin1683.fits
Exposure cube: /scratch/kocevski/52957/ltcube_675561601_675820801_4FGL_J2253.2-1232_daily_bin1683.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/52957/Model_4FGL_J2253.2-1232_daily_bin1683.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) = 7883.35514659

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    48.995       1.0000         .10000E-03   10000.    
     2 'Prefactor '    105.43       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .28441       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10704E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.1156       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.7538       1.0000         .10000E-03   10000.    
     8 'norm      '    3.2592       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.180       1.0000         .10000E-03   10000.    
    10 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.6193       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    54.143       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.8960       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10189E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .36725       1.0000         .10000E-03   10000.    
    19 'norm      '    3.0995       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .17526E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.577       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .56615       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0310       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.

 FCN=   7883.338     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     2775 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     48.997        12.704        .10380E-06    .14163E-04
   2  Prefactor     105.42        67.885       -.16279E-05   -.79159E-04
   3  Prefactor     .27325        1.4823        .77303E-07   -.27802E-03
   4  Prefactor     .10000E-03    109.49       -.39177E-06** at limit **
   5  norm          3.1154        2.2936        .10916E-05   -.11709E-02
   6  Prefactor     .10000E-03    16.483       -.24430E-05** at limit **
   7  Prefactor     6.7551        9.6985        .59698E-06    .29592E-04
   8  norm          3.2593        .93046        .16165E-07   -.10400E-03
   9  Prefactor     11.184        11.583        .97381E-08   -.61245E-04
  10  norm          .10000E-03    .35571        .67072E-07** at limit **
  11  Prefactor     9.6170        20.884        .17119E-06   -.29397E-04
  12  Prefactor     .10000E-03    8.8402       -.78390E-07** at limit **
  13  Prefactor     .10000E-03    5.0191       -.23689E-06** at limit **
  14  norm          54.143        14.072        .41731E-07   -.13980E-04
  15  Prefactor     2.8919        56.408        .49146E-06   -.18889E-04
  16  Prefactor     .10000E-03    5.0904        .35206E-06** at limit **
  17  Prefactor     .10000E-03    6.3402       -.18281E-06** at limit **
  18  norm          .36749        .72774        .24171E-06    .47924E-03
  19  norm          3.0989        3.8825        .16512E-06   -.12900E-03
  20  Prefactor     .10002E-03    137.71        .31403E-05** at limit **
  21  Prefactor     15.542        11.531        .14589E-05    .50221E-03
  22  Prefactor     .10000E-03    15.096        .20881E-05** at limit **
  23  Normalizat    .56607        .15886       -.19166E-05   -.16063E-04
  24  Prefactor     1.0310        .12333        .45309E-06   -.13844E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 48.9972
  Prefactor  = 105.419
  Prefactor  = 0.273255
  Prefactor  = 0.0001
  norm       = 3.11542
  Prefactor  = 0.000100001
  Prefactor  = 6.75508
  norm       = 3.25926
  Prefactor  = 11.1842
  norm       = 0.0001
  Prefactor  = 9.61705
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 54.1432
  Prefactor  = 2.89186
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.367488
  norm       = 3.09893
  Prefactor  = 0.000100015
  Prefactor  = 15.5415
  Prefactor  = 0.000100001
  Normalizat = 0.566067
  Prefactor  = 1.03104
 **********
 **   18 **HESSE 
 **********

 FCN=   7883.338     FROM HESSE     STATUS=OK           403 CALLS     3178 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     48.997        12.704        .57289E-04   -1.4307    
   2  Prefactor     105.42        67.898        .39165E-04   -1.3651    
   3  Prefactor     .27325        6.0369        .20553E-02   -1.5603    
   4  Prefactor     .10000E-03    110.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.1154        2.3741        .56951E-03   -1.5355    
   6  Prefactor     .10000E-03    16.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.7551        9.7208        .15440E-03   -1.5188    
   8  norm          3.2593        .92913        .43351E-04   -1.5347    
   9  Prefactor     11.184        10.905        .11982E-03   -1.5039    
  10  norm          .10000E-03    .41478        .91980E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.6170        20.545        .12921E-03   -1.5088    
  12  Prefactor     .10000E-03    9.1726        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.0783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          54.143        14.067        .54512E-04   -1.4235    
  15  Prefactor     2.8919        55.486        .23879E-03   -1.5368    
  16  Prefactor     .10000E-03    5.0939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.4083        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .36749        .61327        .10370E-02   -1.5587    
  19  norm          3.0989        3.8233        .18356E-03   -1.5356    
  20  Prefactor     .10002E-03    142.15        .40688E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     15.542        11.938        .10148E-03   -1.4919    
  22  Prefactor     .10000E-03    15.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .56607        .18032        .30965E-03   -1.0944    
  24  Prefactor     1.0310        .14245        .19280E-03   -.91702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.48912e-10
Minuit parameter uncertainties:
  1  12.7048
  2  67.9478
  3  2.56856
  4  1.69666e-06
  5  2.37413
  6  0.000313608
  7  9.7231
  8  0.929138
  9  10.9066
  10  9.85088e-07
  11  20.5603
  12  1.70025e-06
  13  1.16433e-05
  14  14.0678
  15  25.3611
  16  1.53432e-05
  17  3.25962e-06
  18  0.613276
  19  3.82361
  20  0.00294695
  21  11.9401
  22  0.000259048
  23  0.180506
  24  0.142506
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  9.617e+00  2.056e+01  1.000e-04  1.000e+04 ( 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.031e+00  1.425e-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:  5.661e-01  1.805e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/52957/likelihoodResults_675561601_675820801_4FGL_J2253.2-1232_daily_bin1683.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) = 7883.11897201
delta logL = 0.219291488726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7883.1182496
delta logL = 0.220013895653

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6615       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3634       1.0000          .0000       10.000    
     3 'Normalizat'    .54516       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0404       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7883.118     FROM MIGRAD    STATUS=FAILED       101 CALLS      319 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.6578        20.728        .84412E-03   -.55098E-04
   2  Index         3.3646        1.9263        .84256E-02    .57364E-03
   3  Normalizat    .54522        .17389        .31511E-03   -.14904E-03
   4  Prefactor     1.0402        .14083        .19197E-03   -.26459E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7883.118     FROM SIMPLEX   STATUS=UNCHANGED     76 CALLS      395 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.6578        20.728        .14928E-03   -1.5232    
   2  Index         3.3646        1.9263        .10973E-02   -.33322    
   3  Normalizat    .54522        .17389        .30278E-03   -1.1036    
   4  Prefactor     1.0402        .14083        .94451E-04   -.91400    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7883.118     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      429 TOTAL
                     EDM=   .30E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.6578        12.243        .33765E-04   -.17845E-04
   2  Index         3.3646        1.1579        .16851E-02    .36364E-05
   3  Normalizat    .54522        .17392        .12605E-04   -.90195E-06
   4  Prefactor     1.0402        .14055        .38394E-04   -.82909E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.6578
  Index      = 3.36458
  Normalizat = 0.545218
  Prefactor  = 1.04024
 **********
 **   18 **HESSE 
 **********

 FCN=   7883.118     FROM HESSE     STATUS=OK            23 CALLS      452 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.6578        11.662        .13506E-05   -1.5232    
   2  Index         3.3646        1.1033        .67405E-04   -.33322    
   3  Normalizat    .54522        .17404        .25209E-05   -1.1036    
   4  Prefactor     1.0402        .14061        .76789E-05   -.91400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22562e-12
Minuit parameter uncertainties:
  1  11.6663
  2  1.11362
  3  0.174209
  4  0.140656
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/52957': 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) = 7883.11824792
delta logL = 0.22001558037

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  5.658e+00  1.167e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  3.365e+00  1.114e+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.040e+00  1.407e-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:  5.452e-01  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.36
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/52957/cmap_HighResolution_675561601_675820801_4FGL_J2253.2-1232_daily_bin1683.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.45e-03', job_status='DONE', photon_flux_upper_limit='9.49e-08', time_completed='2022-06-02 01:51:41.748927', job_id='52957', GAL2='1.04', fit_tolerance='1e-08', EG2='0.55', EG='0.57', time_epoch_completed='1654159901.75', return_code2='0', ts='0.36', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.20e-01', ts2='0.83', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1683' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun  2 01:51:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 52957: <4FGL_J2253.2-1232_daily_bin1683> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1683> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jun  2 01:35:30 2022
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun  2 01:37:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun  2 01:37:30 2022
Terminated at Thu Jun  2 01:51:42 2022
Results reported at Thu Jun  2 01:51:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1683 343.308 -12.5416 675561601 675820801 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 :                                   745.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   852 sec.
    Turnaround time :                            972 sec.

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

