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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1525
RA = 343.308, Dec = -12.5416
tmin = 634608001, tmax = 634867201
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='572696', job_status='RUN', time_executed='2021-09-29 01:47:54.127896', time_epoch_executed='1632905274.13' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1525'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/572696

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/572696/ft1_4FGL_J2253.2-1232_daily_bin1525.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/572696/ft2_4FGL_J2253.2-1232_daily_bin1525.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/572696/ft1_4FGL_J2253.2-1232_daily_bin1525.fits outfile=/scratch/kocevski/572696/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1525.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=634608001.0 tmax=634867201.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.07
user 2.87
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/572696/ft1_filtered_4FGL_J2253.2-1232_daily_bin1525.fits evtable="EVENTS" scfile=/scratch/kocevski/572696/ft2_4FGL_J2253.2-1232_daily_bin1525.fits sctable="SC_DATA" expcube=/scratch/kocevski/572696/ltcube_634608001_634867201_4FGL_J2253.2-1232_daily_bin1525.fits outfile=/scratch/kocevski/572696/expmap_634608001_634867201_4FGL_J2253.2-1232_daily_bin1525.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/572696/ltcube_634608001_634867201_4FGL_J2253.2-1232_daily_bin1525.fits
.....................!
real 191.07
user 185.26
sys 5.37

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/572696/ft1_filtered_4FGL_J2253.2-1232_daily_bin1525.fits scfile=/scratch/kocevski/572696/ft2_4FGL_J2253.2-1232_daily_bin1525.fits outfile=/scratch/kocevski/572696/cmap_634608001_634867201_4FGL_J2253.2-1232_daily_bin1525.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/572696/ft1_filtered_4FGL_J2253.2-1232_daily_bin1525.fits scfile=/scratch/kocevski/572696/ft2_4FGL_J2253.2-1232_daily_bin1525.fits outfile=/scratch/kocevski/572696/cmap_HighResolution_634608001_634867201_4FGL_J2253.2-1232_daily_bin1525.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/572696/ft1_filtered_4FGL_J2253.2-1232_daily_bin1525.fits evtable="EVENTS" scfile=/scratch/kocevski/572696/ft2_4FGL_J2253.2-1232_daily_bin1525.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/572696/Model_4FGL_J2253.2-1232_daily_bin1525.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/572696/ft1_filtered_4FGL_J2253.2-1232_daily_bin1525.fits.....................!
real 27.81
user 26.36
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    95.660       1.0000         .10000E-03   10000.    
     2 'Prefactor '    377.93       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.1227       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    29.933       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10828E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.9531       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    43.709       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    68.220       1.0000         .10000E-03   10000.    
    14 'norm      '    40.929       1.0000         .10000E-03   10000.    
    15 'Prefactor '    47.604       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.6929       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.3336       1.0000         .10000E-03   10000.    
    20 'Prefactor '    22.996       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    35.052       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .66428       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87558       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=   1955.059     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     3231 TOTAL
                     EDM=   .84E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     95.632        151.39        .10360E-05    .30274E-05
   2  Prefactor     378.12        539.90       -.23227E-05   -.45648E-05
   3  Prefactor     7.1293        13.572        .11651E-05    .27285E-04
   4  Prefactor     .10000E-03    136.52        .30007E-06** at limit **
   5  norm          29.929        20.585        .25532E-06    .62619E-05
   6  Prefactor     .10000E-03    318.60       -.28043E-05** at limit **
   7  Prefactor     .10000E-03    59.485        .13133E-06** at limit **
   8  norm          1.9532        2.3602        .65177E-08   -.12517E-05
   9  Prefactor     .10000E-03    25.908        .18199E-06** at limit **
  10  norm          .10000E-03    1.8386       -.40782E-06** at limit **
  11  Prefactor     43.604        60.635       -.50813E-05    .36310E-04
  12  Prefactor     .10000E-03    7.9108        .86194E-07** at limit **
  13  Prefactor     68.218        36.817       -.37882E-06   -.15100E-04
  14  norm          40.930        23.124        .12225E-06   -.33051E-04
  15  Prefactor     47.547        102.51        .50426E-06   -.12726E-04
  16  Prefactor     .10000E-03    21.546       -.10387E-06** at limit **
  17  Prefactor     5.6907        13.847       -.70323E-07   -.23664E-04
  18  norm          .10000E-03    .57551        .85313E-07** at limit **
  19  norm          1.3448        12.101        .10298E-05    .39468E-04
  20  Prefactor     22.847        118.22        .38817E-05    .10556E-04
  21  Prefactor     .10000E-03    18.635       -.85480E-06** at limit **
  22  Prefactor     35.005        72.289        .16311E-05    .27387E-05
  23  Normalizat    .66511        .42473        .65011E-05   -.13235E-04
  24  Prefactor     .87493        .30209       -.59565E-05   -.34480E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 95.6324
  Prefactor  = 378.123
  Prefactor  = 7.12931
  Prefactor  = 0.0001
  norm       = 29.9289
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.95321
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 43.6044
  Prefactor  = 0.0001
  Prefactor  = 68.2179
  norm       = 40.9302
  Prefactor  = 47.547
  Prefactor  = 0.0001
  Prefactor  = 5.69066
  norm       = 0.0001
  norm       = 1.34484
  Prefactor  = 22.8469
  Prefactor  = 0.000100001
  Prefactor  = 35.0054
  Normalizat = 0.665112
  Prefactor  = 0.874927
 **********
 **   18 **HESSE 
 **********

 FCN=   1955.059     FROM HESSE     STATUS=OK           397 CALLS     3628 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     95.632        151.40        .20547E-03   -1.3749    
   2  Prefactor     378.12        540.39        .10488E-03   -1.1794    
   3  Prefactor     7.1293        13.604        .15030E-03   -1.5174    
   4  Prefactor     .10000E-03    136.53        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          29.929        20.573        .73231E-04   -1.4613    
   6  Prefactor     .10000E-03    318.82        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    59.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9532        2.3520        .72290E-04   -1.5428    
   9  Prefactor     .10000E-03    26.019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.2509        .10684E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     43.604        61.804        .60640E-04   -1.4386    
  12  Prefactor     .10000E-03    7.9183        .12149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     68.218        36.835        .48596E-04   -1.4054    
  14  norm          40.930        23.136        .62657E-04   -1.4428    
  15  Prefactor     47.547        102.49        .58116E-04   -1.4328    
  16  Prefactor     .10000E-03    21.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.6907        13.774        .16835E-03   -1.5231    
  18  norm          .10000E-03    .57818        .32693E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.3448        11.754        .27146E-03   -1.5476    
  20  Prefactor     22.847        120.48        .83528E-04   -1.4752    
  21  Prefactor     .10000E-03    18.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     35.005        72.179        .67688E-04   -1.4524    
  23  Normalizat    .66511        .45706        .33058E-03   -1.0529    
  24  Prefactor     .87493        .32720        .22083E-03   -.97023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95706e-10
