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


Performing analysis on: 4FGL_J2253.2-1232_daily_bin1399
RA = 343.308, Dec = -12.5416
tmin = 601948801, tmax = 602208001
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='571354', job_status='RUN', time_executed='2021-09-29 01:42:03.884479', time_epoch_executed='1632904923.88' WHERE source_name='4FGL J2253.2-1232' and cadence='daily' and bin_id='1399'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/571354

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/571354/ft1_4FGL_J2253.2-1232_daily_bin1399.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/571354/ft2_4FGL_J2253.2-1232_daily_bin1399.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/571354/ft1_4FGL_J2253.2-1232_daily_bin1399.fits outfile=/scratch/kocevski/571354/ft1_filteredMKT_4FGL_J2253.2-1232_daily_bin1399.fits ra=343.308 dec=-12.5416 rad=12.0 tmin=601948801.0 tmax=602208001.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.81
user 3.60
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/571354/ft1_filtered_4FGL_J2253.2-1232_daily_bin1399.fits" evtable="EVENTS" scfile=/scratch/kocevski/571354/ft2_4FGL_J2253.2-1232_daily_bin1399.fits sctable="SC_DATA" outfile=/scratch/kocevski/571354/ltcube_601948801_602208001_4FGL_J2253.2-1232_daily_bin1399.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/571354/ft2_4FGL_J2253.2-1232_daily_bin1399.fits
.....................!
real 12.03
user 11.68
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/571354/ft1_filtered_4FGL_J2253.2-1232_daily_bin1399.fits evtable="EVENTS" scfile=/scratch/kocevski/571354/ft2_4FGL_J2253.2-1232_daily_bin1399.fits sctable="SC_DATA" expcube=/scratch/kocevski/571354/ltcube_601948801_602208001_4FGL_J2253.2-1232_daily_bin1399.fits outfile=/scratch/kocevski/571354/expmap_601948801_602208001_4FGL_J2253.2-1232_daily_bin1399.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/571354/ltcube_601948801_602208001_4FGL_J2253.2-1232_daily_bin1399.fits
.....................!
real 189.64
user 184.32
sys 4.92

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/571354/ft1_filtered_4FGL_J2253.2-1232_daily_bin1399.fits scfile=/scratch/kocevski/571354/ft2_4FGL_J2253.2-1232_daily_bin1399.fits outfile=/scratch/kocevski/571354/cmap_601948801_602208001_4FGL_J2253.2-1232_daily_bin1399.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/571354/ft1_filtered_4FGL_J2253.2-1232_daily_bin1399.fits scfile=/scratch/kocevski/571354/ft2_4FGL_J2253.2-1232_daily_bin1399.fits outfile=/scratch/kocevski/571354/cmap_HighResolution_601948801_602208001_4FGL_J2253.2-1232_daily_bin1399.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/571354/ft1_filtered_4FGL_J2253.2-1232_daily_bin1399.fits evtable="EVENTS" scfile=/scratch/kocevski/571354/ft2_4FGL_J2253.2-1232_daily_bin1399.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/571354/Model_4FGL_J2253.2-1232_daily_bin1399.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/571354/ft1_filtered_4FGL_J2253.2-1232_daily_bin1399.fits.....................!
real 59.31
user 57.97
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.7691       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10241E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    36.072       1.0000         .10000E-03   10000.    
     8 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    143.53       1.0000         .10000E-03   10000.    
    10 'norm      '    13.761       1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.889       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10284E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10853E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    76.728       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    8.4021       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .72966E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .54725       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1529       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=   6727.020     FROM MIGRAD    STATUS=CONVERGED    645 CALLS     3470 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.8840        .33043E-07** at limit **
   2  Prefactor     .10000E-03    27.291        .11867E-06** at limit **
   3  Prefactor     5.7723        4.8768        .10160E-06   -.11239E-03
   4  Prefactor     .10000E-03    198.31       -.30165E-07** at limit **
   5  norm          .10000E-03    1.6108        .25672E-07** at limit **
   6  Prefactor     .10000E-03    29.474        .64590E-07** at limit **
   7  Prefactor     36.100        19.116        .17681E-06   -.87520E-05
   8  norm          .10000E-03    .27915        .20795E-07** at limit **
   9  Prefactor     143.69        59.981       -.56365E-05   -.25073E-03
  10  norm          13.746        4.9925        .41602E-06   -.48116E-03
  11  Prefactor     20.951        65.001        .21904E-04    .15166E-03
  12  Prefactor     .10000E-03    12.552       -.20739E-07** at limit **
  13  Prefactor     .10000E-03    5.0463        .13172E-07** at limit **
  14  norm          .10000E-03    18.503        .92389E-07** at limit **
  15  Prefactor     76.820        52.362       -.15865E-05   -.76246E-04
  16  Prefactor     .10000E-03    25.553       -.30302E-06** at limit **
  17  Prefactor     .10000E-03    3.5313        .14203E-07** at limit **
  18  norm          .10000E-03    .45842        .13715E-07** at limit **
  19  norm          8.4033        5.6429        .11981E-06   -.22902E-04
  20  Prefactor     1.0543        136.67        .20739E-04   -.22794E-03
  21  Prefactor     .10000E-03    6.1916       -.44761E-06** at limit **
  22  Prefactor     .10000E-03    25.175       -.16703E-07** at limit **
  23  Normalizat    .54533        .21547       -.12014E-05   -.58710E-04
  24  Prefactor     1.1539        .16017        .11372E-06   -.65947E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.77235
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.1003
  norm       = 0.0001
  Prefactor  = 143.688
  norm       = 13.7458
  Prefactor  = 20.9508
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 76.8197
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.40326
  Prefactor  = 1.0543
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.545327
  Prefactor  = 1.15393
 **********
 **   18 **HESSE 
 **********

 FCN=   6727.020     FROM HESSE     STATUS=OK           385 CALLS     3855 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.8926        .15786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    27.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.7723        4.8800        .15912E-03   -1.5227    
   4  Prefactor     .10000E-03    200.60        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.6329        .10160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    29.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     36.100        19.164        .66727E-04   -1.4506    
   8  norm          .10000E-03    .28470        .42284E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     143.69        62.395        .33630E-04   -1.3305    
  10  norm          13.746        5.1685        .54331E-04   -1.4966    
  11  Prefactor     20.951        67.290        .87636E-04   -1.4792    
  12  Prefactor     .10000E-03    12.840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.0573        .17992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    19.116        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     76.820        52.669        .45842E-04   -1.3953    
  16  Prefactor     .10000E-03    25.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.5353        .15042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .46707        .54177E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.4033        5.6378        .13830E-03   -1.5128    
  20  Prefactor     1.0543        292.64        .18632E-02   -1.5503    
  21  Prefactor     .10000E-03    6.2149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    25.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .54533        .24043        .38131E-03   -1.1036    
  24  Prefactor     1.1539        .17888        .21411E-03   -.87761    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.86794e-09
