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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1488
RA = 343.308, Dec = -12.5416
tmin = 625017601, tmax = 625276801
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='572638', job_status='RUN', time_executed='2021-09-29 01:45:28.705507', time_epoch_executed='1632905128.71' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1488'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/572638

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/572638/ft1_4FGL_J2253.2-1232_daily_bin1488.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/572638/ft2_4FGL_J2253.2-1232_daily_bin1488.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/572638/ft1_4FGL_J2253.2-1232_daily_bin1488.fits outfile=/scratch/kocevski/572638/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1488.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=625017601.0 tmax=625276801.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.59
user 3.35
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/572638/ft1_filtered_4FGL_J2253.2-1232_daily_bin1488.fits" evtable="EVENTS" scfile=/scratch/kocevski/572638/ft2_4FGL_J2253.2-1232_daily_bin1488.fits sctable="SC_DATA" outfile=/scratch/kocevski/572638/ltcube_625017601_625276801_4FGL_J2253.2-1232_daily_bin1488.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/572638/ft2_4FGL_J2253.2-1232_daily_bin1488.fits
.....................!
real 12.02
user 11.63
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/572638/ft1_filtered_4FGL_J2253.2-1232_daily_bin1488.fits evtable="EVENTS" scfile=/scratch/kocevski/572638/ft2_4FGL_J2253.2-1232_daily_bin1488.fits sctable="SC_DATA" expcube=/scratch/kocevski/572638/ltcube_625017601_625276801_4FGL_J2253.2-1232_daily_bin1488.fits outfile=/scratch/kocevski/572638/expmap_625017601_625276801_4FGL_J2253.2-1232_daily_bin1488.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/572638/ltcube_625017601_625276801_4FGL_J2253.2-1232_daily_bin1488.fits
.....................!
real 193.09
user 187.50
sys 5.22

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/572638/ft1_filtered_4FGL_J2253.2-1232_daily_bin1488.fits scfile=/scratch/kocevski/572638/ft2_4FGL_J2253.2-1232_daily_bin1488.fits outfile=/scratch/kocevski/572638/cmap_625017601_625276801_4FGL_J2253.2-1232_daily_bin1488.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/572638/ft1_filtered_4FGL_J2253.2-1232_daily_bin1488.fits scfile=/scratch/kocevski/572638/ft2_4FGL_J2253.2-1232_daily_bin1488.fits outfile=/scratch/kocevski/572638/cmap_HighResolution_625017601_625276801_4FGL_J2253.2-1232_daily_bin1488.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/572638/ft1_filtered_4FGL_J2253.2-1232_daily_bin1488.fits evtable="EVENTS" scfile=/scratch/kocevski/572638/ft2_4FGL_J2253.2-1232_daily_bin1488.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/572638/Model_4FGL_J2253.2-1232_daily_bin1488.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/572638/ft1_filtered_4FGL_J2253.2-1232_daily_bin1488.fits.....................!
real 58.98
user 57.63
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/572638/ft1_filtered_4FGL_J2253.2-1232_daily_bin1488.fits', '/scratch/kocevski/572638/ft2_4FGL_J2253.2-1232_daily_bin1488.fits', expMap='/scratch/kocevski/572638/expmap_625017601_625276801_4FGL_J2253.2-1232_daily_bin1488.fits', expCube='/scratch/kocevski/572638/ltcube_625017601_625276801_4FGL_J2253.2-1232_daily_bin1488.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/572638/Model_4FGL_J2253.2-1232_daily_bin1488.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/572638/ft1_filtered_4FGL_J2253.2-1232_daily_bin1488.fits
Spacecraft file(s): /scratch/kocevski/572638/ft2_4FGL_J2253.2-1232_daily_bin1488.fits
Exposure map: /scratch/kocevski/572638/expmap_625017601_625276801_4FGL_J2253.2-1232_daily_bin1488.fits
Exposure cube: /scratch/kocevski/572638/ltcube_625017601_625276801_4FGL_J2253.2-1232_daily_bin1488.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/572638/Model_4FGL_J2253.2-1232_daily_bin1488.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6652.19064857

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.348       1.0000         .10000E-03   10000.    
     2 'Prefactor '    174.00       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.2700       1.0000         .10000E-03   10000.    
     4 'Prefactor '    27.629       1.0000         .10000E-03   10000.    
     5 'norm      '    4.0196       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .46544E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.0271       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.109       1.0000         .10000E-03   10000.    
    10 'norm      '    4.1369       1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.488       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.7799       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.1715       1.0000         .10000E-03   10000.    
    14 'norm      '    69.628       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.1818       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.841       1.0000         .10000E-03   10000.    
    18 'norm      '    .10119E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.169       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .37305E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .12396E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2085       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .55355       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6647.781     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     1268 TOTAL
                     EDM=   .91E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.349        10.798        .10183E-05    .16886E-04
   2  Prefactor     173.82        5.1246        .23750E-06    .50564E-02
   3  Prefactor     6.2612        4.8872       -.10353E-05   -.16871E-04
   4  Prefactor     27.855        29.216        .55626E-06   -.22299E-03
   5  norm          4.0183        3.2409        .19287E-05   -.14643E-03
   6  Prefactor     .10000E-03    36.483       -.77536E-05** at limit **
   7  Prefactor     .10000E-03    5.0233        .13663E-05** at limit **
   8  norm          1.0293        .81405       -.49980E-06    .27227E-03
   9  Prefactor     8.7594        33.746       -.27512E-05   -.64645E-04
  10  norm          4.2024        2.9042       -.11264E-05    .11926E-02
  11  Prefactor     26.652        42.464       -.11132E-04   -.55904E-04
  12  Prefactor     7.7640        8.7877        .31429E-06    .47527E-04
  13  Prefactor     4.1669        4.4151        .16875E-05   -.33353E-04
  14  norm          69.558        19.011        .90592E-06    .15308E-03
  15  Prefactor     2.4859        421.17        .44220E-04   -.63338E-04
  16  Prefactor     .10000E-03    6.0288       -.45486E-06** at limit **
  17  Prefactor     14.354        13.010       -.38422E-05    .87527E-05
  18  norm          .10000E-03    3.3475        .10788E-05** at limit **
  19  norm          .10000E-03    3.1224       -.25868E-05** at limit **
  20  Prefactor     14.027        5.7201       -.10177E-05    .16933E-02
  21  Prefactor     .10000E-03    4.9997        .31660E-05** at limit **
  22  Prefactor     .10000E-03    17.907       -.50417E-05** at limit **
  23  Normalizat    1.2109        .20694       -.42701E-05    .54703E-04
  24  Prefactor     .55250        .15472        .44755E-05    .23940E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.3486
  Prefactor  = 173.82
  Prefactor  = 6.2612
  Prefactor  = 27.8547
  norm       = 4.01826
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.02934
  Prefactor  = 8.75942
  norm       = 4.20239
  Prefactor  = 26.6522
  Prefactor  = 7.76398
  Prefactor  = 4.16689
  norm       = 69.5579
  Prefactor  = 2.48587
  Prefactor  = 0.0001
  Prefactor  = 14.3545
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 14.0268
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.21089
  Prefactor  = 0.552499
 **********
 **   18 **HESSE 
 **********

 FCN=   6647.781     FROM HESSE     STATUS=OK           463 CALLS     1731 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.349        10.846        .24764E-02   -1.4899    
   2  Prefactor     173.82        83.550        .76478E-03   -1.3063    
   3  Prefactor     6.2612        4.8983        .40077E-02   -1.5207    
   4  Prefactor     27.855        29.369        .19054E-02   -1.4652    
   5  norm          4.0183        3.2929        .50285E-02   -1.5307    
   6  Prefactor     .10000E-03    36.481        .96497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.0022        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.0293        .84201        .12595E-01   -1.5505    
   9  Prefactor     8.7594        31.290        .31507E-02   -1.5116    
  10  norm          4.2024        2.5456        .49545E-02   -1.5298    
  11  Prefactor     26.652        43.023        .19837E-02   -1.4675    
  12  Prefactor     7.7640        8.7968        .35941E-02   -1.5151    
  13  Prefactor     4.1669        4.4175        .49333E-02   -1.5300    
  14  norm          69.558        19.077        .12026E-02   -1.4038    
  15  Prefactor     2.4859        492.66        .40366E-02   -1.5393    
  16  Prefactor     .10000E-03    6.0301        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.354        14.004        .26915E-02   -1.4950    
  18  norm          .10000E-03    .57775        .34350E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.0339        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     14.027        31.325        .26602E-02   -1.4959    
  21  Prefactor     .10000E-03    4.9913        .10648E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    17.934        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2109        .17674        .53840E-01   -.86267    
  24  Prefactor     .55250        .13280        .59275E-01   -1.0963    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36928e-07
