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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1664
RA = 343.308, Dec = -12.5416
tmin = 670636801, tmax = 670896001
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='316821', job_status='RUN', time_executed='2022-04-06 00:38:37.988988', time_epoch_executed='1649230717.99' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1664'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/316821

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/316821/ft1_4FGL_J2253.2-1232_daily_bin1664.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/316821/ft2_4FGL_J2253.2-1232_daily_bin1664.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/316821/ft1_4FGL_J2253.2-1232_daily_bin1664.fits outfile=/scratch/kocevski/316821/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1664.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=670636801.0 tmax=670896001.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.39
user 5.18
sys 0.20

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

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

Number of photons that the gtmktime cut: 598

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/316821/ft1_filtered_4FGL_J2253.2-1232_daily_bin1664.fits" evtable="EVENTS" scfile=/scratch/kocevski/316821/ft2_4FGL_J2253.2-1232_daily_bin1664.fits sctable="SC_DATA" outfile=/scratch/kocevski/316821/ltcube_670636801_670896001_4FGL_J2253.2-1232_daily_bin1664.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/316821/ft2_4FGL_J2253.2-1232_daily_bin1664.fits
.....................!
real 11.88
user 11.57
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/316821/ft1_filtered_4FGL_J2253.2-1232_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/316821/ft2_4FGL_J2253.2-1232_daily_bin1664.fits sctable="SC_DATA" expcube=/scratch/kocevski/316821/ltcube_670636801_670896001_4FGL_J2253.2-1232_daily_bin1664.fits outfile=/scratch/kocevski/316821/expmap_670636801_670896001_4FGL_J2253.2-1232_daily_bin1664.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/316821/ltcube_670636801_670896001_4FGL_J2253.2-1232_daily_bin1664.fits
.....................!
real 190.00
user 185.68
sys 3.99

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/316821/ft1_filtered_4FGL_J2253.2-1232_daily_bin1664.fits scfile=/scratch/kocevski/316821/ft2_4FGL_J2253.2-1232_daily_bin1664.fits outfile=/scratch/kocevski/316821/cmap_670636801_670896001_4FGL_J2253.2-1232_daily_bin1664.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/316821/ft1_filtered_4FGL_J2253.2-1232_daily_bin1664.fits scfile=/scratch/kocevski/316821/ft2_4FGL_J2253.2-1232_daily_bin1664.fits outfile=/scratch/kocevski/316821/cmap_HighResolution_670636801_670896001_4FGL_J2253.2-1232_daily_bin1664.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/316821/ft1_filtered_4FGL_J2253.2-1232_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/316821/ft2_4FGL_J2253.2-1232_daily_bin1664.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/316821/Model_4FGL_J2253.2-1232_daily_bin1664.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/316821/ft1_filtered_4FGL_J2253.2-1232_daily_bin1664.fits.....................!
real 57.03
user 55.89
sys 1.03

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    36.825       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.4527       1.0000         .10000E-03   10000.    
     4 'Prefactor '    70.723       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.300       1.0000         .10000E-03   10000.    
     8 'norm      '    .98404       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .35792E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .87653       1.0000         .10000E-03   10000.    
    11 'Prefactor '    38.353       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.2646       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.981       1.0000         .10000E-03   10000.    
    14 'norm      '    30.918       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.659       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .55938       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.9242       1.0000         .10000E-03   10000.    
    22 'Prefactor '    39.790       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1258       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .75808       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=   6596.277     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2736 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.511        .12122E-06** at limit **
   2  Prefactor     36.821        56.580       -.14645E-06    .34516E-05
   3  Prefactor     6.4527        4.8301       -.10735E-06   -.72853E-04
   4  Prefactor     70.711        53.790       -.94908E-06   -.58514E-04
   5  norm          .10000E-03    1.9637       -.53800E-07** at limit **
   6  Prefactor     .10000E-03    59.387        .51426E-06** at limit **
   7  Prefactor     25.302        13.223       -.83682E-07    .18407E-04
   8  norm          .98453        .72156        .21836E-07    .29621E-03
   9  Prefactor     .10003E-03    6.6380       -.15070E-05** at limit **
  10  norm          .87534        .97348        .48859E-06    .26953E-02
  11  Prefactor     38.323        27.970        .60576E-07    .21881E-03
  12  Prefactor     1.2720        2.1792        .74526E-06   -.24693E-02
  13  Prefactor     12.981        8.9561        .14111E-06    .12330E-03
  14  norm          30.920        16.226       -.11214E-06    .35610E-05
  15  Prefactor     .10000E-03    15.878       -.70468E-07** at limit **
  16  Prefactor     .10000E-03    5.4354        .17282E-08** at limit **
  17  Prefactor     20.664        10.141       -.19657E-06    .12700E-05
  18  norm          .10000E-03    .52578        .41662E-08** at limit **
  19  norm          .55915        7.8226       -.36469E-07   -.20873E-03
  20  Prefactor     .10000E-03    28.890       -.23330E-06** at limit **
  21  Prefactor     9.9260        10.088       -.10630E-06    .11036E-04
  22  Prefactor     39.801        66.597        .10122E-05    .43783E-04
  23  Normalizat    1.1255        .18296        .13827E-05    .20155E-03
  24  Prefactor     .75821        .13656       -.57043E-06    .27999E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 36.8215
  Prefactor  = 6.45265
  Prefactor  = 70.7115
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.3024
  norm       = 0.984528
  Prefactor  = 0.00010003
  norm       = 0.875344
  Prefactor  = 38.3233
  Prefactor  = 1.27196
  Prefactor  = 12.9807
  norm       = 30.9197
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.6635
  norm       = 0.0001
  norm       = 0.559145
  Prefactor  = 0.0001
  Prefactor  = 9.92597
  Prefactor  = 39.8014
  Normalizat = 1.12554
  Prefactor  = 0.758212
 **********
 **   18 **HESSE 
 **********

 FCN=   6596.277     FROM HESSE     STATUS=OK           403 CALLS     3139 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     36.821        56.573        .66044E-04   -1.4494    
   3  Prefactor     6.4527        4.8283        .14707E-03   -1.5200    
   4  Prefactor     70.711        53.500        .47734E-04   -1.4024    
   5  norm          .10000E-03    2.0207        .22197E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    59.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.302        13.239        .79641E-04   -1.4702    
   8  norm          .98453        .69761        .56291E-03   -1.5510    
   9  Prefactor     .10003E-03    51.488        .37002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .87534        .97040        .72626E-03   -1.5521    
  11  Prefactor     38.323        28.073        .64719E-04   -1.4469    
  12  Prefactor     1.2720        7.2877        .19811E-02   -1.5482    
  13  Prefactor     12.981        8.9565        .11118E-03   -1.4987    
  14  norm          30.920        16.233        .72058E-04   -1.4595    
  15  Prefactor     .10000E-03    15.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.4360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.664        9.9502        .88122E-04   -1.4799    
  18  norm          .10000E-03    .54350        .11487E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .55915        7.8470        .41969E-03   -1.5558    
  20  Prefactor     .10000E-03    28.950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.9260        10.093        .12720E-03   -1.5078    
  22  Prefactor     39.801        66.505        .63544E-04   -1.4445    
  23  Normalizat    1.1255        .20698        .25244E-03   -.88936    
  24  Prefactor     .75821        .15761        .23238E-03   -1.0129    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92965e-08
