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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1453
RA = 343.308, Dec = -12.5416
tmin = 615945601, tmax = 616204801
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='571435', job_status='RUN', time_executed='2021-09-29 01:42:44.148577', time_epoch_executed='1632904964.15' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1453'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/571435

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/571435/ft1_4FGL_J2253.2-1232_daily_bin1453.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/571435/ft2_4FGL_J2253.2-1232_daily_bin1453.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/571435/ft1_4FGL_J2253.2-1232_daily_bin1453.fits outfile=/scratch/kocevski/571435/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1453.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=615945601.0 tmax=616204801.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.19
user 3.99
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/571435/ft1_filtered_4FGL_J2253.2-1232_daily_bin1453.fits" evtable="EVENTS" scfile=/scratch/kocevski/571435/ft2_4FGL_J2253.2-1232_daily_bin1453.fits sctable="SC_DATA" outfile=/scratch/kocevski/571435/ltcube_615945601_616204801_4FGL_J2253.2-1232_daily_bin1453.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/571435/ft2_4FGL_J2253.2-1232_daily_bin1453.fits
.....................!
real 11.74
user 11.28
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/571435/ft1_filtered_4FGL_J2253.2-1232_daily_bin1453.fits evtable="EVENTS" scfile=/scratch/kocevski/571435/ft2_4FGL_J2253.2-1232_daily_bin1453.fits sctable="SC_DATA" expcube=/scratch/kocevski/571435/ltcube_615945601_616204801_4FGL_J2253.2-1232_daily_bin1453.fits outfile=/scratch/kocevski/571435/expmap_615945601_616204801_4FGL_J2253.2-1232_daily_bin1453.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/571435/ltcube_615945601_616204801_4FGL_J2253.2-1232_daily_bin1453.fits
.....................!
real 192.15
user 185.93
sys 5.84

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/571435/ft1_filtered_4FGL_J2253.2-1232_daily_bin1453.fits scfile=/scratch/kocevski/571435/ft2_4FGL_J2253.2-1232_daily_bin1453.fits outfile=/scratch/kocevski/571435/cmap_615945601_616204801_4FGL_J2253.2-1232_daily_bin1453.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/571435/ft1_filtered_4FGL_J2253.2-1232_daily_bin1453.fits scfile=/scratch/kocevski/571435/ft2_4FGL_J2253.2-1232_daily_bin1453.fits outfile=/scratch/kocevski/571435/cmap_HighResolution_615945601_616204801_4FGL_J2253.2-1232_daily_bin1453.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/571435/ft1_filtered_4FGL_J2253.2-1232_daily_bin1453.fits evtable="EVENTS" scfile=/scratch/kocevski/571435/ft2_4FGL_J2253.2-1232_daily_bin1453.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/571435/Model_4FGL_J2253.2-1232_daily_bin1453.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/571435/ft1_filtered_4FGL_J2253.2-1232_daily_bin1453.fits.....................!
real 65.97
user 64.62
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10641E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.7708       1.0000         .10000E-03   10000.    
     4 'Prefactor '    102.17       1.0000         .10000E-03   10000.    
     5 'norm      '    4.2548       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .71187       1.0000         .10000E-03   10000.    
     9 'Prefactor '    58.971       1.0000         .10000E-03   10000.    
    10 'norm      '    .10436E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.601       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.2150       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.0395       1.0000         .10000E-03   10000.    
    14 'norm      '    11.025       1.0000         .10000E-03   10000.    
    15 'Prefactor '    55.847       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10229E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.4783       1.0000         .10000E-03   10000.    
    19 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .12164E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .89304       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1417       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=   7755.525     FROM MIGRAD    STATUS=CONVERGED    993 CALLS     3182 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.3174        .13084E-02** at limit **
   2  Prefactor     .10000E-03    52.807        .18910    ** at limit **
   3  Prefactor     4.7711        4.3418        .16663E-03   -.20059E-04
   4  Prefactor     102.18        57.393        .39776E-04    .26981E-04
   5  norm          4.2555        3.0352        .12291E-03    .16649E-04
   6  Prefactor     .10000E-03    29.653        .18142E-02** at limit **
   7  Prefactor     .10000E-03    2.7898        .14359E-02** at limit **
   8  norm          .71205        .74406        .76098E-03   -.83199E-03
   9  Prefactor     58.985        19.995        .52245E-04    .54184E-04
  10  norm          .10000E-03    1.6711        .15255E-02** at limit **
  11  Prefactor     22.607        33.712        .84254E-04    .58021E-05
  12  Prefactor     7.2154        7.7005        .14933E-03    .66005E-04
  13  Prefactor     3.0409        10.282        .23274E-03    .31653E-04
  14  norm          11.027        12.870        .12066E-03   -.27324E-04
  15  Prefactor     55.778        54.827        .53678E-04   -.47527E-04
  16  Prefactor     .10000E-03    5.2662        .18142E-02** at limit **
  17  Prefactor     .10000E-03    5.3891        .18142E-02** at limit **
  18  norm          2.4781        1.2540        .67643E-04   -.61210E-03
  19  norm          .10000E-03    2.3224        .13057E-02** at limit **
  20  Prefactor     .10000E-03    63.419        .18142E-02** at limit **
  21  Prefactor     .10000E-03    16.490        .18142E-02** at limit **
  22  Prefactor     .10001E-03    174.54        .18142E-02** at limit **
  23  Normalizat    .89280        .21733        .30143E-03   -.13532E-03
  24  Prefactor     1.1418        .16867        .21810E-03   -.61353E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 4.77109
  Prefactor  = 102.178
  norm       = 4.25551
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.712046
  Prefactor  = 58.9851
  norm       = 0.0001
  Prefactor  = 22.6073
  Prefactor  = 7.21545
  Prefactor  = 3.0409
  norm       = 11.0268
  Prefactor  = 55.7778
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.47814
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Normalizat = 0.892799
  Prefactor  = 1.14183
 **********
 **   18 **HESSE 
 **********

 FCN=   7755.525     FROM HESSE     STATUS=OK           385 CALLS     3567 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.3175        .26167E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    55.860        .18163       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.7711        4.3416        .66651E-05   -1.5271    
   4  Prefactor     102.18        57.382        .79552E-05   -1.3683    
   5  norm          4.2555        3.0349        .49164E-05   -1.5295    
   6  Prefactor     .10000E-03    29.653        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.7899        .28719E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .71205        .74345        .30439E-04   -1.5539    
   9  Prefactor     58.985        19.967        .20898E-05   -1.4170    
  10  norm          .10000E-03    1.6723        .30510E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     22.607        33.699        .33702E-05   -1.4757    
  12  Prefactor     7.2154        7.7003        .59733E-05   -1.5171    
  13  Prefactor     3.0409        10.280        .93095E-05   -1.5359    
  14  norm          11.027        12.869        .48264E-05   -1.5044    
  15  Prefactor     55.778        54.822        .10736E-04   -1.4213    
  16  Prefactor     .10000E-03    5.2662        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.3897        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.4781        1.2539        .27057E-05   -1.5393    
  19  norm          .10000E-03    2.3227        .26114E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    63.446        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    16.501        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10001E-03    174.58        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .89280        .21750        .12057E-04   -.96714    
  24  Prefactor     1.1418        .16883        .87239E-05   -.88141    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27643e-10
