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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1284
RA = 343.308, Dec = -12.5416
tmin = 572140801, tmax = 572400001
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='571177', job_status='RUN', time_executed='2021-09-29 01:42:28.266038', time_epoch_executed='1632904948.27' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1284'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/571177

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/571177/ft1_4FGL_J2253.2-1232_daily_bin1284.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/571177/ft2_4FGL_J2253.2-1232_daily_bin1284.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/571177/ft1_4FGL_J2253.2-1232_daily_bin1284.fits outfile=/scratch/kocevski/571177/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1284.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=572140801.0 tmax=572400001.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.27
user 3.02
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/571177/ft1_filtered_4FGL_J2253.2-1232_daily_bin1284.fits" evtable="EVENTS" scfile=/scratch/kocevski/571177/ft2_4FGL_J2253.2-1232_daily_bin1284.fits sctable="SC_DATA" outfile=/scratch/kocevski/571177/ltcube_572140801_572400001_4FGL_J2253.2-1232_daily_bin1284.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/571177/ft2_4FGL_J2253.2-1232_daily_bin1284.fits
.....................!
real 12.28
user 11.93
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/571177/ft1_filtered_4FGL_J2253.2-1232_daily_bin1284.fits evtable="EVENTS" scfile=/scratch/kocevski/571177/ft2_4FGL_J2253.2-1232_daily_bin1284.fits sctable="SC_DATA" expcube=/scratch/kocevski/571177/ltcube_572140801_572400001_4FGL_J2253.2-1232_daily_bin1284.fits outfile=/scratch/kocevski/571177/expmap_572140801_572400001_4FGL_J2253.2-1232_daily_bin1284.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/571177/ltcube_572140801_572400001_4FGL_J2253.2-1232_daily_bin1284.fits
.....................!
real 190.51
user 185.25
sys 4.88

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/571177/ft1_filtered_4FGL_J2253.2-1232_daily_bin1284.fits scfile=/scratch/kocevski/571177/ft2_4FGL_J2253.2-1232_daily_bin1284.fits outfile=/scratch/kocevski/571177/cmap_572140801_572400001_4FGL_J2253.2-1232_daily_bin1284.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.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/571177/ft1_filtered_4FGL_J2253.2-1232_daily_bin1284.fits evtable="EVENTS" scfile=/scratch/kocevski/571177/ft2_4FGL_J2253.2-1232_daily_bin1284.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/571177/Model_4FGL_J2253.2-1232_daily_bin1284.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/571177/ft1_filtered_4FGL_J2253.2-1232_daily_bin1284.fits.....................!
real 55.90
user 54.56
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    87.206       1.0000         .10000E-03   10000.    
     2 'Prefactor '    808.80       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.0244       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .14925E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.7216       1.0000         .10000E-03   10000.    
     8 'norm      '    2.4465       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10894E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.1314       1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.951       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.8130       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.1754       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .22914E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.9101       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .87047       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1626       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=   5931.418     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     2765 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     87.212        30.168       -.10407E-05    .25885E-03
   2  Prefactor     808.48        201.70        .12619E-04    .20920E-03
   3  Prefactor     2.0170        5.5976        .86337E-05    .29912E-03
   4  Prefactor     .10000E-03    136.08       -.45580E-05** at limit **
   5  norm          .10000E-03    4.0725       -.64916E-05** at limit **
   6  Prefactor     .10000E-03    34.094       -.60723E-07** at limit **
   7  Prefactor     7.7250        17.599        .92860E-06    .56122E-05
   8  norm          2.4471        1.4720       -.13066E-06    .28183E-03
   9  Prefactor     .10000E-03    17.871        .24501E-05** at limit **
  10  norm          3.1266        2.0586        .49030E-06   -.29307E-03
  11  Prefactor     30.068        52.803       -.74240E-05    .20254E-03
  12  Prefactor     7.8115        9.8165        .52447E-06    .39074E-04
  13  Prefactor     .10000E-03    7.2881        .41140E-06** at limit **
  14  norm          .10000E-03    2.2096        .37667E-08** at limit **
  15  Prefactor     .10000E-03    15.860       -.33305E-06** at limit **
  16  Prefactor     .10000E-03    13.979        .19539E-06** at limit **
  17  Prefactor     .10000E-03    3.5387       -.74593E-08** at limit **
  18  norm          .10000E-03    .42218       -.16025E-07** at limit **
  19  norm          4.1765        4.5133        .22390E-06    .10890E-04
  20  Prefactor     .10000E-03    136.86       -.31846E-05** at limit **
  21  Prefactor     4.9332        17.170        .92227E-06    .50669E-04
  22  Prefactor     .10000E-03    90.165        .35773E-05** at limit **
  23  Normalizat    .87026        .23526       -.44770E-05    .43108E-03
  24  Prefactor     1.1627        .17307        .82144E-06    .71824E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 87.2124
  Prefactor  = 808.481
  Prefactor  = 2.01703
  Prefactor  = 0.000100001
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 7.72499
  norm       = 2.44707
  Prefactor  = 0.000100001
  norm       = 3.12663
  Prefactor  = 30.0684
  Prefactor  = 7.81151
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.17652
  Prefactor  = 0.000100002
  Prefactor  = 4.93316
  Prefactor  = 0.0001
  Normalizat = 0.870262
  Prefactor  = 1.1627
 **********
 **   18 **HESSE 
 **********

 FCN=   5931.418     FROM HESSE     STATUS=OK           389 CALLS     3154 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     87.212        30.161        .43023E-04   -1.3837    
   2  Prefactor     808.48        203.96        .73354E-04   -.99416    
   3  Prefactor     2.0170        5.7715        .14541E-02   -1.5424    
   4  Prefactor     .10000E-03    137.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    8.0047        .27720E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    34.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.7250        17.616        .14431E-03   -1.5152    
   8  norm          2.4471        1.4637        .68118E-04   -1.5395    
   9  Prefactor     .10000E-03    17.931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.1266        2.0786        .65072E-04   -1.5354    
  11  Prefactor     30.068        53.332        .73210E-04   -1.4611    
  12  Prefactor     7.8115        9.8152        .14346E-03   -1.5149    
  13  Prefactor     .10000E-03    7.3059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.2099        .11181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.5465        .14144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .42881        .48831E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.1765        4.5092        .16421E-03   -1.5299    
  20  Prefactor     .10000E-03    136.99        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.9332        17.149        .18151E-03   -1.5264    
  22  Prefactor     .10000E-03    90.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .87026        .27289        .34179E-03   -.97513    
  24  Prefactor     1.1627        .20399        .23135E-03   -.87487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44393e-09
