/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 156 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 = 7366
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1125
RA = 343.308, Dec = -12.5416
tmin = 530928001, tmax = 531187201
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='570930', job_status='RUN', time_executed='2021-09-29 01:43:00.607511', time_epoch_executed='1632904980.61' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1125'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/570930

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/570930/ft1_4FGL_J2253.2-1232_daily_bin1125.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/570930/ft2_4FGL_J2253.2-1232_daily_bin1125.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/570930/ft1_4FGL_J2253.2-1232_daily_bin1125.fits outfile=/scratch/kocevski/570930/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1125.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=530928001.0 tmax=531187201.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.69
user 3.46
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/570930/ft2_4FGL_J2253.2-1232_daily_bin1125.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/570930/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1125.fits evtable="EVENTS" outfile="/scratch/kocevski/570930/ft1_filtered_4FGL_J2253.2-1232_daily_bin1125.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.48
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/570930/ft1_filtered_4FGL_J2253.2-1232_daily_bin1125.fits" evtable="EVENTS" scfile=/scratch/kocevski/570930/ft2_4FGL_J2253.2-1232_daily_bin1125.fits sctable="SC_DATA" outfile=/scratch/kocevski/570930/ltcube_530928001_531187201_4FGL_J2253.2-1232_daily_bin1125.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/570930/ft2_4FGL_J2253.2-1232_daily_bin1125.fits
.....................!
real 11.66
user 11.32
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/570930/ft1_filtered_4FGL_J2253.2-1232_daily_bin1125.fits evtable="EVENTS" scfile=/scratch/kocevski/570930/ft2_4FGL_J2253.2-1232_daily_bin1125.fits sctable="SC_DATA" expcube=/scratch/kocevski/570930/ltcube_530928001_531187201_4FGL_J2253.2-1232_daily_bin1125.fits outfile=/scratch/kocevski/570930/expmap_530928001_531187201_4FGL_J2253.2-1232_daily_bin1125.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/570930/ltcube_530928001_531187201_4FGL_J2253.2-1232_daily_bin1125.fits
.....................!
real 190.72
user 185.98
sys 4.41

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/570930/ft1_filtered_4FGL_J2253.2-1232_daily_bin1125.fits scfile=/scratch/kocevski/570930/ft2_4FGL_J2253.2-1232_daily_bin1125.fits outfile=/scratch/kocevski/570930/cmap_530928001_531187201_4FGL_J2253.2-1232_daily_bin1125.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.53
user 0.40
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/570930/ft1_filtered_4FGL_J2253.2-1232_daily_bin1125.fits scfile=/scratch/kocevski/570930/ft2_4FGL_J2253.2-1232_daily_bin1125.fits outfile=/scratch/kocevski/570930/cmap_HighResolution_530928001_531187201_4FGL_J2253.2-1232_daily_bin1125.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=343.308 yref=-12.5416 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/570930/ft1_filtered_4FGL_J2253.2-1232_daily_bin1125.fits evtable="EVENTS" scfile=/scratch/kocevski/570930/ft2_4FGL_J2253.2-1232_daily_bin1125.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/570930/Model_4FGL_J2253.2-1232_daily_bin1125.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/570930/ft1_filtered_4FGL_J2253.2-1232_daily_bin1125.fits.....................!
real 52.10
user 50.76
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.208       1.0000         .10000E-03   10000.    
     2 'Prefactor '    87.368       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.6857       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.6348       1.0000         .10000E-03   10000.    
     6 'Prefactor '    40.867       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.949       1.0000         .10000E-03   10000.    
     8 'norm      '    .76286       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .26805E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    5.7841       1.0000         .10000E-03   10000.    
    11 'Prefactor '    44.792       1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.973       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10485E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    16.251       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .25378E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11197E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.150       1.0000         .10000E-03   10000.    
    18 'norm      '    .33919       1.0000         .10000E-03   10000.    
    19 'norm      '    9.9995       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10271E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.3355       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2525       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .63279       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=   5518.655     FROM MIGRAD    STATUS=CONVERGED    569 CALLS     3217 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.220        15.482       -.44776E-05   -.22211E-04
   2  Prefactor     87.224        115.20       -.10302E-03   -.56596E-04
   3  Prefactor     4.6837        5.1844       -.92398E-06   -.37579E-03
   4  Prefactor     .10000E-03    106.63        .65553E-05** at limit **
   5  norm          3.6382        3.9246        .44476E-05    .12147E-03
   6  Prefactor     40.853        56.574        .34177E-06   -.65819E-05
   7  Prefactor     11.944        15.053        .52603E-05   -.15801E-04
   8  norm          .76263        1.1208        .75824E-06    .22069E-03
   9  Prefactor     .10225E-03    38.365        .30569E-05** at limit **
  10  norm          5.7857        2.4306       -.23376E-06   -.39901E-02
  11  Prefactor     44.792        36.951        .18156E-05   -.38603E-03
  12  Prefactor     18.972        11.476       -.47584E-05   -.91035E-04
  13  Prefactor     .10000E-03    15.832       -.50410E-06** at limit **
  14  norm          16.247        12.977       -.23417E-05    .43145E-04
  15  Prefactor     .10001E-03    102.03       -.19502E-04** at limit **
  16  Prefactor     .10000E-03    64.437       -.44750E-05** at limit **
  17  Prefactor     11.152        10.938       -.64842E-05    .32377E-03
  18  norm          .33837        1.0093       -.85262E-06   -.13953E-02
  19  norm          10.006        8.4519        .29893E-05    .34129E-03
  20  Prefactor     .10000E-03    15.386       -.22209E-06** at limit **
  21  Prefactor     .10000E-03    6.0927       -.44088E-07** at limit **
  22  Prefactor     4.2453        241.44       -.41996E-04    .55175E-05
  23  Normalizat    1.2522        .21685        .67175E-05   -.36065E-03
  24  Prefactor     .63312        .15573        .28005E-05    .95118E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.2198
  Prefactor  = 87.2241
  Prefactor  = 4.6837
  Prefactor  = 0.0001
  norm       = 3.63821
  Prefactor  = 40.8528
  Prefactor  = 11.9435
  norm       = 0.762632
  Prefactor  = 0.00010225
  norm       = 5.78571
  Prefactor  = 44.7918
  Prefactor  = 18.9722
  Prefactor  = 0.000100001
  norm       = 16.2467
  Prefactor  = 0.000100011
  Prefactor  = 0.000100001
  Prefactor  = 11.152
  norm       = 0.338371
  norm       = 10.0056
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.24526
  Normalizat = 1.2522
  Prefactor  = 0.63312
 **********
 **   18 **HESSE 
 **********

 FCN=   5518.655     FROM HESSE     STATUS=OK           407 CALLS     3624 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.220        15.515        .89099E-04   -1.4808    
   2  Prefactor     87.224        115.16        .21491E-03   -1.3837    
   3  Prefactor     4.6837        5.1774        .16697E-03   -1.5275    
   4  Prefactor     .10000E-03    106.93        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.6382        3.9039        .13957E-03   -1.5326    
   6  Prefactor     40.853        56.550        .62704E-04   -1.4429    
   7  Prefactor     11.944        15.132        .11589E-03   -1.5017    
   8  norm          .76263        1.0744        .87123E-04   -1.5533    
   9  Prefactor     .10225E-03    78.232        .74787E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.7857        2.7351        .48796E-04   -1.5227    
  11  Prefactor     44.792        37.117        .59905E-04   -1.4368    
  12  Prefactor     18.972        11.472        .91950E-04   -1.4837    
  13  Prefactor     .10000E-03    16.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.247        12.978        .99353E-04   -1.4902    
  15  Prefactor     .10001E-03    102.05        .21459E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    66.089        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.152        10.892        .11998E-03   -1.5040    
  18  norm          .33837        1.0059        .12026E-03   -1.5592    
  19  norm          10.006        8.3144        .12672E-03   -1.5075    
  20  Prefactor     .10000E-03    15.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.0984        .17909E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.2453        241.42        .19346E-03   -1.5296    
  23  Normalizat    1.2522        .25597        .25493E-03   -.85005    
  24  Prefactor     .63312        .18270        .25660E-03   -1.0621    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10422e-09