Minuit parameter uncertainties:
  1  5.11663e-07
  2  0.000514402
  3  4.34191
  4  57.4131
  5  3.03502
  6  1.43007e-05
  7  6.54423e-07
  8  0.743458
  9  19.9691
  10  1.20132e-05
  11  33.7271
  12  7.7014
  13  10.2861
  14  12.8726
  15  54.8713
  16  6.40682e-07
  17  4.05099e-05
  18  1.25395
  19  1.06799e-05
  20  5.64641e-05
  21  1.0127e-05
  22  0.00205582
  23  0.217719
  24  0.168912
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  2.261e+01  3.373e+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.142e+00  1.689e-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.928e-01  2.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/571435/likelihoodResults_615945601_616204801_4FGL_J2253.2-1232_daily_bin1453.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) = 7755.52461491
delta logL = 0.000673206474858

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7755.52389248
delta logL = 0.00139563653102

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.360       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7040       1.0000          .0000       10.000    
     3 'Normalizat'    .89030       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1428       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=   7755.524     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      231 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.185        544.50        .21666E-02    .46113E-04
   2  Index         2.7176        3.3978        .22878        .58500E-04
   3  Normalizat    .89000        .48707E-01    .68224E-01   -.11278E-03
   4  Prefactor     1.1434        .35488E-01    .36148E-01   -.15659E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.1848
  Index      = 2.7176
  Normalizat = 0.890005
  Prefactor  = 1.1434
 **********
 **   18 **HESSE 
 **********

 FCN=   7755.524     FROM HESSE     STATUS=OK            31 CALLS      262 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.185        43.919        .86664E-04   -1.4787    
   2  Index         2.7176        1.5293        .84503E-02   -.47404    
   3  Normalizat    .89000        .21471        .30183E-03   -.96812    
   4  Prefactor     1.1434        .16940        .21797E-03   -.88091    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.89991e-09
Minuit parameter uncertainties:
  1  43.9859
  2  1.56116
  3  0.214915
  4  0.169477
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/571435': 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) = 7755.52380748
delta logL = 0.00148063919187

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  2.118e+01  4.399e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.718e+00  1.561e+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.143e+00  1.695e-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.900e-01  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.83
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/571435/cmap_HighResolution_615945601_616204801_4FGL_J2253.2-1232_daily_bin1453.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-02', job_status='DONE', photon_flux_upper_limit='1.57e-07', time_completed='2021-09-29 01:56:05.819237', job_id='571435', GAL2='1.14', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1632905765.82', return_code2='0', ts='0.83', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.48e-03', ts2='0.86', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1453' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:56:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 571435: <4FGL_J2253.2-1232_daily_bin1453> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1453> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 01:40:48 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 01:40:49 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:49 2021
Terminated at Wed Sep 29 01:56:06 2021
Results reported at Wed Sep 29 01:56:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1453 343.308 -12.5416 615945601 616204801 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 :                                   755.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             283.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            918 sec.

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

