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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1387
RA = 343.308, Dec = -12.5416
tmin = 598838401, tmax = 599097601
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='571335', job_status='RUN', time_executed='2021-09-29 01:42:39.049777', time_epoch_executed='1632904959.05' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1387'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/571335

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/571335/ft1_4FGL_J2253.2-1232_daily_bin1387.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/571335/ft2_4FGL_J2253.2-1232_daily_bin1387.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/571335/ft1_4FGL_J2253.2-1232_daily_bin1387.fits outfile=/scratch/kocevski/571335/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1387.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=598838401.0 tmax=599097601.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.87
user 2.66
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/571335/ft1_filtered_4FGL_J2253.2-1232_daily_bin1387.fits" evtable="EVENTS" scfile=/scratch/kocevski/571335/ft2_4FGL_J2253.2-1232_daily_bin1387.fits sctable="SC_DATA" outfile=/scratch/kocevski/571335/ltcube_598838401_599097601_4FGL_J2253.2-1232_daily_bin1387.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/571335/ft2_4FGL_J2253.2-1232_daily_bin1387.fits
.....................!
real 12.21
user 11.82
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/571335/ft1_filtered_4FGL_J2253.2-1232_daily_bin1387.fits evtable="EVENTS" scfile=/scratch/kocevski/571335/ft2_4FGL_J2253.2-1232_daily_bin1387.fits sctable="SC_DATA" expcube=/scratch/kocevski/571335/ltcube_598838401_599097601_4FGL_J2253.2-1232_daily_bin1387.fits outfile=/scratch/kocevski/571335/expmap_598838401_599097601_4FGL_J2253.2-1232_daily_bin1387.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/571335/ltcube_598838401_599097601_4FGL_J2253.2-1232_daily_bin1387.fits
.....................!
real 190.70
user 185.23
sys 5.16

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/571335/ft1_filtered_4FGL_J2253.2-1232_daily_bin1387.fits scfile=/scratch/kocevski/571335/ft2_4FGL_J2253.2-1232_daily_bin1387.fits outfile=/scratch/kocevski/571335/cmap_598838401_599097601_4FGL_J2253.2-1232_daily_bin1387.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/571335/ft1_filtered_4FGL_J2253.2-1232_daily_bin1387.fits scfile=/scratch/kocevski/571335/ft2_4FGL_J2253.2-1232_daily_bin1387.fits outfile=/scratch/kocevski/571335/cmap_HighResolution_598838401_599097601_4FGL_J2253.2-1232_daily_bin1387.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=343.308 yref=-12.5416 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.8608       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.298       1.0000         .10000E-03   10000.    
     5 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.406       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .32866       1.0000         .10000E-03   10000.    
     8 'norm      '    1.6204       1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.191       1.0000         .10000E-03   10000.    
    10 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11050E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    19.806       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.081       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.9860       1.0000         .10000E-03   10000.    
    18 'norm      '    .10170       1.0000         .10000E-03   10000.    
    19 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .99124       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .81818       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0519       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=   8765.136     FROM MIGRAD    STATUS=CONVERGED    543 CALLS     2767 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.6283       -.94866E-08** at limit **
   2  Prefactor     .10000E-03    24.353       -.43780E-05** at limit **
   3  Prefactor     1.8613        2.6004       -.17344E-06   -.91563E-03
   4  Prefactor     13.295        27.600       -.38881E-05    .61507E-05
   5  norm          .10000E-03    1.2161        .61433E-07** at limit **
   6  Prefactor     15.396        38.847       -.18705E-04   -.31843E-05
   7  Prefactor     .30865        5.6931       -.25960E-05    .77631E-03
   8  norm          1.6204        .68650        .10168E-07   -.15452E-04
   9  Prefactor     28.181        12.374       -.67867E-06   -.43528E-03
  10  norm          .10000E-03    .38787        .11624E-06** at limit **
  11  Prefactor     .10000E-03    27.478        .60865E-05** at limit **
  12  Prefactor     .10000E-03    6.1460        .10710E-07** at limit **
  13  Prefactor     .10002E-03    2.9624       -.56598E-06** at limit **
  14  norm          19.806        9.2871       -.93945E-06    .39912E-04
  15  Prefactor     .10000E-03    21.578        .21804E-05** at limit **
  16  Prefactor     24.078        25.408       -.21859E-05   -.18244E-04
  17  Prefactor     2.9852        4.3841        .15673E-05   -.32435E-03
  18  norm          .10170        .41537       -.63319E-06   -.15311E-02
  19  norm          .10000E-03    1.5256       -.47804E-07** at limit **
  20  Prefactor     .10000E-03    21.977       -.40790E-06** at limit **
  21  Prefactor     .96829        9.0392        .43189E-06   -.54743E-03
  22  Prefactor     .10000E-03    40.486        .13154E-05** at limit **
  23  Normalizat    .81831        .15284        .69681E-06    .29980E-03
  24  Prefactor     1.0519        .11933        .76610E-06    .27217E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.86132
  Prefactor  = 13.2953
  norm       = 0.0001
  Prefactor  = 15.3957
  Prefactor  = 0.308651
  norm       = 1.62042
  Prefactor  = 28.1805
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100023
  norm       = 19.8059
  Prefactor  = 0.0001
  Prefactor  = 24.0778
  Prefactor  = 2.98515
  norm       = 0.101697
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.968286
  Prefactor  = 0.0001
  Normalizat = 0.818312
  Prefactor  = 1.05185
 **********
 **   18 **HESSE 
 **********

 FCN=   8765.136     FROM HESSE     STATUS=OK           407 CALLS     3174 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.6852        .17414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    24.362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8613        2.6021        .17206E-03   -1.5435    
   4  Prefactor     13.295        27.603        .10984E-03   -1.4979    
   5  norm          .10000E-03    1.2621        .20146E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.396        38.343        .10204E-03   -1.4923    
   7  Prefactor     .30865        74.509        .41617E-02   -1.5597    
   8  norm          1.6204        .68438        .48264E-04   -1.5453    
   9  Prefactor     28.181        10.772        .75455E-04   -1.4646    
  10  norm          .10000E-03    .52690        .97268E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    27.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.3342        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10002E-03    22.342        .31056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          19.806        9.2832        .89998E-04   -1.4818    
  15  Prefactor     .10000E-03    21.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     24.078        25.206        .81628E-04   -1.4726    
  17  Prefactor     2.9852        4.3242        .22678E-03   -1.5362    
  18  norm          .10170        .79524        .11877E-02   -1.5644    
  19  norm          .10000E-03    1.5350        .11285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    21.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .96829        40.367        .51250E-02   -1.5511    
  22  Prefactor     .10000E-03    40.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .81831        .17700        .27298E-03   -.99393    
  24  Prefactor     1.0519        .13819        .19811E-03   -.91021    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.38783e-08
