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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1093
RA = 343.308, Dec = -12.5416
tmin = 522633601, tmax = 522892801
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='570880', job_status='RUN', time_executed='2021-09-29 01:42:00.197938', time_epoch_executed='1632904920.2' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1093'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/570880

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/570880/ft1_4FGL_J2253.2-1232_daily_bin1093.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/570880/ft2_4FGL_J2253.2-1232_daily_bin1093.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/570880/ft1_4FGL_J2253.2-1232_daily_bin1093.fits outfile=/scratch/kocevski/570880/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1093.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=522633601.0 tmax=522892801.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.34
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/570880/ft1_filtered_4FGL_J2253.2-1232_daily_bin1093.fits" evtable="EVENTS" scfile=/scratch/kocevski/570880/ft2_4FGL_J2253.2-1232_daily_bin1093.fits sctable="SC_DATA" outfile=/scratch/kocevski/570880/ltcube_522633601_522892801_4FGL_J2253.2-1232_daily_bin1093.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/570880/ft2_4FGL_J2253.2-1232_daily_bin1093.fits
.....................!
real 15.59
user 15.15
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/570880/ft1_filtered_4FGL_J2253.2-1232_daily_bin1093.fits evtable="EVENTS" scfile=/scratch/kocevski/570880/ft2_4FGL_J2253.2-1232_daily_bin1093.fits sctable="SC_DATA" expcube=/scratch/kocevski/570880/ltcube_522633601_522892801_4FGL_J2253.2-1232_daily_bin1093.fits outfile=/scratch/kocevski/570880/expmap_522633601_522892801_4FGL_J2253.2-1232_daily_bin1093.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/570880/ltcube_522633601_522892801_4FGL_J2253.2-1232_daily_bin1093.fits
.....................!
real 190.03
user 184.72
sys 4.93

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/570880/ft1_filtered_4FGL_J2253.2-1232_daily_bin1093.fits scfile=/scratch/kocevski/570880/ft2_4FGL_J2253.2-1232_daily_bin1093.fits outfile=/scratch/kocevski/570880/cmap_522633601_522892801_4FGL_J2253.2-1232_daily_bin1093.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/570880/ft1_filtered_4FGL_J2253.2-1232_daily_bin1093.fits scfile=/scratch/kocevski/570880/ft2_4FGL_J2253.2-1232_daily_bin1093.fits outfile=/scratch/kocevski/570880/cmap_HighResolution_522633601_522892801_4FGL_J2253.2-1232_daily_bin1093.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/570880/ft1_filtered_4FGL_J2253.2-1232_daily_bin1093.fits evtable="EVENTS" scfile=/scratch/kocevski/570880/ft2_4FGL_J2253.2-1232_daily_bin1093.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/570880/Model_4FGL_J2253.2-1232_daily_bin1093.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/570880/ft1_filtered_4FGL_J2253.2-1232_daily_bin1093.fits.....................!
real 46.41
user 45.02
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.172       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .50734       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.9064       1.0000         .10000E-03   10000.    
     5 'norm      '    2.9788       1.0000         .10000E-03   10000.    
     6 'Prefactor '    49.510       1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.798       1.0000         .10000E-03   10000.    
     8 'norm      '    .73710       1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.177       1.0000         .10000E-03   10000.    
    10 'norm      '    1.4761       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11710E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.4748       1.0000         .10000E-03   10000.    
    14 'norm      '    .11341E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    51.817       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.9296       1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.404       1.0000         .10000E-03   10000.    
    18 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    13.922       1.0000         .10000E-03   10000.    
    20 'Prefactor '    51.571       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .31499       1.0000         .10000E-03   10000.    
    22 'Prefactor '    42.204       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3204       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .70447       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4834.753     FROM MIGRAD    STATUS=FAILED       981 CALLS     3287 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.173        11.921        .11482E-03   -.12872E-05
   2  Prefactor     .10000E-03    25.161        .18142E-02** at limit **
   3  Prefactor     .50824        6.7382        .24489E-02    .28431E-02
   4  Prefactor     2.8879        393.30        .23833E-03    .66781E-05
   5  norm          2.9787        2.7935        .10836E-03    .10177E-04
   6  Prefactor     49.533        53.429        .28496E-03   -.18551E-04
   7  Prefactor     16.784        22.350        .97721E-04    .23268E-06
   8  norm          .73703        .78322        .64195E-03   -.24993E-03
   9  Prefactor     30.159        45.378        .72936E-04    .22679E-03
  10  norm          1.4775        3.5260        .82128E-04    .61517E-03
  11  Prefactor     .10000E-03    33.330        .18142E-02** at limit **
  12  Prefactor     .10021E-03    81.849        .48124E-02** at limit **
  13  Prefactor     6.4751        14.846        .15772E-03    .79288E-05
  14  norm          .10020E-03    73.074        .40576E-02** at limit **
  15  Prefactor     51.889        107.29        .55715E-04    .17712E-04
  16  Prefactor     6.9265        46.471        .15241E-03    .64077E-04
  17  Prefactor     13.382        22.741        .10941E-03    .52684E-04
  18  norm          .10000E-03    .74212        .99460E-03** at limit **
  19  norm          13.924        8.5295        .10735E-03    .78265E-04
  20  Prefactor     51.604        110.57        .55847E-04    .20515E-03
  21  Prefactor     .29105        86.716        .86232E-01    .22064E-03
  22  Prefactor     42.210        86.607        .61707E-04    .52692E-05
  23  Normalizat    1.3207        .29916        .25680E-03    .49367E-03
  24  Prefactor     .70430        .20267        .25008E-03    .25894E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4834.753     FROM SIMPLEX   STATUS=UNCHANGED   1173 CALLS     4460 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.173        11.921        .56258E-06   -1.5010    
   2  Prefactor     .10000E-03    25.161        .10280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .50824        6.7382        .57773E-06   -1.5565    
   4  Prefactor     2.8879        393.30        .60038E-06   -1.5368    
   5  norm          2.9787        2.7935        .57082E-06   -1.5363    
   6  Prefactor     49.533        53.429        .53150E-06   -1.4299    
   7  Prefactor     16.784        22.350        .55205E-06   -1.4888    
   8  norm          .73703        .78322        .57550E-06   -1.5536    
   9  Prefactor     30.159        45.378        .54247E-06   -1.4609    
  10  norm          1.4775        3.5260        .57075E-06   -1.5465    
  11  Prefactor     .10000E-03    33.330        .11338E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10021E-03    81.849        .13141E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.4751        14.846        .56185E-06   -1.5199    
  14  norm          .10020E-03    73.074        .32149E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     51.889        107.29        .53029E-06   -1.4266    
  16  Prefactor     6.9265        46.471        .56823E-06   -1.5182    
  17  Prefactor     13.382        22.741        .55795E-06   -1.4976    
  18  norm          .10000E-03    .74212        .36035E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          13.924        8.5295        .55540E-06   -1.4961    
  20  Prefactor     51.604        110.57        .53275E-06   -1.4270    
  21  Prefactor     .29105        86.716        .63074E-06   -1.5600    
  22  Prefactor     42.210        86.607        .53498E-06   -1.4408    
  23  Normalizat    1.3207        .29916        .30766E-06   -.82950    
  24  Prefactor     .70430        .20267        .38163E-06   -1.0336    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4834.753     FROM MIGRAD    STATUS=CONVERGED    391 CALLS     4851 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.173        11.920        .45928E-05     .0000    
   2  Prefactor     .10000E-03    25.162        .36285E-03** at limit **
   3  Prefactor     .50826        6.7187        .48978E-03    .11253E-03
   4  Prefactor     2.8879        393.47        .95333E-05    .47701E-06
   5  norm          2.9787        2.7930        .43344E-05    .47213E-05
   6  Prefactor     49.533        53.413        .11398E-04   -.59843E-06
   7  Prefactor     16.784        22.350        .39089E-05   -.17451E-05
   8  norm          .73704        .78286        .25678E-04   -.14610E-04
   9  Prefactor     30.159        45.401        .14587E-04    .44424E-04
  10  norm          1.4775        3.5276        .32851E-05    .14258E-03
  11  Prefactor     .10000E-03    33.332        .36285E-03** at limit **
  12  Prefactor     .10000E-03    83.374        .96247E-03** at limit **
  13  Prefactor     6.4751        14.845        .63089E-05   -.68476E-05
  14  norm          .10000E-03    74.744        .81152E-03** at limit **
  15  Prefactor     51.890        107.29        .11143E-04   -.22446E-05
  16  Prefactor     6.9263        46.283        .60962E-05   -.35060E-04
  17  Prefactor     13.382        22.740        .43762E-05    .31174E-06
  18  norm          .10000E-03    .74277        .19892E-03** at limit **
  19  norm          13.924        8.5293        .42939E-05    .84725E-05
  20  Prefactor     51.601        102.34        .11169E-04   -.12865E-03
  21  Prefactor     .29121        56.627        .10230        .13146E-03
  22  Prefactor     42.210        86.603        .12341E-04   -.16581E-05
  23  Normalizat    1.3207        .29936        .51360E-04   -.34442E-04
  24  Prefactor     .70430        .20276        .10003E-04    .47733E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.1735
  Prefactor  = 0.0001
  Prefactor  = 0.508264
  Prefactor  = 2.88787
  norm       = 2.97871
  Prefactor  = 49.5329
  Prefactor  = 16.7837
  norm       = 0.737035
  Prefactor  = 30.1594
  norm       = 1.47754
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 6.47515
  norm       = 0.000100002
  Prefactor  = 51.8897
  Prefactor  = 6.9263
  Prefactor  = 13.3821
  norm       = 0.0001
  norm       = 13.9241
  Prefactor  = 51.6015
  Prefactor  = 0.291206
  Prefactor  = 42.2105
  Normalizat = 1.3207
  Prefactor  = 0.704302
 **********
 **   18 **HESSE 
 **********

 FCN=   4834.753     FROM HESSE     STATUS=OK           385 CALLS     5236 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.173        11.920        .45928E-05   -1.5010    
   2  Prefactor     .10000E-03    25.162        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .50826        6.7128        .97956E-04   -1.5565    
   4  Prefactor     2.8879        404.57        .19067E-05   -1.5368    
   5  norm          2.9787        2.7929        .86687E-06   -1.5363    
   6  Prefactor     49.533        53.404        .22797E-05   -1.4299    
   7  Prefactor     16.784        22.347        .78177E-06   -1.4888    
   8  norm          .73704        .78315        .10271E-05   -1.5536    
   9  Prefactor     30.159        45.409        .29174E-05   -1.4609    
  10  norm          1.4775        3.5290        .65702E-06   -1.5465    
  11  Prefactor     .10000E-03    33.333        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    83.437        .19249E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.4751        14.865        .12618E-05   -1.5199    
  14  norm          .10000E-03    74.813        .16230E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     51.890        107.43        .22286E-05   -1.4266    
  16  Prefactor     6.9263        46.751        .12192E-05   -1.5182    
  17  Prefactor     13.382        22.761        .43762E-05   -1.4976    
  18  norm          .10000E-03    .74280        .39784E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          13.924        8.5315        .85877E-06   -1.4961    
  20  Prefactor     51.601        104.84        .22339E-05   -1.4270    
  21  Prefactor     .29121        65.104        .96568E-01   -1.5600    
  22  Prefactor     42.210        86.484        .24683E-05   -1.4408    
  23  Normalizat    1.3207        .29832        .10272E-04   -.82950    
  24  Prefactor     .70430        .20273        .20007E-05   -1.0336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61591e-09
