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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1159
RA = 343.308, Dec = -12.5416
tmin = 539740801, tmax = 540000001
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='570980', job_status='RUN', time_executed='2021-09-29 01:40:36.457264', time_epoch_executed='1632904836.46' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1159'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/570980

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/570980/ft1_4FGL_J2253.2-1232_daily_bin1159.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/570980/ft2_4FGL_J2253.2-1232_daily_bin1159.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/570980/ft1_4FGL_J2253.2-1232_daily_bin1159.fits outfile=/scratch/kocevski/570980/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1159.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=539740801.0 tmax=540000001.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 4.10
user 3.91
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/570980/ft1_filtered_4FGL_J2253.2-1232_daily_bin1159.fits" evtable="EVENTS" scfile=/scratch/kocevski/570980/ft2_4FGL_J2253.2-1232_daily_bin1159.fits sctable="SC_DATA" outfile=/scratch/kocevski/570980/ltcube_539740801_540000001_4FGL_J2253.2-1232_daily_bin1159.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/570980/ft2_4FGL_J2253.2-1232_daily_bin1159.fits
.....................!
real 12.04
user 11.65
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/570980/ft1_filtered_4FGL_J2253.2-1232_daily_bin1159.fits evtable="EVENTS" scfile=/scratch/kocevski/570980/ft2_4FGL_J2253.2-1232_daily_bin1159.fits sctable="SC_DATA" expcube=/scratch/kocevski/570980/ltcube_539740801_540000001_4FGL_J2253.2-1232_daily_bin1159.fits outfile=/scratch/kocevski/570980/expmap_539740801_540000001_4FGL_J2253.2-1232_daily_bin1159.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/570980/ltcube_539740801_540000001_4FGL_J2253.2-1232_daily_bin1159.fits
.....................!
real 189.89
user 185.22
sys 4.37

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/570980/ft1_filtered_4FGL_J2253.2-1232_daily_bin1159.fits scfile=/scratch/kocevski/570980/ft2_4FGL_J2253.2-1232_daily_bin1159.fits outfile=/scratch/kocevski/570980/cmap_539740801_540000001_4FGL_J2253.2-1232_daily_bin1159.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/570980/ft1_filtered_4FGL_J2253.2-1232_daily_bin1159.fits scfile=/scratch/kocevski/570980/ft2_4FGL_J2253.2-1232_daily_bin1159.fits outfile=/scratch/kocevski/570980/cmap_HighResolution_539740801_540000001_4FGL_J2253.2-1232_daily_bin1159.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/570980/ft1_filtered_4FGL_J2253.2-1232_daily_bin1159.fits evtable="EVENTS" scfile=/scratch/kocevski/570980/ft2_4FGL_J2253.2-1232_daily_bin1159.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/570980/Model_4FGL_J2253.2-1232_daily_bin1159.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/570980/ft1_filtered_4FGL_J2253.2-1232_daily_bin1159.fits.....................!
real 61.30
user 59.98
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.323       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.489       1.0000         .10000E-03   10000.    
     4 'Prefactor '    29.155       1.0000         .10000E-03   10000.    
     5 'norm      '    4.5426       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.4169       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .87217       1.0000         .10000E-03   10000.    
     8 'norm      '    1.0821       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    10.347       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .21105E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    8.8716       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .84485       1.0000         .10000E-03   10000.    
    19 'norm      '    4.6094       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    28.165       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .88792       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0784       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=   7127.150     FROM MIGRAD    STATUS=CONVERGED    541 CALLS     2702 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.324        12.859        .36677E-06   -.17703E-04
   2  Prefactor     .10000E-03    34.335        .13086E-06** at limit **
   3  Prefactor     12.489        5.3140       -.94915E-07    .15332E-05
   4  Prefactor     29.153        42.749        .20751E-06   -.65445E-05
   5  norm          4.5427        2.8658       -.12964E-06    .17991E-04
   6  Prefactor     4.2613        294.92       -.11937E-04   -.66616E-05
   7  Prefactor     .87551        8.8969        .39049E-06    .43709E-04
   8  norm          1.0820        .74886        .38692E-07    .11531E-03
   9  Prefactor     .10000E-03    16.062        .12884E-06** at limit **
  10  norm          10.342        1.7416        .58140E-07    .75105E-04
  11  Prefactor     .10000E-03    48.304        .39542E-06** at limit **
  12  Prefactor     .10002E-03    5.5940       -.57570E-06** at limit **
  13  Prefactor     .10000E-03    6.7349        .28825E-06** at limit **
  14  norm          8.8712        9.1560        .76911E-06   -.11274E-04
  15  Prefactor     .10000E-03    64.647        .71775E-06** at limit **
  16  Prefactor     .10000E-03    7.3217        .52814E-07** at limit **
  17  Prefactor     .10000E-03    3.6603        .12345E-06** at limit **
  18  norm          .84516        1.3895        .67654E-06    .59588E-03
  19  norm          4.6090        4.7223       -.10016E-06   -.10171E-03
  20  Prefactor     .10000E-03    35.278        .17028E-06** at limit **
  21  Prefactor     28.177        18.676        .29574E-06   -.20977E-04
  22  Prefactor     .10000E-03    26.629        .99268E-07** at limit **
  23  Normalizat    .88778        .21020       -.44708E-05    .29838E-04
  24  Prefactor     1.0785        .16081        .19771E-05   -.25661E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.3237
  Prefactor  = 0.0001
  Prefactor  = 12.4892
  Prefactor  = 29.1529
  norm       = 4.5427
  Prefactor  = 4.26127
  Prefactor  = 0.875511
  norm       = 1.08196
  Prefactor  = 0.0001
  norm       = 10.3424
  Prefactor  = 0.0001
  Prefactor  = 0.000100025
  Prefactor  = 0.0001
  norm       = 8.87121
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.845163
  norm       = 4.60897
  Prefactor  = 0.0001
  Prefactor  = 28.1769
  Prefactor  = 0.0001
  Normalizat = 0.887777
  Prefactor  = 1.07849
 **********
 **   18 **HESSE 
 **********

 FCN=   7127.150     FROM HESSE     STATUS=OK           405 CALLS     3107 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.324        12.876        .99134E-04   -1.4900    
   2  Prefactor     .10000E-03    34.375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.489        5.3040        .11335E-03   -1.5001    
   4  Prefactor     29.153        42.719        .74200E-04   -1.4628    
   5  norm          4.5427        2.8586        .10842E-03   -1.5282    
   6  Prefactor     4.2613        301.11        .19162E-03   -1.5295    
   7  Prefactor     .87551        35.229        .47613E-02   -1.5521    
   8  norm          1.0820        .75179        .58206E-04   -1.5500    
   9  Prefactor     .10000E-03    16.099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.342        1.7296        .43244E-04   -1.5065    
  11  Prefactor     .10000E-03    48.576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10002E-03    29.217        .38270E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.8068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.8712        9.1509        .67285E-03   -1.5112    
  15  Prefactor     .10000E-03    65.045        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.3233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.6733        .15772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .84516        1.3559        .12693E-02   -1.5524    
  19  norm          4.6090        4.6983        .17772E-03   -1.5279    
  20  Prefactor     .10000E-03    35.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     28.177        18.704        .75490E-04   -1.4646    
  22  Prefactor     .10000E-03    26.641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .88778        .22616        .30608E-03   -.96891    
  24  Prefactor     1.0785        .17590        .22345E-03   -.90157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41143e-09
