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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1056
RA = 343.308, Dec = -12.5416
tmin = 513043201, tmax = 513302401
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='569752', job_status='RUN', time_executed='2021-09-29 01:38:13.012918', time_epoch_executed='1632904693.01' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1056'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/569752

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/569752/ft1_4FGL_J2253.2-1232_daily_bin1056.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/569752/ft2_4FGL_J2253.2-1232_daily_bin1056.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/569752/ft1_4FGL_J2253.2-1232_daily_bin1056.fits outfile=/scratch/kocevski/569752/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1056.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=513043201.0 tmax=513302401.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 6.33
user 6.00
sys 0.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/569752/ft2_4FGL_J2253.2-1232_daily_bin1056.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/569752/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1056.fits evtable="EVENTS" outfile="/scratch/kocevski/569752/ft1_filtered_4FGL_J2253.2-1232_daily_bin1056.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.52
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/569752/ft1_filtered_4FGL_J2253.2-1232_daily_bin1056.fits" evtable="EVENTS" scfile=/scratch/kocevski/569752/ft2_4FGL_J2253.2-1232_daily_bin1056.fits sctable="SC_DATA" outfile=/scratch/kocevski/569752/ltcube_513043201_513302401_4FGL_J2253.2-1232_daily_bin1056.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/569752/ft2_4FGL_J2253.2-1232_daily_bin1056.fits
.....................!
real 11.99
user 11.61
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/569752/ft1_filtered_4FGL_J2253.2-1232_daily_bin1056.fits evtable="EVENTS" scfile=/scratch/kocevski/569752/ft2_4FGL_J2253.2-1232_daily_bin1056.fits sctable="SC_DATA" expcube=/scratch/kocevski/569752/ltcube_513043201_513302401_4FGL_J2253.2-1232_daily_bin1056.fits outfile=/scratch/kocevski/569752/expmap_513043201_513302401_4FGL_J2253.2-1232_daily_bin1056.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/569752/ltcube_513043201_513302401_4FGL_J2253.2-1232_daily_bin1056.fits
.....................!
real 191.05
user 185.79
sys 4.67

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/569752/ft1_filtered_4FGL_J2253.2-1232_daily_bin1056.fits scfile=/scratch/kocevski/569752/ft2_4FGL_J2253.2-1232_daily_bin1056.fits outfile=/scratch/kocevski/569752/cmap_513043201_513302401_4FGL_J2253.2-1232_daily_bin1056.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/569752/ft1_filtered_4FGL_J2253.2-1232_daily_bin1056.fits scfile=/scratch/kocevski/569752/ft2_4FGL_J2253.2-1232_daily_bin1056.fits outfile=/scratch/kocevski/569752/cmap_HighResolution_513043201_513302401_4FGL_J2253.2-1232_daily_bin1056.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/569752/ft1_filtered_4FGL_J2253.2-1232_daily_bin1056.fits evtable="EVENTS" scfile=/scratch/kocevski/569752/ft2_4FGL_J2253.2-1232_daily_bin1056.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/569752/Model_4FGL_J2253.2-1232_daily_bin1056.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/569752/ft1_filtered_4FGL_J2253.2-1232_daily_bin1056.fits.....................!
real 41.35
user 39.99
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.305       1.0000         .10000E-03   10000.    
     2 'Prefactor '    64.888       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10668E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.0619       1.0000         .10000E-03   10000.    
     6 'Prefactor '    93.572       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.3514       1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12467E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    12.432       1.0000         .10000E-03   10000.    
    11 'Prefactor '    38.254       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    18.865       1.0000         .10000E-03   10000.    
    15 'Prefactor '    25.293       1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.533       1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.286       1.0000         .10000E-03   10000.    
    18 'norm      '    2.0081       1.0000         .10000E-03   10000.    
    19 'norm      '    2.4651       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10415E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    16.305       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .67860       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89599       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=   4173.472     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     2722 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.302        17.520        .21737E-05   -.27934E-04
   2  Prefactor     64.796        104.91       -.10393E-03   -.51986E-04
   3  Prefactor     .10000E-03    2.7336       -.80524E-07** at limit **
   4  Prefactor     .10000E-03    20.821        .36557E-07** at limit **
   5  norm          2.0626        5.4402        .81578E-05   -.88548E-04
   6  Prefactor     93.561        95.505       -.11140E-04   -.30718E-04
   7  Prefactor     7.3520        19.172       -.62324E-05   -.13358E-04
   8  norm          .10000E-03    .42047        .18693E-06** at limit **
   9  Prefactor     .10000E-03    115.29        .83973E-05** at limit **
  10  norm          12.428        2.9485        .39597E-06   -.13754E-02
  11  Prefactor     38.246        53.015       -.80541E-05   -.71564E-04
  12  Prefactor     .10000E-03    4.0930        .33068E-07** at limit **
  13  Prefactor     .10000E-03    5.9358       -.26969E-07** at limit **
  14  norm          18.865        16.007       -.17997E-05    .57922E-05
  15  Prefactor     25.215        63.749       -.11688E-03   -.13469E-04
  16  Prefactor     21.529        28.204       -.30705E-05    .10726E-04
  17  Prefactor     11.288        12.034        .16030E-04    .26758E-04
  18  norm          2.0081        1.5313       -.36751E-06   -.17137E-04
  19  norm          2.4680        5.9643        .55512E-05   -.16337E-03
  20  Prefactor     .10000E-03    27.988        .88289E-07** at limit **
  21  Prefactor     16.312        22.158       -.33509E-05    .14719E-04
  22  Prefactor     .10000E-03    41.237       -.81391E-06** at limit **
  23  Normalizat    .67854        .24016        .12232E-04   -.19486E-03
  24  Prefactor     .89608        .17312        .26574E-05   -.11070E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.3024
  Prefactor  = 64.796
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.06261
  Prefactor  = 93.5607
  Prefactor  = 7.352
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 12.4283
  Prefactor  = 38.2462
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.8649
  Prefactor  = 25.2148
  Prefactor  = 21.529
  Prefactor  = 11.2876
  norm       = 2.00807
  norm       = 2.46798
  Prefactor  = 0.0001
  Prefactor  = 16.3115
  Prefactor  = 0.0001
  Normalizat = 0.678536
  Prefactor  = 0.896077
 **********
 **   18 **HESSE 
 **********

 FCN=   4173.472     FROM HESSE     STATUS=OK           399 CALLS     3121 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.302        17.529        .71613E-04   -1.4588    
   2  Prefactor     64.796        104.68        .24910E-03   -1.4096    
   3  Prefactor     .10000E-03    2.7504        .10423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    20.823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.0626        5.3612        .21552E-03   -1.5421    
   6  Prefactor     93.561        95.256        .41546E-04   -1.3770    
   7  Prefactor     7.3520        19.328        .14793E-03   -1.5166    
   8  norm          .10000E-03    .50978        .81298E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    116.08        .36341E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.428        2.9625        .41905E-04   -1.5003    
  11  Prefactor     38.246        53.772        .64802E-04   -1.4470    
  12  Prefactor     .10000E-03    4.0952        .12765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.9553        .15371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          18.865        16.008        .92214E-04   -1.4839    
  15  Prefactor     25.215        63.725        .79652E-04   -1.4703    
  16  Prefactor     21.529        28.202        .86317E-04   -1.4780    
  17  Prefactor     11.288        12.003        .11925E-03   -1.5036    
  18  norm          2.0081        1.5229        .66515E-04   -1.5425    
  19  norm          2.4680        5.9006        .22533E-03   -1.5394    
  20  Prefactor     .10000E-03    27.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     16.312        22.195        .99187E-04   -1.4900    
  22  Prefactor     .10000E-03    41.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .67854        .27856        .31710E-03   -1.0475    
  24  Prefactor     .89608        .20213        .21471E-03   -.96278    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.12374e-10