Minuit parameter uncertainties:
  1  1.11982e-05
  2  56.6558
  3  4.82857
  4  53.5366
  5  3.6e-06
  6  0.000121391
  7  13.2409
  8  0.697614
  9  0.00246722
  10  0.970414
  11  28.083
  12  6.0901
  13  8.95739
  14  16.2349
  15  1.28977e-05
  16  1.16284e-06
  17  9.95102
  18  4.87859e-07
  19  4.18963
  20  6.35202e-05
  21  10.0942
  22  66.6297
  23  0.207125
  24  0.157699
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  3.832e+01  2.808e+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:  7.582e-01  1.577e-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.126e+00  2.071e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.67
Ra Dec: 343.308 -12.542
Photon Index (Fixed Index): 2.65 +/- 0.00
Photon Flux (Fixed Index): 7.60e-08 +/- 5.56e-08
Energy Flux (Fixed Index): 1.91e-05 +/- 1.40e-05

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

Saving results to:
/scratch/kocevski/316821/likelihoodResults_670636801_670896001_4FGL_J2253.2-1232_daily_bin1664.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) = 6596.27079887
delta logL = 0.00571076152119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6596.2631028
delta logL = 0.0134068398365

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    42.733       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5483       1.0000          .0000       10.000    
     3 'Normalizat'    1.1300       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75556       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.

 FCN=   6596.263     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      237 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     42.736        39.572        .61325E-04   -.14097E-03
   2  Index         2.5486        .61782        .59422E-02   -.10079E-03
   3  Normalizat    1.1300        .20270        .25201E-03    .24853E-03
   4  Prefactor     .75554        .15513        .23273E-03    .33660E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 42.7361
  Index      = 2.54857
  Normalizat = 1.12998
  Prefactor  = 0.755538
 **********
 **   18 **HESSE 
 **********

 FCN=   6596.263     FROM HESSE     STATUS=OK            25 CALLS      262 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     42.736        37.359        .12265E-04   -1.4400    
   2  Index         2.5486        .58296        .23769E-03   -.51242    
   3  Normalizat    1.1300        .20267        .50402E-04   -.88795    
   4  Prefactor     .75554        .15511        .46547E-04   -1.0139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5808e-10
