/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 2 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 = 7424
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1553.6+1257_daily_bin306
RA = 238.402, Dec = 12.9524
tmin = 318643201, tmax = 318902401
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='778855', job_status='RUN', time_executed='2021-09-12 17:12:13.266943', time_epoch_executed='1631491933.27' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='306'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/778855

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/778855/ft1_4FGL_J1553.6+1257_daily_bin306.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/778855/ft2_4FGL_J1553.6+1257_daily_bin306.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/778855/ft1_4FGL_J1553.6+1257_daily_bin306.fits outfile=/scratch/kocevski/778855/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin306.fits ra=238.402 dec=12.9524 rad=12.0 tmin=318643201.0 tmax=318902401.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.40
user 3.16
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/778855/ft2_4FGL_J1553.6+1257_daily_bin306.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/778855/ft2_4FGL_J1553.6+1257_daily_bin306.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/778855/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin306.fits evtable="EVENTS" outfile="/scratch/kocevski/778855/ft1_filtered_4FGL_J1553.6+1257_daily_bin306.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/778855/ft1_filtered_4FGL_J1553.6+1257_daily_bin306.fits" evtable="EVENTS" scfile=/scratch/kocevski/778855/ft2_4FGL_J1553.6+1257_daily_bin306.fits sctable="SC_DATA" outfile=/scratch/kocevski/778855/ltcube_318643201_318902401_4FGL_J1553.6+1257_daily_bin306.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/778855/ft2_4FGL_J1553.6+1257_daily_bin306.fits
.....................!
real 13.96
user 13.56
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/778855/ft1_filtered_4FGL_J1553.6+1257_daily_bin306.fits evtable="EVENTS" scfile=/scratch/kocevski/778855/ft2_4FGL_J1553.6+1257_daily_bin306.fits sctable="SC_DATA" expcube=/scratch/kocevski/778855/ltcube_318643201_318902401_4FGL_J1553.6+1257_daily_bin306.fits outfile=/scratch/kocevski/778855/expmap_318643201_318902401_4FGL_J1553.6+1257_daily_bin306.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/778855/ltcube_318643201_318902401_4FGL_J1553.6+1257_daily_bin306.fits
.....................!
real 192.73
user 185.83
sys 5.50

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 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J1553.6+1257 @ 238.402 12.9524

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/778855/ft1_filtered_4FGL_J1553.6+1257_daily_bin306.fits scfile=/scratch/kocevski/778855/ft2_4FGL_J1553.6+1257_daily_bin306.fits outfile=/scratch/kocevski/778855/cmap_318643201_318902401_4FGL_J1553.6+1257_daily_bin306.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=238.402 yref=12.9524 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.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/778855/ft1_filtered_4FGL_J1553.6+1257_daily_bin306.fits scfile=/scratch/kocevski/778855/ft2_4FGL_J1553.6+1257_daily_bin306.fits outfile=/scratch/kocevski/778855/cmap_HighResolution_318643201_318902401_4FGL_J1553.6+1257_daily_bin306.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=238.402 yref=12.9524 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/778855/ft1_filtered_4FGL_J1553.6+1257_daily_bin306.fits evtable="EVENTS" scfile=/scratch/kocevski/778855/ft2_4FGL_J1553.6+1257_daily_bin306.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/778855/Model_4FGL_J1553.6+1257_daily_bin306.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/778855/ft1_filtered_4FGL_J1553.6+1257_daily_bin306.fits.....................!
real 58.06
user 56.70
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/778855/ft1_filtered_4FGL_J1553.6+1257_daily_bin306.fits', '/scratch/kocevski/778855/ft2_4FGL_J1553.6+1257_daily_bin306.fits', expMap='/scratch/kocevski/778855/expmap_318643201_318902401_4FGL_J1553.6+1257_daily_bin306.fits', expCube='/scratch/kocevski/778855/ltcube_318643201_318902401_4FGL_J1553.6+1257_daily_bin306.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/778855/Model_4FGL_J1553.6+1257_daily_bin306.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1553.6+1257'

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  5.777e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.008e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/778855/ft1_filtered_4FGL_J1553.6+1257_daily_bin306.fits
Spacecraft file(s): /scratch/kocevski/778855/ft2_4FGL_J1553.6+1257_daily_bin306.fits
Exposure map: /scratch/kocevski/778855/expmap_318643201_318902401_4FGL_J1553.6+1257_daily_bin306.fits
Exposure cube: /scratch/kocevski/778855/ltcube_318643201_318902401_4FGL_J1553.6+1257_daily_bin306.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/778855/Model_4FGL_J1553.6+1257_daily_bin306.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) = 7286.79162704

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.814       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.505       1.0000         .10000E-03   10000.    
     3 'Prefactor '    39.377       1.0000         .10000E-03   10000.    
     4 'Prefactor '    43.282       1.0000         .10000E-03   10000.    
     5 'Prefactor '    47.072       1.0000         .10000E-03   10000.    
     6 'norm      '    1.4512       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .84361E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .50885E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    65.358       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.3927       1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.676       1.0000         .10000E-03   10000.    
    14 'norm      '    25.174       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.283       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.6351       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .62705       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1108       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7286.743     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2214 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.802        29.904        .93504E-07    .91745E-04
   2  Prefactor     13.486        31.217        .11873E-05    .12439E-03
   3  Prefactor     39.341        34.318        .53485E-06    .34212E-03
   4  Prefactor     43.287        40.368       -.15630E-05    .20169E-04
   5  Prefactor     47.102        33.014        .25572E-05   -.92966E-04
   6  norm          1.4511        1.8332       -.11344E-06    .22475E-03
   7  Prefactor     .10001E-03    10.775        .12598E-04** at limit **
   8  Prefactor     .10000E-03    13.222        .75684E-07** at limit **
   9  norm          .10025E-03    6.9983        .80210E-05** at limit **
  10  Prefactor     65.362        62.960        .95704E-06    .14819E-04
  11  norm          .10000E-03    2.5130       -.17079E-06** at limit **
  12  norm          1.3924        1.1683       -.31950E-07    .23707E-04
  13  Prefactor     20.672        13.357       -.32386E-06    .11798E-03
  14  norm          25.169        16.243       -.19182E-06    .15659E-03
  15  norm          .10000E-03    42.743       -.35007E-06** at limit **
  16  Prefactor     17.280        14.205       -.52243E-06    .12071E-03
  17  Prefactor     7.6107        28.905        .87458E-06    .14244E-03
  18  Prefactor     .10000E-03    5.0500       -.24653E-06** at limit **
  19  Prefactor     .10000E-03    7.7291       -.52427E-06** at limit **
  20  Normalizat    .62649        .27667        .56193E-05    .36438E-03
  21  Prefactor     1.1111        .12654       -.32877E-06    .51522E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.8019
  Prefactor  = 13.4864
  Prefactor  = 39.3407
  Prefactor  = 43.2866
  Prefactor  = 47.1017
  norm       = 1.45112
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  norm       = 0.000100249
  Prefactor  = 65.3617
  norm       = 0.0001
  norm       = 1.39235
  Prefactor  = 20.6724
  norm       = 25.1693
  norm       = 0.0001
  Prefactor  = 17.2802
  Prefactor  = 7.61069
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Normalizat = 0.626492
  Prefactor  = 1.11115
 **********
 **   18 **HESSE 
 **********

 FCN=   7286.743     FROM HESSE     STATUS=OK           321 CALLS     2535 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.802        29.898        .10406E-03   -1.4938    
   2  Prefactor     13.486        31.221        .10899E-03   -1.4973    
   3  Prefactor     39.341        34.316        .63875E-04   -1.4453    
   4  Prefactor     43.287        40.456        .60937E-04   -1.4391    
   5  Prefactor     47.102        32.972        .29221E-03   -1.4334    
   6  norm          1.4511        1.8119        .12597E-03   -1.5467    
   7  Prefactor     .10001E-03    12.663        .23679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10025E-03    26.540        .24298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     65.362        62.846        .49642E-04   -1.4089    
  11  norm          .10000E-03    2.5220        .13217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3924        1.1735        .82135E-04   -1.5472    
  13  Prefactor     20.672        13.348        .88086E-04   -1.4798    
  14  norm          25.169        16.222        .79839E-04   -1.4704    
  15  norm          .10000E-03    42.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.280        14.203        .96341E-04   -1.4876    
  17  Prefactor     7.6107        28.995        .14513E-03   -1.5156    
  18  Prefactor     .10000E-03    5.0726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.8492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .62649        .30914        .44213E-03   -1.0687    
  21  Prefactor     1.1111        .14215        .16655E-03   -.89111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23115e-08