Minuit parameter uncertainties:
  1  15.518
  2  115.458
  3  5.17794
  4  0.000192905
  5  3.90414
  6  56.6243
  7  15.1373
  8  1.07447
  9  0.02657
  10  2.73516
  11  37.1357
  12  11.4735
  13  0.000223565
  14  12.9806
  15  0.00213589
  16  0.000591591
  17  10.8935
  18  1.00594
  19  8.3154
  20  2.86007e-05
  21  2.08645e-05
  22  64.3013
  23  0.256226
  24  0.182876
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  4.479e+01  3.714e+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:  6.331e-01  1.829e-01  0.000e+00  1.000e+01 ( 1.000e+00)
489        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
490        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
487   Normalization:  1.252e+00  2.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.22
Ra Dec: 343.308 -12.542
Photon Index (Fixed Index): 2.65 +/- 0.00
Photon Flux (Fixed Index): 8.88e-08 +/- 7.35e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 1.85e-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) = 5518.39768835
delta logL = 0.256869852931

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5518.39668958
delta logL = 0.257868618401

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    57.832       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1819       1.0000          .0000       10.000    
     3 'Normalizat'    1.2819       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61974       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=   5518.397     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      271 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     57.692        1568.8        .13188E-02   -.36205E-05
   2  Index         2.1794        5.3172        .16501        .65720E-04
   3  Normalizat    1.2821        .26706        .57124E-01    .82791E-04
   4  Prefactor     .61971        .11657        .41323E-01    .91199E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 57.6924
  Index      = 2.17936
  Normalizat = 1.28214
  Prefactor  = 0.619705
 **********
 **   18 **HESSE 
 **********

 FCN=   5518.397     FROM HESSE     STATUS=OK            31 CALLS      302 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     57.692        44.800        .52754E-04   -1.4187    
   2  Index         2.1794        .63094        .90008E-02   -.59938    
   3  Normalizat    1.2821        .24263        .25261E-03   -.84101    
   4  Prefactor     .61971        .17766        .25921E-03   -1.0676    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.53477e-11
