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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1112
RA = 343.308, Dec = -12.5416
tmin = 527558401, tmax = 527817601
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='570908', job_status='RUN', time_executed='2021-09-29 01:41:36.845577', time_epoch_executed='1632904896.85' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1112'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/570908

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/570908/ft1_4FGL_J2253.2-1232_daily_bin1112.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/570908/ft2_4FGL_J2253.2-1232_daily_bin1112.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/570908/ft1_4FGL_J2253.2-1232_daily_bin1112.fits outfile=/scratch/kocevski/570908/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1112.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=527558401.0 tmax=527817601.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.56
user 3.32
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/570908/ft1_filtered_4FGL_J2253.2-1232_daily_bin1112.fits" evtable="EVENTS" scfile=/scratch/kocevski/570908/ft2_4FGL_J2253.2-1232_daily_bin1112.fits sctable="SC_DATA" outfile=/scratch/kocevski/570908/ltcube_527558401_527817601_4FGL_J2253.2-1232_daily_bin1112.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/570908/ft2_4FGL_J2253.2-1232_daily_bin1112.fits
.....................!
real 12.13
user 11.76
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/570908/ft1_filtered_4FGL_J2253.2-1232_daily_bin1112.fits evtable="EVENTS" scfile=/scratch/kocevski/570908/ft2_4FGL_J2253.2-1232_daily_bin1112.fits sctable="SC_DATA" expcube=/scratch/kocevski/570908/ltcube_527558401_527817601_4FGL_J2253.2-1232_daily_bin1112.fits outfile=/scratch/kocevski/570908/expmap_527558401_527817601_4FGL_J2253.2-1232_daily_bin1112.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/570908/ltcube_527558401_527817601_4FGL_J2253.2-1232_daily_bin1112.fits
.....................!
real 190.21
user 185.84
sys 4.05

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/570908/ft1_filtered_4FGL_J2253.2-1232_daily_bin1112.fits scfile=/scratch/kocevski/570908/ft2_4FGL_J2253.2-1232_daily_bin1112.fits outfile=/scratch/kocevski/570908/cmap_527558401_527817601_4FGL_J2253.2-1232_daily_bin1112.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.52
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/570908/ft1_filtered_4FGL_J2253.2-1232_daily_bin1112.fits scfile=/scratch/kocevski/570908/ft2_4FGL_J2253.2-1232_daily_bin1112.fits outfile=/scratch/kocevski/570908/cmap_HighResolution_527558401_527817601_4FGL_J2253.2-1232_daily_bin1112.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/570908/ft1_filtered_4FGL_J2253.2-1232_daily_bin1112.fits evtable="EVENTS" scfile=/scratch/kocevski/570908/ft2_4FGL_J2253.2-1232_daily_bin1112.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/570908/Model_4FGL_J2253.2-1232_daily_bin1112.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/570908/ft1_filtered_4FGL_J2253.2-1232_daily_bin1112.fits.....................!
real 45.99
user 42.94
sys 2.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10190E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.466       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.6868       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11782E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.0665       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12973E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .17155E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .99335E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.3393       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.0322       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.1602       1.0000         .10000E-03   10000.    
    14 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1727       1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.998       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.4570       1.0000         .10000E-03   10000.    
    18 'norm      '    1.0834       1.0000         .10000E-03   10000.    
    19 'norm      '    5.0593       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10266E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.6052       1.0000         .10000E-03   10000.    
    22 'Prefactor '    28.921       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3071       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .84354       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=   4538.282     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2734 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.752        .25744E-05** at limit **
   2  Prefactor     13.426        51.946       -.33359E-05   -.40537E-04
   3  Prefactor     5.6865        5.8248        .34526E-06    .31313E-05
   4  Prefactor     .10000E-03    52.681        .13658E-05** at limit **
   5  norm          6.0665        5.0565        .11579E-06    .14306E-05
   6  Prefactor     .10000E-03    98.536       -.63672E-07** at limit **
   7  Prefactor     .10000E-03    19.197       -.10494E-05** at limit **
   8  norm          .10000E-03    .62734        .40399E-07** at limit **
   9  Prefactor     .10050E-03    22.176       -.84456E-06** at limit **
  10  norm          2.3392        1.7842        .42552E-06    .75750E-03
  11  Prefactor     6.0209        51.909       -.84075E-06    .44472E-04
  12  Prefactor     .10000E-03    5.0052       -.39122E-07** at limit **
  13  Prefactor     6.1564        15.681        .52009E-05    .39590E-05
  14  norm          .10000E-03    3.1500        .27644E-07** at limit **
  15  Prefactor     4.0530        320.10       -.96839E-05   -.29474E-04
  16  Prefactor     15.996        19.938       -.36910E-07    .14883E-05
  17  Prefactor     8.4643        13.758       -.30752E-05    .31659E-04
  18  norm          1.0833        .91536       -.99535E-07    .13505E-04
  19  norm          5.0563        6.5515        .32312E-05    .17549E-04
  20  Prefactor     .10000E-03    31.857       -.94273E-06** at limit **
  21  Prefactor     4.6064        19.296        .12936E-06    .34833E-05
  22  Prefactor     28.971        55.928        .32596E-05    .65998E-04
  23  Normalizat    1.3075        .25139        .38880E-05   -.13649E-03
  24  Prefactor     .84323        .18857       -.46114E-05    .20174E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 13.4255
  Prefactor  = 5.68647
  Prefactor  = 0.0001
  norm       = 6.06653
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100498
  norm       = 2.33916
  Prefactor  = 6.02091
  Prefactor  = 0.0001
  Prefactor  = 6.15639
  norm       = 0.0001
  Prefactor  = 4.05301
  Prefactor  = 15.9961
  Prefactor  = 8.46426
  norm       = 1.08334
  norm       = 5.0563
  Prefactor  = 0.0001
  Prefactor  = 4.60638
  Prefactor  = 28.9706
  Normalizat = 1.30749
  Prefactor  = 0.843232
 **********
 **   18 **HESSE 
 **********

 FCN=   4538.282     FROM HESSE     STATUS=OK           399 CALLS     3133 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.426        52.179        .10915E-03   -1.4975    
   3  Prefactor     5.6865        5.8113        .15456E-03   -1.5231    
   4  Prefactor     .10000E-03    52.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.0665        5.0528        .12913E-03   -1.5215    
   6  Prefactor     .10000E-03    98.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    19.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.7036        .10146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10050E-03    100.39        .47428E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.3392        1.6142        .56534E-04   -1.5402    
  11  Prefactor     6.0209        51.600        .16348E-03   -1.5217    
  12  Prefactor     .10000E-03    5.0107        .14719E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.1564        15.657        .80875E-03   -1.5212    
  14  norm          .10000E-03    3.1517        .11677E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.0530        327.65        .19730E-03   -1.5305    
  16  Prefactor     15.996        19.933        .10014E-03   -1.4908    
  17  Prefactor     8.4643        13.570        .13785E-03   -1.5126    
  18  norm          1.0833        .93550        .57573E-04   -1.5500    
  19  norm          5.0563        6.4994        .89382E-03   -1.5258    
  20  Prefactor     .10000E-03    31.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.6064        19.261        .18756E-03   -1.5279    
  22  Prefactor     28.971        56.148        .74499E-04   -1.4631    
  23  Normalizat    1.3075        .29354        .25911E-03   -.83343    
  24  Prefactor     .84323        .21799        .23727E-03   -.98154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.04546e-09