Minuit parameter uncertainties:
  1  10.8468
  2  83.6067
  3  4.8986
  4  29.3841
  5  3.29309
  6  0.000152927
  7  2.30147e-06
  8  0.842021
  9  31.3491
  10  2.5457
  11  43.0734
  12  8.79829
  13  4.41787
  14  19.0791
  15  70.5867
  16  4.70181e-06
  17  14.0069
  18  2.40638e-06
  19  3.20905e-06
  20  31.3617
  21  4.26047e-06
  22  5.25001e-05
  23  0.176828
  24  0.132875
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  2.665e+01  4.307e+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:  5.525e-01  1.329e-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.211e+00  1.768e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/572638/likelihoodResults_625017601_625276801_4FGL_J2253.2-1232_daily_bin1488.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) = 6647.77720057
delta logL = 0.00408062187944

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6647.76765684
delta logL = 0.0136243527622

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.306       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9065       1.0000          .0000       10.000    
     3 'Normalizat'    1.2042       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55618       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=   6647.768     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      286 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.260        1005.5        .91154E-04    .11986E-03
   2  Index         2.9078        5.3449        .87246E-02    .79997E-04
   3  Normalizat    1.2025        .26564        .23873E-03    .67967E-03
   4  Prefactor     .55756        .18940        .26117E-03   -.93050E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.26
  Index      = 2.90785
  Normalizat = 1.20246
  Prefactor  = 0.557557
 **********
 **   18 **HESSE 
 **********

 FCN=   6647.768     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.260        60.064        .36462E-05   -1.4830    
   2  Index         2.9078        1.9808        .34898E-03   -.43172    
   3  Normalizat    1.2025        .20603        .47746E-04   -.86527    
   4  Prefactor     .55756        .15475        .52234E-04   -1.0940    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.94286e-09
Minuit parameter uncertainties:
  1  60.2533
  2  2.04968
  3  0.206168
  4  0.154871
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/572638': 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) = 6647.76761185
delta logL = 0.0136693411705

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.926e+01  6.025e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.908e+00  2.050e+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:  5.576e-01  1.549e-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.202e+00  2.062e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/572638/cmap_HighResolution_625017601_625276801_4FGL_J2253.2-1232_daily_bin1488.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.31e-02', job_status='DONE', photon_flux_upper_limit='1.67e-07', time_completed='2021-09-29 01:56:44.239828', job_id='572638', GAL2='0.56', fit_tolerance='1e-08', EG2='1.20', EG='1.21', time_epoch_completed='1632905804.24', return_code2='0', ts='0.84', comment='SUCCESS', return_code='0', GAL='0.55', dlogl='1.37e-02', ts2='0.94', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1488' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:56:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 572638: <4FGL_J2253.2-1232_daily_bin1488> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1488> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 01:45:12 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 01:45:13 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:45:13 2021
Terminated at Wed Sep 29 01:56:45 2021
Results reported at Wed Sep 29 01:56:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1488 343.308 -12.5416 625017601 625276801 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 :                                   568.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             308.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            693 sec.

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