Minuit parameter uncertainties:
  1  29.9282
  2  31.2587
  3  34.3336
  4  40.4817
  5  32.9848
  6  1.81194
  7  0.000750318
  8  5.29935e-05
  9  0.00513883
  10  62.9094
  11  1.20921e-05
  12  1.17352
  13  13.3498
  14  16.2249
  15  0.00012888
  16  14.206
  17  29.049
  18  0.000117304
  19  0.000137564
  20  0.309996
  21  0.142194
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.000e-04  1.209e-05  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.008e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  1.111e+00  1.422e-01  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  6.265e-01  3.100e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 238.402 12.952
Photon Flux Upper Limit: 5.87e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.06e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/778855/likelihoodResults_318643201_318902401_4FGL_J1553.6+1257_daily_bin306.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) = 7286.74536856
delta logL = -0.0018801500737

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7286.74348841
delta logL = 1.23964127852e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3008       1.0000          .0000       5.0000    
     3 'Normalizat'    .62647       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1112       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+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=   7286.743     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      232 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.7398        .13225E-02** at limit **
   2  alpha         2.5320        3.5317        .16527        .48152E-09
   3  Normalizat    .62648        .27809        .44211E-03   -.10317E-03
   4  Prefactor     1.1112        .13765        .16655E-03   -.28477E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.53203
  Normalizat = 0.62648
  Prefactor  = 1.11115
 **********
 **   18 **HESSE 
 **********

 FCN=   7286.743     FROM HESSE     STATUS=OK            23 CALLS      255 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.5707        .26450E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5320        3.5588        .66109E-02    .12813E-01
   3  Normalizat    .62648        .27820        .17684E-04   -1.0687    
   4  Prefactor     1.1112        .13770        .33310E-04   -.89111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.31276e-11
Minuit parameter uncertainties:
  1  1.19522e-06
  2  272.432
  3  0.278821
  4  0.137747
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/778855': 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) = 7286.74348804
delta logL = 3.74555384042e-07

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.000e-04  1.195e-06  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.532e+00  2.724e+02  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.008e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  1.111e+00  1.377e-01  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  6.265e-01  2.788e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 238.402 12.952

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/778855/cmap_HighResolution_318643201_318902401_4FGL_J1553.6+1257_daily_bin306.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.06e-05', job_status='DONE', photon_flux_upper_limit='5.87e-08', time_completed='2021-09-12 17:22:53.873737', job_id='778855', GAL2='1.11', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1631492573.87', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='3.75e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='306' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:22:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 778855: <4FGL_J1553.6+1257_daily_bin306> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin306> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 17:10:26 2021
Job was executed on host(s) <bullet0008>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:12:02 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 17:12:02 2021
Terminated at Sun Sep 12 17:22:54 2021
Results reported at Sun Sep 12 17:22:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin306 238.402 12.9524 318643201 318902401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1553.6+1257 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   635.06 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             352.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   652 sec.
    Turnaround time :                            748 sec.

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

