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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1707
RA = 343.308, Dec = -12.5416
tmin = 681782401, tmax = 682041601
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='551547', job_status='RUN', time_executed='2022-08-13 00:38:37.289305', time_epoch_executed='1660376317.29' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1707'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551547

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551547/ft1_4FGL_J2253.2-1232_daily_bin1707.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551547/ft2_4FGL_J2253.2-1232_daily_bin1707.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551547/ft1_4FGL_J2253.2-1232_daily_bin1707.fits outfile=/scratch/kocevski/551547/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1707.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=681782401.0 tmax=682041601.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 5.45
user 5.23
sys 0.19

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

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

Number of photons that the gtmktime cut: 436

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551547/ft1_filtered_4FGL_J2253.2-1232_daily_bin1707.fits" evtable="EVENTS" scfile=/scratch/kocevski/551547/ft2_4FGL_J2253.2-1232_daily_bin1707.fits sctable="SC_DATA" outfile=/scratch/kocevski/551547/ltcube_681782401_682041601_4FGL_J2253.2-1232_daily_bin1707.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/551547/ft2_4FGL_J2253.2-1232_daily_bin1707.fits
.....................!
real 11.60
user 11.26
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551547/ft1_filtered_4FGL_J2253.2-1232_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/551547/ft2_4FGL_J2253.2-1232_daily_bin1707.fits sctable="SC_DATA" expcube=/scratch/kocevski/551547/ltcube_681782401_682041601_4FGL_J2253.2-1232_daily_bin1707.fits outfile=/scratch/kocevski/551547/expmap_681782401_682041601_4FGL_J2253.2-1232_daily_bin1707.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/551547/ltcube_681782401_682041601_4FGL_J2253.2-1232_daily_bin1707.fits
.....................!
real 190.02
user 184.68
sys 5.02

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/551547/ft1_filtered_4FGL_J2253.2-1232_daily_bin1707.fits scfile=/scratch/kocevski/551547/ft2_4FGL_J2253.2-1232_daily_bin1707.fits outfile=/scratch/kocevski/551547/cmap_681782401_682041601_4FGL_J2253.2-1232_daily_bin1707.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551547/ft1_filtered_4FGL_J2253.2-1232_daily_bin1707.fits scfile=/scratch/kocevski/551547/ft2_4FGL_J2253.2-1232_daily_bin1707.fits outfile=/scratch/kocevski/551547/cmap_HighResolution_681782401_682041601_4FGL_J2253.2-1232_daily_bin1707.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/551547/ft1_filtered_4FGL_J2253.2-1232_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/551547/ft2_4FGL_J2253.2-1232_daily_bin1707.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/551547/Model_4FGL_J2253.2-1232_daily_bin1707.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/551547/ft1_filtered_4FGL_J2253.2-1232_daily_bin1707.fits.....................!
real 49.26
user 47.98
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    56.888       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .87977       1.0000         .10000E-03   10000.    
     4 'Prefactor '    74.656       1.0000         .10000E-03   10000.    
     5 'norm      '    2.1728       1.0000         .10000E-03   10000.    
     6 'Prefactor '    84.501       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .27819E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .18034       1.0000         .10000E-03   10000.    
     9 'Prefactor '    39.197       1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    56.794       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.5116       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.6931       1.0000         .10000E-03   10000.    
    14 'norm      '    74.743       1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.993       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.2649       1.0000         .10000E-03   10000.    
    18 'norm      '    1.3703       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.118       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1016       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .83461       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=   4907.289     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2800 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     56.896        22.678        .21296E-06   -.26081E-04
   2  Prefactor     .10000E-03    33.700       -.37060E-06** at limit **
   3  Prefactor     .87997        5.9781        .65409E-06    .12824E-03
   4  Prefactor     74.671        85.749        .39124E-06   -.85081E-05
   5  norm          2.1737        5.1360        .21432E-06    .49419E-04
   6  Prefactor     84.513        106.33       -.31062E-07    .15230E-06
   7  Prefactor     .10002E-03    8.6360        .94126E-06** at limit **
   8  norm          .18120        1.2641        .46533E-06   -.18739E-03
   9  Prefactor     39.211        24.489       -.13697E-05    .13375E-04
  10  norm          .10000E-03    .93578        .13261E-06** at limit **
  11  Prefactor     56.830        48.485        .62573E-06    .66677E-04
  12  Prefactor     6.5101        11.588       -.83784E-07    .30985E-04
  13  Prefactor     7.6937        9.3111        .90104E-07    .80431E-05
  14  norm          74.741        26.487       -.35094E-07    .56666E-05
  15  Prefactor     12.153        170.24       -.17911E-05    .22346E-04
  16  Prefactor     .10000E-03    14.328       -.21298E-07** at limit **
  17  Prefactor     8.2506        17.789        .13021E-05    .14307E-03
  18  norm          1.3702        1.4090        .66158E-08    .70630E-04
  19  norm          .10000E-03    3.2142       -.17928E-06** at limit **
  20  Prefactor     14.129        43.073        .98344E-06    .13162E-04
  21  Prefactor     .10000E-03    15.125        .26447E-06** at limit **
  22  Prefactor     .10000E-03    35.788        .38155E-06** at limit **
  23  Normalizat    1.1010        .28561       -.39137E-05   -.32430E-04
  24  Prefactor     .83502        .20881        .28468E-05   -.89169E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 56.896
  Prefactor  = 0.0001
  Prefactor  = 0.879966
  Prefactor  = 74.6706
  norm       = 2.17365
  Prefactor  = 84.5135
  Prefactor  = 0.000100016
  norm       = 0.181198
  Prefactor  = 39.2115
  norm       = 0.0001
  Prefactor  = 56.8304
  Prefactor  = 6.5101
  Prefactor  = 7.69369
  norm       = 74.7414
  Prefactor  = 12.1529
  Prefactor  = 0.0001
  Prefactor  = 8.25062
  norm       = 1.3702
  norm       = 0.0001
  Prefactor  = 14.1288
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.10098
  Prefactor  = 0.835021
 **********
 **   18 **HESSE 
 **********

 FCN=   4907.289     FROM HESSE     STATUS=OK           407 CALLS     3207 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     56.896        22.687        .53187E-04   -1.4198    
   2  Prefactor     .10000E-03    33.760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .87997        5.9667        .32190E-03   -1.5520    
   4  Prefactor     74.671        84.949        .46469E-04   -1.3978    
   5  norm          2.1737        5.0746        .22025E-03   -1.5413    
   6  Prefactor     84.513        105.67        .43700E-04   -1.3867    
   7  Prefactor     .10002E-03    51.653        .38165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .18120        2.2680        .13382E-02   -1.5623    
   9  Prefactor     39.211        25.336        .64021E-04   -1.4455    
  10  norm          .10000E-03    1.4065        .12793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     56.830        48.602        .53231E-04   -1.4199    
  12  Prefactor     6.5101        11.572        .15727E-03   -1.5198    
  13  Prefactor     7.6937        9.3086        .14458E-03   -1.5153    
  14  norm          74.741        26.475        .46442E-04   -1.3977    
  15  Prefactor     12.153        169.01        .11568E-03   -1.5011    
  16  Prefactor     .10000E-03    14.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.2506        17.897        .13945E-03   -1.5133    
  18  norm          1.3702        1.3954        .80992E-04   -1.5474    
  19  norm          .10000E-03    3.2373        .12284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     14.129        43.010        .10660E-03   -1.4956    
  21  Prefactor     .10000E-03    15.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    35.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1010        .29985        .28780E-03   -.89720    
  24  Prefactor     .83502        .21929        .24540E-03   -.98450    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22969e-08