Minuit parameter uncertainties:
  1  11.9228
  2  1.1464e-06
  3  3.6944
  4  68.8408
  5  2.79301
  6  53.4558
  7  22.3577
  8  0.783162
  9  45.4614
  10  3.52949
  11  7.98005e-06
  12  0.000833423
  13  14.8734
  14  0.000789462
  15  107.835
  16  36.03
  17  22.7759
  18  1.17587e-06
  19  8.53225
  20  105.219
  21  8.71642
  22  86.7424
  23  0.298712
  24  0.20294
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  7.980e-06  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:  7.043e-01  2.029e-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.321e+00  2.987e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/570880/likelihoodResults_522633601_522892801_4FGL_J2253.2-1232_daily_bin1093.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4834.753476
delta logL = -0.000142909951137

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4834.75333339
delta logL = -2.96485268336e-07

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 'Index     '    3.1607       1.0000          .0000       10.000    
     3 'Normalizat'    1.3207       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70430       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=   4834.753     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      289 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10198E-03    .13075        .11602    ** at limit **
   2  Index         3.0840        6.7920        .50000        .57609E-05
   3  Normalizat    1.3207        .65117E-03    .25680E-03    .85894E-04
   4  Prefactor     .70430        .48113E-03    .25008E-03    .58370E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101984
  Index      = 3.08397
  Normalizat = 1.3207
  Prefactor  = 0.704301
 **********
 **   18 **HESSE 
 **********

 FCN=   4834.753     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      320 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10198E-03    75.776        .42946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0840        5.2239        .50000       -.39327    
   3  Normalizat    1.3207        .91576E-02    .51360E-04   -.82950    
   4  Prefactor     .70430        .67663E-02    .10003E-04   -1.0336    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.52855e-09
Minuit parameter uncertainties:
  1  0.0245558
  2  359.529
  3  0.00915763
  4  0.00676629
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/570880': 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): 102
logL (Free Index) = 4834.75333331
delta logL = -2.2256608645e-07

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.020e-04  2.456e-02  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  3.084e+00  3.595e+02  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:  7.043e-01  6.766e-03  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.321e+00  9.158e-03  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/570880/cmap_HighResolution_522633601_522892801_4FGL_J2253.2-1232_daily_bin1093.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', job_status='DONE', photon_flux_upper_limit='1.45e-07', time_completed='2021-09-29 01:53:07.818890', job_id='570880', GAL2='0.70', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1632905587.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='-2.23e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1093' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:53:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 570880: <4FGL_J2253.2-1232_daily_bin1093> in cluster <slac> Done

Job <4FGL_J2253.2-1232_daily_bin1093> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 01:40:11 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 01:40:12 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:12 2021
Terminated at Wed Sep 29 01:53:08 2021
Results reported at Wed Sep 29 01:53:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1093 343.308 -12.5416 522633601 522892801 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 :                                   661.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             302.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            777 sec.

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

