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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin1312
RA = 238.402, Dec = 12.9524
tmin = 579398401, tmax = 579657601
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='785921', job_status='RUN', time_executed='2021-09-12 17:38:36.090965', time_epoch_executed='1631493516.09' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='1312'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785921

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785921/ft1_4FGL_J1553.6+1257_daily_bin1312.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785921/ft2_4FGL_J1553.6+1257_daily_bin1312.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785921/ft1_4FGL_J1553.6+1257_daily_bin1312.fits outfile=/scratch/kocevski/785921/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1312.fits ra=238.402 dec=12.9524 rad=12.0 tmin=579398401.0 tmax=579657601.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.51
user 3.25
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/785921/ft2_4FGL_J1553.6+1257_daily_bin1312.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/785921/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1312.fits evtable="EVENTS" outfile="/scratch/kocevski/785921/ft1_filtered_4FGL_J1553.6+1257_daily_bin1312.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.51
user 0.35
sys 0.12

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/785921/ft1_filtered_4FGL_J1553.6+1257_daily_bin1312.fits" evtable="EVENTS" scfile=/scratch/kocevski/785921/ft2_4FGL_J1553.6+1257_daily_bin1312.fits sctable="SC_DATA" outfile=/scratch/kocevski/785921/ltcube_579398401_579657601_4FGL_J1553.6+1257_daily_bin1312.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/785921/ft2_4FGL_J1553.6+1257_daily_bin1312.fits
.....................!
real 13.12
user 12.70
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785921/ft1_filtered_4FGL_J1553.6+1257_daily_bin1312.fits evtable="EVENTS" scfile=/scratch/kocevski/785921/ft2_4FGL_J1553.6+1257_daily_bin1312.fits sctable="SC_DATA" expcube=/scratch/kocevski/785921/ltcube_579398401_579657601_4FGL_J1553.6+1257_daily_bin1312.fits outfile=/scratch/kocevski/785921/expmap_579398401_579657601_4FGL_J1553.6+1257_daily_bin1312.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/785921/ltcube_579398401_579657601_4FGL_J1553.6+1257_daily_bin1312.fits
.....................!
real 194.03
user 187.82
sys 5.64

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/785921/ft1_filtered_4FGL_J1553.6+1257_daily_bin1312.fits scfile=/scratch/kocevski/785921/ft2_4FGL_J1553.6+1257_daily_bin1312.fits outfile=/scratch/kocevski/785921/cmap_579398401_579657601_4FGL_J1553.6+1257_daily_bin1312.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785921/ft1_filtered_4FGL_J1553.6+1257_daily_bin1312.fits scfile=/scratch/kocevski/785921/ft2_4FGL_J1553.6+1257_daily_bin1312.fits outfile=/scratch/kocevski/785921/cmap_HighResolution_579398401_579657601_4FGL_J1553.6+1257_daily_bin1312.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.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/785921/ft1_filtered_4FGL_J1553.6+1257_daily_bin1312.fits', '/scratch/kocevski/785921/ft2_4FGL_J1553.6+1257_daily_bin1312.fits', expMap='/scratch/kocevski/785921/expmap_579398401_579657601_4FGL_J1553.6+1257_daily_bin1312.fits', expCube='/scratch/kocevski/785921/ltcube_579398401_579657601_4FGL_J1553.6+1257_daily_bin1312.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/785921/Model_4FGL_J1553.6+1257_daily_bin1312.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/785921/ft1_filtered_4FGL_J1553.6+1257_daily_bin1312.fits
Spacecraft file(s): /scratch/kocevski/785921/ft2_4FGL_J1553.6+1257_daily_bin1312.fits
Exposure map: /scratch/kocevski/785921/expmap_579398401_579657601_4FGL_J1553.6+1257_daily_bin1312.fits
Exposure cube: /scratch/kocevski/785921/ltcube_579398401_579657601_4FGL_J1553.6+1257_daily_bin1312.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/785921/Model_4FGL_J1553.6+1257_daily_bin1312.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) = 6885.26700929

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.854       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.0709       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.166       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.9391       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.7102       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13022E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .50134       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.8215       1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.199       1.0000         .10000E-03   10000.    
    14 'norm      '    15.172       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.2764       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .43606       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.0416       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.7778       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .39686       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2241       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6885.246     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2261 TOTAL
                     EDM=   .98E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.841        34.410         .0000        .33940E-05
   2  Prefactor     .10000E-03    25.864         .0000    ** at limit **
   3  Prefactor     3.0698        70.532         .0000        .19842E-03
   4  Prefactor     14.168        20.980         .0000       -.59209E-03
   5  Prefactor     .10000E-03    9.0896         .0000    ** at limit **
   6  norm          5.9393        2.8884         .0000        .20290E-03
   7  Prefactor     7.7097        5.4421         .0000        .29046E-03
   8  Prefactor     .10001E-03    99.219         .0000    ** at limit **
   9  norm          .50062        4.1528         .0000        .19706E-02
  10  Prefactor     .10000E-03    17.630         .0000    ** at limit **
  11  norm          .10000E-03    2.9721         .0000    ** at limit **
  12  norm          7.8213        2.3332         .0000       -.23227E-03
  13  Prefactor     15.196        12.176         .0000       -.17323E-03
  14  norm          15.171        15.519         .0000        .14247E-02
  15  norm          .10000E-03    35.842         .0000    ** at limit **
  16  Prefactor     1.2752        7.5478         .0000        .22697E-01
  17  Prefactor     .22376        21.050         .0000        .22902E-03
  18  Prefactor     6.0437        9.7787         .0000        .47842E-02
  19  Prefactor     1.7777        9.4889         .0000        .95890E-02
  20  Normalizat    .39686        .31527         .0000        .13054E-03
  21  Prefactor     1.2242        .14998         .0000        .24139E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.8413
  Prefactor  = 0.000100003
  Prefactor  = 3.06977
  Prefactor  = 14.1678
  Prefactor  = 0.0001
  norm       = 5.93931
  Prefactor  = 7.70969
  Prefactor  = 0.000100006
  norm       = 0.500621
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 7.82127
  Prefactor  = 15.1962
  norm       = 15.1711
  norm       = 0.000100004
  Prefactor  = 1.27515
  Prefactor  = 0.223763
  Prefactor  = 6.04373
  Prefactor  = 1.77766
  Normalizat = 0.396855
  Prefactor  = 1.22421
 **********
 **   18 **HESSE 
 **********

 FCN=   6885.246     FROM HESSE     STATUS=OK           325 CALLS     2586 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.841        34.294        .78784E-04   -1.4691    
   2  Prefactor     .10000E-03    25.885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.0698        67.898        .23147E-03   -1.5358    
   4  Prefactor     14.168        20.907        .10642E-03   -1.4955    
   5  Prefactor     .10000E-03    9.0914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.9393        2.8819        .94974E-04   -1.5221    
   7  Prefactor     7.7097        5.4050        .14442E-03   -1.5153    
   8  Prefactor     .10001E-03    102.43        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .50062        4.2479        .32273E-03   -1.5566    
  10  Prefactor     .10000E-03    17.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.9811        .13966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.8213        2.3325        .67281E-04   -1.5149    
  13  Prefactor     15.196        12.090        .10274E-03   -1.4928    
  14  norm          15.171        15.387        .10283E-03   -1.4929    
  15  norm          .10000E-03    35.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.2752        7.4926        .19663E-02   -1.5482    
  17  Prefactor     .22376        25.656        .11521       -1.5613    
  18  Prefactor     6.0437        9.7183        .16335E-03   -1.5216    
  19  Prefactor     1.7777        9.3353        .15697E-02   -1.5441    
  20  Normalizat    .39686        .29606        .52174E-03   -1.1746    
  21  Prefactor     1.2242        .14708        .15768E-03   -.85590    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31236e-08