Minuit parameter uncertainties:
  1  0.000152056
  2  52.3575
  3  5.81187
  4  0.000153037
  5  5.05316
  6  8.35172e-06
  7  0.000128833
  8  6.56269e-05
  9  0.0141685
  10  1.61419
  11  35.2929
  12  2.96834e-07
  13  15.6679
  14  1.19724e-06
  15  73.3012
  16  19.9416
  17  13.5746
  18  0.935515
  19  6.50029
  20  0.000107089
  21  18.8486
  22  56.2502
  23  0.293913
  24  0.218216
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  6.021e+00  3.529e+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:  8.432e-01  2.182e-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.307e+00  2.939e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/570908/likelihoodResults_527558401_527817601_4FGL_J2253.2-1232_daily_bin1112.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) = 4538.27716307
delta logL = 0.00465809474463

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4538.27541126
delta logL = 0.0064098994917

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0051       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4029       1.0000          .0000       10.000    
     3 'Normalizat'    1.3101       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84140       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=   4538.275     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      273 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0273        41.374        .14171E-03   -.86081E-04
   2  Index         2.3952        1.9716        .79923E-02    .13905E-04
   3  Normalizat    1.3098        .28315        .25890E-03    .28994E-02
   4  Prefactor     .84171        .21321        .23745E-03    .27989E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.02732
  Index      = 2.39518
  Normalizat = 1.30982
  Prefactor  = 0.841709
 **********
 **   18 **HESSE 
 **********

 FCN=   4538.275     FROM HESSE     STATUS=OK            23 CALLS      296 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0273        40.220        .56684E-05   -1.5141    
   2  Index         2.3952        1.9457        .31969E-03   -.54798    
   3  Normalizat    1.3098        .28341        .51781E-04   -.83274    
   4  Prefactor     .84171        .21338        .47490E-04   -.98209    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40745e-08
Minuit parameter uncertainties:
  1  35.9751
  2  2.0203
  3  0.283746
  4  0.213587
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/570908': 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) = 4538.27540247
delta logL = 0.00641869247011

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  8.027e+00  3.598e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.395e+00  2.020e+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:  8.417e-01  2.136e-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.310e+00  2.837e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/570908/cmap_HighResolution_527558401_527817601_4FGL_J2253.2-1232_daily_bin1112.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-02', job_status='DONE', photon_flux_upper_limit='1.59e-07', time_completed='2021-09-29 01:50:52.212968', job_id='570908', GAL2='0.84', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1632905452.21', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='6.42e-03', ts2='0.06', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1112' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:50:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 570908: <4FGL_J2253.2-1232_daily_bin1112> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1112 343.308 -12.5416 527558401 527817601 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 :                                   543.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             266.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   638 sec.
    Turnaround time :                            639 sec.

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