Minuit parameter uncertainties:
  1  152.018
  2  547.893
  3  13.6096
  4  6.18614e-05
  5  20.5775
  6  0.000502209
  7  2.85016e-05
  8  2.35215
  9  5.78536e-05
  10  4.69831e-05
  11  61.8947
  12  9.4875e-06
  13  36.847
  14  23.1412
  15  102.878
  16  2.9444e-05
  17  13.7812
  18  1.64886e-06
  19  7.95355
  20  105.263
  21  0.0002231
  22  72.3597
  23  0.459699
  24  0.327939
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  4.360e+01  6.189e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.646e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  8.906e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
488    Prefactor:  8.749e-01  3.279e-01  0.000e+00  1.000e+01 ( 1.000e+00)
489        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
490        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
487   Normalization:  6.651e-01  4.597e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/572696/likelihoodResults_634608001_634867201_4FGL_J2253.2-1232_daily_bin1525.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) = 1955.04246117
delta logL = 0.0169153216823

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1955.03522247
delta logL = 0.0241540236382

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.148       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3428       1.0000          .0000       10.000    
     3 'Normalizat'    .68390       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86527       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=   1955.035     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      266 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.155        74.532        .56076E-04   -.23428E-03
   2  Index         2.3432        1.3453        .84458E-02   -.11975E-03
   3  Normalizat    .68320        .40313        .32652E-03    .17153E-03
   4  Prefactor     .86579        .30401        .22187E-03    .30691E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.155
  Index      = 2.34318
  Normalizat = 0.683196
  Prefactor  = 0.865789
 **********
 **   18 **HESSE 
 **********

 FCN=   1955.035     FROM HESSE     STATUS=OK            23 CALLS      289 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.155        73.791        .11215E-04   -1.4276    
   2  Index         2.3432        1.3307        .33783E-03   -.56021    
   3  Normalizat    .68320        .40304        .65304E-04   -1.0456    
   4  Prefactor     .86579        .30405        .44374E-04   -.97347    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21686e-09
Minuit parameter uncertainties:
  1  73.923
  2  1.35357
  3  0.404797
  4  0.304644
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/572696': 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) = 1955.03522089
delta logL = 0.0241556052877

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  5.116e+01  7.392e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.343e+00  1.354e+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:  8.658e-01  3.046e-01  0.000e+00  1.000e+01 ( 1.000e+00)
489        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
490        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
487   Normalization:  6.832e-01  4.048e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.69
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/572696/cmap_HighResolution_634608001_634867201_4FGL_J2253.2-1232_daily_bin1525.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.00e-02', job_status='DONE', photon_flux_upper_limit='3.82e-07', time_completed='2021-09-29 01:54:54.084365', job_id='572696', GAL2='0.87', fit_tolerance='1e-08', EG2='0.68', EG='0.67', time_epoch_completed='1632905694.08', return_code2='0', ts='0.69', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='2.42e-02', ts2='0.74', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1525' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:54:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 572696: <4FGL_J2253.2-1232_daily_bin1525> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1525 343.308 -12.5416 634608001 634867201 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 :                                   416.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             284.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   575 sec.
    Turnaround time :                            577 sec.

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

