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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1442
RA = 343.308, Dec = -12.5416
tmin = 613094401, tmax = 613353601
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='571419', job_status='RUN', time_executed='2021-09-29 01:41:40.299521', time_epoch_executed='1632904900.3' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1442'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/571419

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/571419/ft1_4FGL_J2253.2-1232_daily_bin1442.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/571419/ft2_4FGL_J2253.2-1232_daily_bin1442.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/571419/ft1_4FGL_J2253.2-1232_daily_bin1442.fits outfile=/scratch/kocevski/571419/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1442.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=613094401.0 tmax=613353601.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 2.94
user 2.75
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/571419/ft1_filtered_4FGL_J2253.2-1232_daily_bin1442.fits" evtable="EVENTS" scfile=/scratch/kocevski/571419/ft2_4FGL_J2253.2-1232_daily_bin1442.fits sctable="SC_DATA" outfile=/scratch/kocevski/571419/ltcube_613094401_613353601_4FGL_J2253.2-1232_daily_bin1442.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/571419/ft2_4FGL_J2253.2-1232_daily_bin1442.fits
.....................!
real 12.46
user 12.12
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/571419/ft1_filtered_4FGL_J2253.2-1232_daily_bin1442.fits evtable="EVENTS" scfile=/scratch/kocevski/571419/ft2_4FGL_J2253.2-1232_daily_bin1442.fits sctable="SC_DATA" expcube=/scratch/kocevski/571419/ltcube_613094401_613353601_4FGL_J2253.2-1232_daily_bin1442.fits outfile=/scratch/kocevski/571419/expmap_613094401_613353601_4FGL_J2253.2-1232_daily_bin1442.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/571419/ltcube_613094401_613353601_4FGL_J2253.2-1232_daily_bin1442.fits
.....................!
real 190.30
user 185.81
sys 4.10

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/571419/ft1_filtered_4FGL_J2253.2-1232_daily_bin1442.fits scfile=/scratch/kocevski/571419/ft2_4FGL_J2253.2-1232_daily_bin1442.fits outfile=/scratch/kocevski/571419/cmap_613094401_613353601_4FGL_J2253.2-1232_daily_bin1442.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/571419/ft1_filtered_4FGL_J2253.2-1232_daily_bin1442.fits scfile=/scratch/kocevski/571419/ft2_4FGL_J2253.2-1232_daily_bin1442.fits outfile=/scratch/kocevski/571419/cmap_HighResolution_613094401_613353601_4FGL_J2253.2-1232_daily_bin1442.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/571419/ft1_filtered_4FGL_J2253.2-1232_daily_bin1442.fits evtable="EVENTS" scfile=/scratch/kocevski/571419/ft2_4FGL_J2253.2-1232_daily_bin1442.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/571419/Model_4FGL_J2253.2-1232_daily_bin1442.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/571419/ft1_filtered_4FGL_J2253.2-1232_daily_bin1442.fits.....................!
real 54.63
user 53.28
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2113       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    70.961       1.0000         .10000E-03   10000.    
     5 'norm      '    1.7699       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .27131E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.9197       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.6289       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.532       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    48.665       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.3863       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.7326       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10296E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0485       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .79447       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=   6467.648     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     3178 TOTAL
                     EDM=   .80E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2125        12.459        .31506E-05   -.10759E-03
   2  Prefactor     .10000E-03    38.363       -.12597E-06** at limit **
   3  Prefactor     .10000E-03    3.0067       -.97475E-07** at limit **
   4  Prefactor     70.968        63.823        .34469E-07    .29034E-04
   5  norm          1.7703        2.6135        .24054E-07    .21144E-04
   6  Prefactor     .10003E-03    514.87       -.83203E-05** at limit **
   7  Prefactor     .10000E-03    15.575       -.20566E-06** at limit **
   8  norm          1.9197        .98707        .15116E-07   -.56622E-04
   9  Prefactor     .10000E-03    9.8633        .46060E-07** at limit **
  10  norm          2.6292        1.0683       -.40051E-07    .70353E-04
  11  Prefactor     .10000E-03    24.116       -.50166E-06** at limit **
  12  Prefactor     13.532        9.4378        .21027E-07    .25680E-05
  13  Prefactor     .10000E-03    2.7350        .38234E-08** at limit **
  14  norm          48.667        14.066        .55483E-07   -.23492E-05
  15  Prefactor     2.3976        161.53        .30500E-05    .97466E-05
  16  Prefactor     .10000E-03    7.4146        .10576E-07** at limit **
  17  Prefactor     .10000E-03    6.0532        .67686E-06** at limit **
  18  norm          .10000E-03    .33841        .19994E-07** at limit **
  19  norm          3.7320        3.4245        .36684E-07   -.58272E-04
  20  Prefactor     .10000E-03    85.870        .14747E-06** at limit **
  21  Prefactor     .10000E-03    19.008        .79077E-06** at limit **
  22  Prefactor     .10000E-03    40.459        .45818E-06** at limit **
  23  Normalizat    1.0485        .17579       -.85656E-06    .66451E-05
  24  Prefactor     .79442        .13462       -.91011E-07   -.24687E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.21254
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 70.9679
  norm       = 1.77026
  Prefactor  = 0.000100033
  Prefactor  = 0.0001
  norm       = 1.91975
  Prefactor  = 0.0001
  norm       = 2.62925
  Prefactor  = 0.0001
  Prefactor  = 13.5318
  Prefactor  = 0.0001
  norm       = 48.6665
  Prefactor  = 2.39764
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.73195
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 1.04848
  Prefactor  = 0.794417
 **********
 **   18 **HESSE 
 **********

 FCN=   6467.648     FROM HESSE     STATUS=OK           391 CALLS     3569 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2125        12.518        .69954E-03   -1.5135    
   2  Prefactor     .10000E-03    38.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.1079        .27192E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     70.968        63.835        .47655E-04   -1.4021    
   5  norm          1.7703        2.5904        .15088E-03   -1.5442    
   6  Prefactor     .10003E-03    535.56        .42863E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9197        .97914        .54016E-04   -1.5431    
   9  Prefactor     .10000E-03    9.8886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6292        1.0625        .25151E-04   -1.5384    
  11  Prefactor     .10000E-03    24.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.532        9.4374        .10889E-03   -1.4972    
  13  Prefactor     .10000E-03    2.7394        .12989E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          48.667        14.067        .57482E-04   -1.4312    
  15  Prefactor     2.3976        158.09        .26515E-03   -1.5398    
  16  Prefactor     .10000E-03    7.4176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.0379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .34895        .91318E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.7320        3.4109        .13559E-03   -1.5322    
  20  Prefactor     .10000E-03    86.745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    19.625        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    40.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0485        .20169        .24657E-03   -.91423    
  24  Prefactor     .79442        .15549        .22016E-03   -.99934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64982e-10