Minuit parameter uncertainties:
  1  44.8258
  2  0.633418
  3  0.242843
  4  0.17782
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/570930': 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) = 5518.39667607
delta logL = 0.257882126323

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  5.769e+01  4.483e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.179e+00  6.334e-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:  6.197e-01  1.778e-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.282e+00  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.86
Ra Dec: 343.308 -12.542
Photon Index (Free Index): 2.18 +/- 0.63
Photon Flux (Free Index): 5.74e-08 +/- 6.35e-08
Energy Flux (Free Index): 2.68e-05 +/- 2.37e-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/570930/cmap_HighResolution_530928001_531187201_4FGL_J2253.2-1232_daily_bin1125.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.88e-08', energy_flux2='2.68e-05', photon_flux_error='7.35e-08', dlogl='2.58e-01', energy_flux='2.23e-05', photon_flux2='5.74e-08', job_status='DONE', time_completed='2021-09-29 01:52:47.091254', photon_index_error2='0.63', photon_index2='2.18', ts='4.22', fit_tolerance='1e-08', GAL='0.63', photon_index_error='0.00', energy_flux_error2='2.37e-05', EG='1.25', time_epoch_completed='1632905567.09', return_code='0', job_id='570930', GAL2='0.62', EG2='1.28', return_code2='0', energy_flux_error='1.85e-05', photon_flux_error2='6.35e-08', ts2='4.86', photon_index='2.65' WHERE bin_id='1125' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:52:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 570930: <4FGL_J2253.2-1232_daily_bin1125> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1125> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 01:40:14 2021
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 01:40:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 01:40:16 2021
Terminated at Wed Sep 29 01:52:47 2021
Results reported at Wed Sep 29 01:52:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1125 343.308 -12.5416 530928001 531187201 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 :                                   572.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             227.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            753 sec.

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