Minuit parameter uncertainties:
  1  4.38591e-06
  2  3.1519e-06
  3  2.60229
  4  27.6298
  5  7.62807e-06
  6  38.4041
  7  9.6016
  8  0.68438
  9  10.7725
  10  9.04716e-06
  11  2.93702e-05
  12  9.86205e-06
  13  0.0014448
  14  9.28383
  15  8.71553e-05
  16  25.2176
  17  4.32466
  18  0.568496
  19  5.60439e-06
  20  9.57298e-06
  21  12.5123
  22  5.25959e-05
  23  0.177127
  24  0.138242
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.000e-04  2.937e-05  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:  1.052e+00  1.382e-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:  8.183e-01  1.771e-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: 7.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/571335/likelihoodResults_598838401_599097601_4FGL_J2253.2-1232_daily_bin1387.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) = 8765.13655943
delta logL = -0.000171879091795

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8765.1363873
delta logL = 2.50685843639e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10293E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7139       1.0000          .0000       10.000    
     3 'Normalizat'    .81837       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0518       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.

 FCN=   8765.136     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      219 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10007E-03    3.2347        .13181    ** at limit **
   2  Index         2.8076        2.9731        .50000       -.28819E-04
   3  Normalizat    .81831        .26281E-02    .43850E-01   -.46884E-04
   4  Prefactor     1.0519        .21483E-02    .39805E-01    .13087E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100065
  Index      = 2.80758
  Normalizat = 0.81831
  Prefactor  = 1.05185
 **********
 **   18 **HESSE 
 **********

 FCN=   8765.136     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      252 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10007E-03    6327.0        .45549E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8076        6.3962        .50000       -.45391    
   3  Normalizat    .81831        .28359E-01    .27298E-03   -.99393    
   4  Prefactor     1.0519        .23158E-01    .19811E-03   -.91021    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.07043e-07
Minuit parameter uncertainties:
  1  0.0276338
  2  32.9037
  3  0.0283594
  4  0.0231578
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/571335': 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) = 8765.13638663
delta logL = 9.17934812605e-07

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.001e-04  2.763e-02  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.808e+00  3.290e+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:  1.052e+00  2.316e-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:  8.183e-01  2.836e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/571335/cmap_HighResolution_598838401_599097601_4FGL_J2253.2-1232_daily_bin1387.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.87e-03', job_status='DONE', photon_flux_upper_limit='7.48e-08', time_completed='2021-09-29 01:55:59.516776', job_id='571335', GAL2='1.05', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1632905759.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='9.18e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1387' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:55:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 571335: <4FGL_J2253.2-1232_daily_bin1387> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1387 343.308 -12.5416 598838401 599097601 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 :                                   765.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             294.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            919 sec.

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