Minuit parameter uncertainties:
  1  12.5221
  2  3.90895e-05
  3  8.48074e-06
  4  63.897
  5  2.59053
  6  0.00852548
  7  3.41526e-05
  8  0.979147
  9  2.4551e-05
  10  1.06252
  11  0.00020528
  12  9.43842
  13  1.74965e-06
  14  14.0683
  15  39.0453
  16  1.76031e-06
  17  1.74596e-05
  18  2.55693e-07
  19  3.41106
  20  4.61147e-05
  21  0.000231364
  22  0.000216025
  23  0.201838
  24  0.155573
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  2.053e-04  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.944e-01  1.556e-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.048e+00  2.018e-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: 9.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/571419/likelihoodResults_613094401_613353601_4FGL_J2253.2-1232_daily_bin1442.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) = 6467.64854984
delta logL = -0.000195786639779

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6467.64835488
delta logL = -8.33624653751e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9232       1.0000          .0000       10.000    
     3 'Normalizat'    1.0485       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79442       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=   6467.648     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      275 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10284E-03    6.0320        .18142E-01** at limit **
   2  Index         2.8430        6.3929        .50000        .16609E-04
   3  Normalizat    1.0485        .24291E-02    .24657E-03   -.28534E-03
   4  Prefactor     .79442        .19233E-02    .22016E-03   -.90780E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102844
  Index      = 2.84298
  Normalizat = 1.04848
  Prefactor  = 0.794419
 **********
 **   18 **HESSE 
 **********

 FCN=   6467.648     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      304 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10284E-03    293.90        .67926E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8430        6.1275        .50000       -.44605    
   3  Normalizat    1.0485        .16908E-01    .49315E-04   -.91424    
   4  Prefactor     .79442        .13388E-01    .88064E-05   -.99934    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.33229e-08
Minuit parameter uncertainties:
  1  0.0581083
  2  427.997
  3  0.0169086
  4  0.0133881
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/571419': 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) = 6467.64835462
delta logL = -5.73647412239e-07

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.028e-04  5.811e-02  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.843e+00  4.280e+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.944e-01  1.339e-02  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.048e+00  1.691e-02  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/571419/cmap_HighResolution_613094401_613353601_4FGL_J2253.2-1232_daily_bin1442.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.16e-03', job_status='DONE', photon_flux_upper_limit='9.12e-08', time_completed='2021-09-29 01:53:08.542352', job_id='571419', GAL2='0.79', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1632905588.54', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='-5.74e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1442' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:53:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 571419: <4FGL_J2253.2-1232_daily_bin1442> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1442 343.308 -12.5416 613094401 613353601 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 :                                   668.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            742 sec.

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