Minuit parameter uncertainties:
  1  2.61553e-06
  2  1.80681e-05
  3  4.88032
  4  0.000270875
  5  1.76686e-06
  6  5.81621e-06
  7  19.1674
  8  2.31458e-06
  9  62.4235
  10  5.16871
  11  67.5354
  12  8.96931e-05
  13  2.21826e-06
  14  7.42872e-06
  15  52.7006
  16  3.2293e-05
  17  6.72891e-06
  18  4.15432e-07
  19  5.63817
  20  35.3036
  21  2.04843e-05
  22  4.0427e-06
  23  0.240891
  24  0.178973
Done.

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

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  2.095e+01  6.754e+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.154e+00  1.790e-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:  5.453e-01  2.409e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/571354/likelihoodResults_601948801_602208001_4FGL_J2253.2-1232_daily_bin1399.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) = 6726.07182573
delta logL = 0.948365146032

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6725.85930677
delta logL = 1.16088410039

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17651E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    7.0590       1.0000          .0000       10.000    
     3 'Normalizat'    .46093       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2019       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=   6725.859     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      317 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17047E-01    .14009        .15699E-02    .21060E-01
   2  Index         7.0770        2.1732        .12545        .28115E-03
   3  Normalizat    .46098        .44758E-01    .92833E-01    .11815E-03
   4  Prefactor     1.2018        .35815E-01    .34585E-01    .26188E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0170468
  Index      = 7.077
  Normalizat = 0.460979
  Prefactor  = 1.20177
 **********
 **   18 **HESSE 
 **********

 FCN=   6725.859     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      348 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17047E-01    .39455        .70108E-05   -1.5682    
   2  Index         7.0770        7.4227        .46653E-02    .42838    
   3  Normalizat    .46098        .18700        .41142E-03   -1.1426    
   4  Prefactor     1.2018        .14731        .21024E-03   -.86277    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.31545e-10
Minuit parameter uncertainties:
  1  0.163541
  2  4.61711
  3  0.18725
  4  0.147365
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/571354': 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) = 6725.85928854
delta logL = 1.16090233561

Extracting fit parameters...

4FGL J2253.2-1232
   Spectrum: PowerLaw
278    Prefactor:  1.705e-02  1.635e-01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  7.077e+00  4.617e+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.202e+00  1.474e-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:  4.610e-01  1.873e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.76
Ra Dec: 343.308 -12.542
Photon Index (Free Index): 7.08 +/- 4.62
Photon Flux (Free Index): 1.50e-07 +/- 1.04e-07
Energy Flux (Free Index): 1.78e-05 +/- 1.35e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/571354/cmap_HighResolution_601948801_602208001_4FGL_J2253.2-1232_daily_bin1399.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.78e-02', comment='SUCCESS', energy_flux2='1.78e-05', dlogl='1.16e+00', photon_flux2='1.50e-07', job_status='DONE', time_completed='2021-09-29 01:54:26.657881', photon_index_error2='4.62', photon_index2='7.08', ts='0.16', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='2.27e-07', energy_flux_error2='1.35e-05', EG='0.55', time_epoch_completed='1632905666.66', return_code='0', job_id='571354', GAL2='1.20', EG2='0.46', return_code2='102', photon_flux_error2='1.04e-07', ts2='2.76', photon_index='2.65' WHERE bin_id='1399' AND source_name='4FGL J2253.2-1232' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 01:54:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 571354: <4FGL_J2253.2-1232_daily_bin1399> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.2-1232_daily_bin1399 343.308 -12.5416 601948801 602208001 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 :                                   718.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            826 sec.

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

