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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1059
RA = 343.308, Dec = -12.5416
tmin = 513820801, tmax = 514080001
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='569756', job_status='RUN', time_executed='2021-09-29 01:37:33.879649', time_epoch_executed='1632904653.88' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1059'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/569756

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/569756/ft1_4FGL_J2253.2-1232_daily_bin1059.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/569756/ft2_4FGL_J2253.2-1232_daily_bin1059.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/569756/ft1_4FGL_J2253.2-1232_daily_bin1059.fits outfile=/scratch/kocevski/569756/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1059.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=513820801.0 tmax=514080001.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.77
user 3.52
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/569756/ft1_filtered_4FGL_J2253.2-1232_daily_bin1059.fits" evtable="EVENTS" scfile=/scratch/kocevski/569756/ft2_4FGL_J2253.2-1232_daily_bin1059.fits sctable="SC_DATA" outfile=/scratch/kocevski/569756/ltcube_513820801_514080001_4FGL_J2253.2-1232_daily_bin1059.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/569756/ft2_4FGL_J2253.2-1232_daily_bin1059.fits
.....................!
real 11.97
user 11.62
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/569756/ft1_filtered_4FGL_J2253.2-1232_daily_bin1059.fits evtable="EVENTS" scfile=/scratch/kocevski/569756/ft2_4FGL_J2253.2-1232_daily_bin1059.fits sctable="SC_DATA" expcube=/scratch/kocevski/569756/ltcube_513820801_514080001_4FGL_J2253.2-1232_daily_bin1059.fits outfile=/scratch/kocevski/569756/expmap_513820801_514080001_4FGL_J2253.2-1232_daily_bin1059.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/569756/ltcube_513820801_514080001_4FGL_J2253.2-1232_daily_bin1059.fits
.....................!
real 190.66
user 185.45
sys 4.81

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/569756/ft1_filtered_4FGL_J2253.2-1232_daily_bin1059.fits scfile=/scratch/kocevski/569756/ft2_4FGL_J2253.2-1232_daily_bin1059.fits outfile=/scratch/kocevski/569756/cmap_513820801_514080001_4FGL_J2253.2-1232_daily_bin1059.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/569756/ft1_filtered_4FGL_J2253.2-1232_daily_bin1059.fits scfile=/scratch/kocevski/569756/ft2_4FGL_J2253.2-1232_daily_bin1059.fits outfile=/scratch/kocevski/569756/cmap_HighResolution_513820801_514080001_4FGL_J2253.2-1232_daily_bin1059.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/569756/ft1_filtered_4FGL_J2253.2-1232_daily_bin1059.fits evtable="EVENTS" scfile=/scratch/kocevski/569756/ft2_4FGL_J2253.2-1232_daily_bin1059.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/569756/Model_4FGL_J2253.2-1232_daily_bin1059.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/569756/ft1_filtered_4FGL_J2253.2-1232_daily_bin1059.fits.....................!
real 53.68
user 51.98
sys 1.54

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4051       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    59.793       1.0000         .10000E-03   10000.    
     5 'norm      '    7.5741       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.622       1.0000         .10000E-03   10000.    
     8 'norm      '    .18510       1.0000         .10000E-03   10000.    
     9 'Prefactor '    89.111       1.0000         .10000E-03   10000.    
    10 'norm      '    5.9598       1.0000         .10000E-03   10000.    
    11 'Prefactor '    149.56       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.5387       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.1473       1.0000         .10000E-03   10000.    
    14 'norm      '    .51138E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.304       1.0000         .10000E-03   10000.    
    17 'Prefactor '    28.759       1.0000         .10000E-03   10000.    
    18 'norm      '    .62937       1.0000         .10000E-03   10000.    
    19 'norm      '    4.6767       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10906E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .84165       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1275       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=   5535.475     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2810 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4026        14.749        .98914E-07   -.33029E-04
   2  Prefactor     .10000E-03    216.96        .61808E-06** at limit **
   3  Prefactor     .10000E-03    3.3353       -.41805E-07** at limit **
   4  Prefactor     59.824        67.305       -.19746E-05   -.21790E-04
   5  norm          7.5732        4.5538        .85066E-08   -.96122E-04
   6  Prefactor     .10000E-03    35.578        .11466E-07** at limit **
   7  Prefactor     10.623        19.961        .81448E-06   -.28238E-04
   8  norm          .18441        .71604        .21848E-05    .96987E-04
   9  Prefactor     89.259        74.513        .52906E-05   -.14147E-03
  10  norm          5.9534        5.5443       -.17976E-05   -.26273E-03
  11  Prefactor     149.46        78.632       -.93778E-06   -.17662E-03
  12  Prefactor     9.5431        10.883        .57180E-07    .77039E-05
  13  Prefactor     5.1426        17.144        .63834E-07   -.12808E-04
  14  norm          .10000E-03    10.829        .65598E-06** at limit **
  15  Prefactor     .10000E-03    52.158       -.20164E-06** at limit **
  16  Prefactor     12.297        24.718        .28685E-06    .82910E-05
  17  Prefactor     28.759        14.064        .17618E-06   -.36984E-04
  18  norm          .62917        1.3903        .39286E-06    .65990E-05
  19  norm          4.6754        6.2002        .82319E-07   -.27824E-04
  20  Prefactor     .10000E-03    23.877       -.43558E-07** at limit **
  21  Prefactor     .10000E-03    9.7527       -.59987E-07** at limit **
  22  Prefactor     .10000E-03    212.64        .18555E-06** at limit **
  23  Normalizat    .84146        .24921       -.45004E-05   -.85710E-04
  24  Prefactor     1.1278        .17871        .16239E-05   -.29628E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.40263
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 59.8238
  norm       = 7.57315
  Prefactor  = 0.0001
  Prefactor  = 10.6233
  norm       = 0.184406
  Prefactor  = 89.2585
  norm       = 5.95341
  Prefactor  = 149.46
  Prefactor  = 9.54312
  Prefactor  = 5.14258
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 12.2967
  Prefactor  = 28.7595
  norm       = 0.629173
  norm       = 4.67538
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.84146
  Prefactor  = 1.12784
 **********
 **   18 **HESSE 
 **********

 FCN=   5535.475     FROM HESSE     STATUS=OK           401 CALLS     3211 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4026        14.726        .15859E-03   -1.5202    
   2  Prefactor     .10000E-03    217.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.4003        .13259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     59.824        67.406        .51886E-04   -1.4160    
   5  norm          7.5732        4.5508        .11703E-03   -1.5158    
   6  Prefactor     .10000E-03    35.584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.623        20.105        .12293E-03   -1.5056    
   8  norm          .18441        .72368        .12308E-03   -1.5622    
   9  Prefactor     89.259        74.739        .42564E-04   -1.3816    
  10  norm          5.9534        5.5579        .72625E-04   -1.5220    
  11  Prefactor     149.46        79.045        .16478E-03   -1.3257    
  12  Prefactor     9.5431        10.883        .12975E-03   -1.5090    
  13  Prefactor     5.1426        17.094        .17720E-03   -1.5254    
  14  norm          .10000E-03    58.466        .46772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    52.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.297        24.711        .11420E-03   -1.5006    
  17  Prefactor     28.759        14.053        .74708E-04   -1.4635    
  18  norm          .62917        1.3578        .12467E-03   -1.5549    
  19  norm          4.6754        6.1759        .18609E-03   -1.5275    
  20  Prefactor     .10000E-03    23.888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.7696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    213.68        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .84146        .27792        .34399E-03   -.98549    
  24  Prefactor     1.1278        .20156        .23087E-03   -.88582    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85989e-10