Minuit parameter uncertainties:
  1  22.6903
  2  0.000148767
  3  4.58317
  4  85.0872
  5  5.07557
  6  105.904
  7  0.00184788
  8  1.28182
  9  25.3433
  10  1.43104e-05
  11  48.6362
  12  11.5755
  13  9.31039
  14  26.4793
  15  90.9551
  16  5.54448e-06
  17  17.9081
  18  1.39545
  19  2.11929e-05
  20  43.1047
  21  4.05862e-05
  22  0.000144359
  23  0.300318
  24  0.219522
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  5.683e+01  4.864e+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:  8.350e-01  2.195e-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.101e+00  3.003e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.09
Ra Dec: 343.308 -12.542
Photon Index (Fixed Index): 2.65 +/- 0.00
Photon Flux (Fixed Index): 1.13e-07 +/- 9.63e-08
Energy Flux (Fixed Index): 2.83e-05 +/- 2.42e-05

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

Saving results to:
/scratch/kocevski/551547/likelihoodResults_681782401_682041601_4FGL_J2253.2-1232_daily_bin1707.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) = 4906.5696111
delta logL = 0.719683720265

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4906.56176749
delta logL = 0.727527325443

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.875       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5606       1.0000          .0000       10.000    
     3 'Normalizat'    1.0335       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87278       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=   4906.562     FROM MIGRAD    STATUS=FAILED       100 CALLS      297 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.815        59.831        .46095E-03    .41825E-04
   2  Index         3.5623        1.7760        .38775E-02    .50893E-03
   3  Normalizat    1.0335        .29067        .29530E-03   -.76997E-07
   4  Prefactor     .87276        .21763        .24052E-03   -.47267E-07
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4906.562     FROM SIMPLEX   STATUS=UNCHANGED     80 CALLS      377 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.815        59.831        .27636E-03   -1.4840    
   2  Index         3.5623        1.7760        .60701E-03   -.29166    
   3  Normalizat    1.0335        .29067        .28660E-03   -.91915    
   4  Prefactor     .87276        .21763        .26958E-03   -.97100    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4906.562     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      406 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.815        32.003        .92189E-04   -.24664E-06
   2  Index         3.5623        .96372        .77550E-03    .20342E-04
   3  Normalizat    1.0335        .28839        .11812E-04   -.76997E-07
   4  Prefactor     .87276        .21471        .96209E-05   -.47267E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.8155
  Index      = 3.56227
  Normalizat = 1.03354
  Prefactor  = 0.872756
 **********
 **   18 **HESSE 
 **********

 FCN=   4906.562     FROM HESSE     STATUS=OK            25 CALLS      431 TOTAL
                     EDM=   .28E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.815        29.942        .36876E-05   -1.4840    
   2  Index         3.5623        .90216        .15510E-03   -.29166    
   3  Normalizat    1.0335        .28828        .11812E-04   -.91915    
   4  Prefactor     .87276        .21456        .96209E-05   -.97100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77314e-14