Minuit parameter uncertainties:
  1  37.3793
  2  0.584716
  3  0.202806
  4  0.1552
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/316821': 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) = 6596.2631024
delta logL = 0.0134072371375

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  4.274e+01  3.738e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.549e+00  5.847e-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:  7.555e-01  1.552e-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.130e+00  2.028e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.73
Ra Dec: 343.308 -12.542
Photon Index (Free Index): 2.55 +/- 0.58
Photon Flux (Free Index): 7.27e-08 +/- 5.04e-08
Energy Flux (Free Index): 2.00e-05 +/- 1.40e-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/316821/cmap_HighResolution_670636801_670896001_4FGL_J2253.2-1232_daily_bin1664.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.34e-02', comment='SUCCESS', photon_flux='7.60e-08', energy_flux2='2.00e-05', photon_flux_error='5.56e-08', dlogl='1.34e-02', energy_flux='1.91e-05', photon_flux2='7.27e-08', job_status='DONE', time_completed='2022-04-06 00:49:23.343709', photon_index_error2='0.58', photon_index2='2.55', ts='3.67', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='1.71e-07', energy_flux_error2='1.40e-05', EG='1.13', time_epoch_completed='1649231363.34', return_code='0', job_id='316821', GAL2='0.76', EG2='1.13', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='5.04e-08', ts2='3.73', photon_index='2.65' WHERE bin_id='1664' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr  6 00:49:23 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0087>
Subject: Job 316821: <4FGL_J2253.2-1232_daily_bin1664> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1664> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Apr  6 00:35:52 2022
Job was executed on host(s) <bullet0087>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr  6 00:35:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr  6 00:35:54 2022
Terminated at Wed Apr  6 00:49:23 2022
Results reported at Wed Apr  6 00:49:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1664 343.308 -12.5416 670636801 670896001 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 :                                   647.70 sec.
    Max Memory :                                 784 MB
    Average Memory :                             275.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            811 sec.

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