Minuit parameter uncertainties:
  1  14.7347
  2  0.000143054
  3  8.28364e-06
  4  67.4926
  5  4.55105
  6  1.97883e-05
  7  20.1178
  8  0.723713
  9  74.8182
  10  5.55841
  11  79.1009
  12  10.8851
  13  17.1107
  14  0.000402686
  15  4.89099e-06
  16  24.7318
  17  14.0549
  18  1.35789
  19  6.17672
  20  1.7304e-05
  21  1.47852e-05
  22  0.000595266
  23  0.278394
  24  0.201697
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.495e+02  7.910e+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.128e+00  2.017e-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:  8.415e-01  2.784e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.17
Ra Dec: 343.308 -12.542
Photon Index (Fixed Index): 2.65 +/- 0.00
Photon Flux (Fixed Index): 2.96e-07 +/- 1.57e-07
Energy Flux (Fixed Index): 7.45e-05 +/- 3.94e-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) = 5535.11199389
delta logL = 0.362811562405

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5535.08810707
delta logL = 0.386698387199

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    92.018       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0478       1.0000          .0000       10.000    
     3 'Normalizat'    .79094       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1551       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=   5535.088     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      305 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     92.053        89.708        .41893E-04   -.15903E-03
   2  Index         3.0478        .60516        .31450E-02   -.44802E-04
   3  Normalizat    .79040        .26529        .35319E-03   -.17707E-03
   4  Prefactor     1.1555        .19865        .22854E-03   -.74619E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 92.053
  Index      = 3.04784
  Normalizat = 0.790401
  Prefactor  = 1.15549
 **********
 **   18 **HESSE 
 **********

 FCN=   5535.088     FROM HESSE     STATUS=OK            25 CALLS      330 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     92.053        76.195        .83785E-05   -1.3786    
   2  Index         3.0478        .51361        .12580E-03   -.40110    
   3  Normalizat    .79040        .26431        .14128E-04   -1.0043    
   4  Prefactor     1.1555        .19798        .91414E-05   -.87712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13873e-10
Minuit parameter uncertainties:
  1  76.2761
  2  0.514677
  3  0.26474
  4  0.198105
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/569756': 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) = 5535.08810447
delta logL = 0.386700982652

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  9.205e+01  7.628e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  3.048e+00  5.147e-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:  1.155e+00  1.981e-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:  7.904e-01  2.647e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.69
Ra Dec: 343.308 -12.542
Photon Index (Free Index): 3.05 +/- 0.51
Photon Flux (Free Index): 3.53e-07 +/- 1.38e-07
Energy Flux (Free Index): 6.89e-05 +/- 2.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/569756/cmap_HighResolution_513820801_514080001_4FGL_J2253.2-1232_daily_bin1059.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.96e-07', energy_flux2='6.89e-05', photon_flux_error='1.57e-07', dlogl='3.87e-01', energy_flux='7.45e-05', photon_flux2='3.53e-07', job_status='DONE', time_completed='2021-09-29 01:47:34.664729', photon_index_error2='0.51', photon_index2='3.05', ts='8.17', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='2.64e-05', EG='0.84', time_epoch_completed='1632905254.66', return_code='0', job_id='569756', GAL2='1.16', EG2='0.79', return_code2='0', energy_flux_error='3.94e-05', photon_flux_error2='1.38e-07', ts2='10.69', photon_index='2.65' WHERE bin_id='1059' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:47:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 569756: <4FGL_J2253.2-1232_daily_bin1059> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1059> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 01:35:53 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 01:35:55 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:35:55 2021
Terminated at Wed Sep 29 01:47:35 2021
Results reported at Wed Sep 29 01:47:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1059 343.308 -12.5416 513820801 514080001 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 :                                   555.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   699 sec.
    Turnaround time :                            702 sec.

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