Minuit parameter uncertainties:
  1  34.32
  2  0.0005907
  3  28.911
  4  20.918
  5  1.13919e-05
  6  2.88196
  7  5.40538
  8  0.00154043
  9  2.91654
  10  0.000321608
  11  1.33493e-06
  12  2.33256
  13  12.0917
  14  15.3915
  15  0.000725533
  16  6.1829
  17  4.79308
  18  9.72085
  19  8.14917
  20  0.297232
  21  0.147125
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.000e-04  1.335e-06  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.224e+00  1.471e-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:  3.969e-01  2.972e-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: 6.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.30e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/785921/likelihoodResults_579398401_579657601_4FGL_J1553.6+1257_daily_bin1312.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6885.24793547
delta logL = -0.0015916381135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6885.2463438
delta logL = 3.37067831424e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3088       1.0000          .0000       5.0000    
     3 'Normalizat'    .39685       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2242       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=   6885.226     FROM MIGRAD    STATUS=CONVERGED    218 CALLS      365 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .43346E-01    4.9816        .14046E-01    .43812E-02
   2  alpha         5.0000        4.3447        .50000    ** at limit **
   3  Normalizat    .38134        .37744E-01    .52174E-03    .24285E-03
   4  Prefactor     1.2293        .19258E-01    .15768E-03    .62653E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.043346
  alpha      = 5
  Normalizat = 0.381342
  Prefactor  = 1.22931
 **********
 **   18 **HESSE 
 **********

 FCN=   6885.226     FROM HESSE     STATUS=OK            33 CALLS      398 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .43346E-01    .55386        .56521E-03   -1.5666    
   2  alpha         5.0000        3.4289        .50000        1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .38134        .29174        .20870E-04   -1.1828    
   4  Prefactor     1.2293        .14744        .31535E-04   -.85434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.70591e-10
Minuit parameter uncertainties:
  1  0.309534
  2  0.0125694
  3  0.292911
  4  0.147491
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785921': 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) = 6885.2255245
delta logL = 0.0208193356866

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  4.335e-02  3.095e-01  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  5.000e+00  1.257e-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.229e+00  1.475e-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:  3.813e-01  2.929e-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/785921/cmap_HighResolution_579398401_579657601_4FGL_J1553.6+1257_daily_bin1312.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-05', job_status='DONE', photon_flux_upper_limit='6.55e-08', time_completed='2021-09-12 17:50:26.305486', job_id='785921', GAL2='1.23', fit_tolerance='1e-08', EG2='0.38', EG='0.40', time_epoch_completed='1631494226.31', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='2.08e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1312' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:50:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 785921: <4FGL_J1553.6+1257_daily_bin1312> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin1312> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 17:35:24 2021
Job was executed on host(s) <bullet0238>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:35:54 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:35:54 2021
Terminated at Sun Sep 12 17:50:27 2021
Results reported at Sun Sep 12 17:50:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin1312 238.402 12.9524 579398401 579657601 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 :                                   632.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            903 sec.

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