Minuit parameter uncertainties:
  1  12.8786
  2  8.88202e-06
  3  5.30416
  4  42.7634
  5  2.85869
  6  72.0208
  7  11.1138
  8  0.751792
  9  2.02769e-05
  10  1.72959
  11  0.000123327
  12  0.00169363
  13  1.38792e-05
  14  9.15239
  15  0.00012973
  16  3.45671e-06
  17  3.96833e-06
  18  1.35598
  19  4.69867
  20  1.92322e-05
  21  18.7077
  22  2.27002e-05
  23  0.226403
  24  0.175997
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  1.233e-04  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.078e+00  1.760e-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.878e-01  2.264e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.308 -12.542
Photon Flux Upper Limit: 1.27e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/570980/likelihoodResults_539740801_540000001_4FGL_J2253.2-1232_daily_bin1159.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): 102
logL (Free Index) = 7127.15046874
delta logL = -9.8021924714e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7127.15037456
delta logL = -3.83882706956e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19439E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.2513       1.0000          .0000       10.000    
     3 'Normalizat'    .88777       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0785       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=   7127.150     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      249 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    459.01        .90712E-02** at limit **
   2  Index         3.2110        8.2018        .50000        .18506E-04
   3  Normalizat    .88777        .22786E-01    .69182E-01   -.27622E-03
   4  Prefactor     1.0785        .18241E-01    .38468E-01   -.15549E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.211
  Normalizat = 0.88777
  Prefactor  = 1.07849
 **********
 **   18 **HESSE 
 **********

 FCN=   7127.150     FROM HESSE     STATUS=OK            31 CALLS      280 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    51.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.2110        6.4466        .50000       -.36591    
   3  Normalizat    .88777        .21377        .30608E-03   -.96891    
   4  Prefactor     1.0785        .17153        .22344E-03   -.90157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02449e-09
Minuit parameter uncertainties:
  1  5.92523e-05
  2  7.29941
  3  0.21397
  4  0.17162
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/570980': 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) = 7127.15037203
delta logL = -1.31093747768e-06

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
488    Prefactor:  1.078e+00  1.716e-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.878e-01  2.140e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.308 -12.542

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/570980/cmap_HighResolution_539740801_540000001_4FGL_J2253.2-1232_daily_bin1159.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.98e-03', job_status='DONE', photon_flux_upper_limit='1.27e-07', time_completed='2021-09-29 01:52:11.451818', job_id='570980', GAL2='1.08', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1632905531.45', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-1.31e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1159' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:52:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 570980: <4FGL_J2253.2-1232_daily_bin1159> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1159> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 01:40:17 2021
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 01:40:18 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:18 2021
Terminated at Wed Sep 29 01:52:13 2021
Results reported at Wed Sep 29 01:52:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1159 343.308 -12.5416 539740801 540000001 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 :                                   682.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            716 sec.

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