Minuit parameter uncertainties:
  1  30.1658
  2  204.154
  3  5.77307
  4  0.000588384
  5  0.000300528
  6  2.6277e-05
  7  17.6274
  8  1.46372
  9  0.000311439
  10  2.07864
  11  53.4171
  12  9.81726
  13  4.56455e-05
  14  6.87138e-07
  15  2.5812e-05
  16  1.23457e-05
  17  4.41503e-06
  18  7.40637e-07
  19  4.50957
  20  0.00103937
  21  17.166
  22  0.000286012
  23  0.273319
  24  0.204132
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  3.007e+01  5.342e+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:  1.163e+00  2.041e-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.703e-01  2.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/571177/likelihoodResults_572140801_572400001_4FGL_J2253.2-1232_daily_bin1284.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) = 5931.35782735
delta logL = 0.0605473685628

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5931.35508865
delta logL = 0.0632860758215

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.835       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0624       1.0000          .0000       10.000    
     3 'Normalizat'    .85065       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1725       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=   5931.355     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      302 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.815        59.758        .89931E-04   -.29296E-03
   2  Index         3.0637        1.7302        .83031E-02   -.11271E-03
   3  Normalizat    .85100        .26973        .34518E-03    .80593E-04
   4  Prefactor     1.1723        .20329        .23051E-03    .24325E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.815
  Index      = 3.06369
  Normalizat = 0.850998
  Prefactor  = 1.17235
 **********
 **   18 **HESSE 
 **********

 FCN=   5931.355     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.815        42.402        .17986E-04   -1.4817    
   2  Index         3.0637        1.2375        .33212E-03   -.39766    
   3  Normalizat    .85100        .26909        .13807E-04   -.98204    
   4  Prefactor     1.1723        .20240        .46102E-04   -.87187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.98131e-10
Minuit parameter uncertainties:
  1  42.4663
  2  1.25284
  3  0.269516
  4  0.202531
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/571177': 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) = 5931.3550859
delta logL = 0.0632888208329

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.982e+01  4.247e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  3.064e+00  1.253e+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:  1.172e+00  2.025e-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.510e-01  2.695e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.65
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/571177/cmap_HighResolution_572140801_572400001_4FGL_J2253.2-1232_daily_bin1284.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.71e-02', job_status='DONE', photon_flux_upper_limit='2.18e-07', time_completed='2021-09-29 01:53:25.575210', job_id='571177', GAL2='1.17', fit_tolerance='1e-08', EG2='0.85', EG='0.87', time_epoch_completed='1632905605.58', return_code2='0', ts='0.65', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='6.33e-02', ts2='0.81', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='1284' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:53:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 571177: <4FGL_J2253.2-1232_daily_bin1284> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1284 343.308 -12.5416 572140801 572400001 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 :                                   619.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            775 sec.

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