Minuit parameter uncertainties:
  1  29.9658
  2  0.907587
  3  0.288714
  4  0.214763
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551547': 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) = 4906.56176535
delta logL = 0.727529466213

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.882e+01  2.997e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  3.562e+00  9.076e-01  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  8.906e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
488    Prefactor:  8.728e-01  2.148e-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.034e+00  2.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.80
Ra Dec: 343.308 -12.542
Photon Index (Free Index): 3.56 +/- 0.91
Photon Flux (Free Index): 1.78e-07 +/- 1.02e-07
Energy Flux (Free Index): 2.91e-05 +/- 1.64e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.09e-02', comment='SUCCESS', photon_flux='1.13e-07', energy_flux2='2.91e-05', photon_flux_error='9.63e-08', dlogl='7.28e-01', energy_flux='2.83e-05', photon_flux2='1.78e-07', job_status='DONE', time_completed='2022-08-13 00:48:15.070351', photon_index_error2='0.91', photon_index2='3.56', ts='3.09', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='2.67e-07', energy_flux_error2='1.64e-05', EG='1.10', time_epoch_completed='1660376895.07', return_code='0', job_id='551547', GAL2='0.87', EG2='1.03', return_code2='0', energy_flux_error='2.42e-05', photon_flux_error2='1.02e-07', ts2='4.80', photon_index='2.65' WHERE bin_id='1707' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 13 00:48:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 551547: <4FGL_J2253.2-1232_daily_bin1707> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1707> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 13 00:35:24 2022
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 13 00:35:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 13 00:35:24 2022
Terminated at Sat Aug 13 00:48:15 2022
Results reported at Sat Aug 13 00:48:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1707 343.308 -12.5416 681782401 682041601 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 :                                   580.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            771 sec.

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