Minuit parameter uncertainties:
  1  17.5323
  2  104.978
  3  3.32367e-05
  4  5.27303e-06
  5  5.36245
  6  95.4123
  7  19.3446
  8  1.52247e-05
  9  0.000286916
  10  2.96249
  11  53.8404
  12  2.3021e-06
  13  2.21476e-05
  14  16.0119
  15  63.898
  16  28.2191
  17  12.0053
  18  1.52289
  19  5.90197
  20  4.31983e-06
  21  22.2062
  22  3.78725e-05
  23  0.279143
  24  0.202302
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  3.825e+01  5.384e+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.961e-01  2.023e-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:  6.785e-01  2.791e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/569752/likelihoodResults_513043201_513302401_4FGL_J2253.2-1232_daily_bin1056.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) = 4173.29799107
delta logL = 0.174363183763

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4173.29568222
delta logL = 0.176672032036

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    59.116       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1662       1.0000          .0000       10.000    
     3 'Normalizat'    .69943       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88420       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=   4173.296     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      302 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     59.117        63.629        .52181E-04   -.16288E-03
   2  Index         2.1662        .70411        .87477E-02   -.10049E-03
   3  Normalizat    .69914        .25836        .31288E-03    .49490E-04
   4  Prefactor     .88439        .19837        .21589E-03    .77092E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 59.1174
  Index      = 2.16622
  Normalizat = 0.699142
  Prefactor  = 0.884395
 **********
 **   18 **HESSE 
 **********

 FCN=   4173.296     FROM HESSE     STATUS=OK            23 CALLS      325 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     59.117        63.138        .10436E-04   -1.4169    
   2  Index         2.1662        .69829        .34991E-03   -.60256    
   3  Normalizat    .69914        .25847        .12515E-04   -1.0393    
   4  Prefactor     .88439        .19847        .86358E-05   -.96689    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.40517e-10
Minuit parameter uncertainties:
  1  63.2094
  2  0.701679
  3  0.258919
  4  0.198631
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/569752': 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) = 4173.29568157
delta logL = 0.176672675453

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  5.912e+01  6.321e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.166e+00  7.017e-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:  8.844e-01  1.986e-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:  6.991e-01  2.589e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.36
Ra Dec: 343.308 -12.542
Photon Index (Free Index): 2.17 +/- 0.70
Photon Flux (Free Index): 5.78e-08 +/- 7.56e-08
Energy Flux (Free Index): 2.77e-05 +/- 3.36e-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/569752/cmap_HighResolution_513043201_513302401_4FGL_J2253.2-1232_daily_bin1056.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.99e-02', comment='SUCCESS', energy_flux2='2.77e-05', dlogl='1.77e-01', photon_flux2='5.78e-08', job_status='DONE', time_completed='2021-09-29 01:47:22.137289', photon_index_error2='0.70', photon_index2='2.17', ts='0.89', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='2.53e-07', energy_flux_error2='3.36e-05', EG='0.68', time_epoch_completed='1632905242.14', return_code='0', job_id='569752', GAL2='0.88', EG2='0.70', return_code2='0', photon_flux_error2='7.56e-08', ts2='1.36', photon_index='2.65' WHERE bin_id='1056' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:47:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 569752: <4FGL_J2253.2-1232_daily_bin1056> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1056 343.308 -12.5416 513043201 513302401 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 :                                   532.54 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             256.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            690 sec.

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

