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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin1081
RA = 238.402, Dec = 12.9524
tmin = 519523201, tmax = 519782401
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='784389', job_status='RUN', time_executed='2021-09-12 17:33:54.998984', time_epoch_executed='1631493235.0' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='1081'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784389

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

Retrieving the FT1 file...

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

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

Retrieving 37 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784389/ft1_4FGL_J1553.6+1257_daily_bin1081.fits


Retrieving the FT1 file...

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

Retrieving 37 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784389/ft2_4FGL_J1553.6+1257_daily_bin1081.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784389/ft1_4FGL_J1553.6+1257_daily_bin1081.fits outfile=/scratch/kocevski/784389/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1081.fits ra=238.402 dec=12.9524 rad=12.0 tmin=519523201.0 tmax=519782401.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 2.93
user 2.71
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/784389/ft2_4FGL_J1553.6+1257_daily_bin1081.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/784389/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1081.fits evtable="EVENTS" outfile="/scratch/kocevski/784389/ft1_filtered_4FGL_J1553.6+1257_daily_bin1081.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/784389/ft1_filtered_4FGL_J1553.6+1257_daily_bin1081.fits" evtable="EVENTS" scfile=/scratch/kocevski/784389/ft2_4FGL_J1553.6+1257_daily_bin1081.fits sctable="SC_DATA" outfile=/scratch/kocevski/784389/ltcube_519523201_519782401_4FGL_J1553.6+1257_daily_bin1081.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/784389/ft2_4FGL_J1553.6+1257_daily_bin1081.fits
.....................!
real 11.45
user 11.09
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784389/ft1_filtered_4FGL_J1553.6+1257_daily_bin1081.fits evtable="EVENTS" scfile=/scratch/kocevski/784389/ft2_4FGL_J1553.6+1257_daily_bin1081.fits sctable="SC_DATA" expcube=/scratch/kocevski/784389/ltcube_519523201_519782401_4FGL_J1553.6+1257_daily_bin1081.fits outfile=/scratch/kocevski/784389/expmap_519523201_519782401_4FGL_J1553.6+1257_daily_bin1081.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/784389/ltcube_519523201_519782401_4FGL_J1553.6+1257_daily_bin1081.fits
.....................!
real 192.68
user 186.52
sys 5.80

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/784389/ft1_filtered_4FGL_J1553.6+1257_daily_bin1081.fits scfile=/scratch/kocevski/784389/ft2_4FGL_J1553.6+1257_daily_bin1081.fits outfile=/scratch/kocevski/784389/cmap_519523201_519782401_4FGL_J1553.6+1257_daily_bin1081.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/784389/ft1_filtered_4FGL_J1553.6+1257_daily_bin1081.fits scfile=/scratch/kocevski/784389/ft2_4FGL_J1553.6+1257_daily_bin1081.fits outfile=/scratch/kocevski/784389/cmap_HighResolution_519523201_519782401_4FGL_J1553.6+1257_daily_bin1081.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/784389/ft1_filtered_4FGL_J1553.6+1257_daily_bin1081.fits evtable="EVENTS" scfile=/scratch/kocevski/784389/ft2_4FGL_J1553.6+1257_daily_bin1081.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/784389/Model_4FGL_J1553.6+1257_daily_bin1081.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/784389/ft1_filtered_4FGL_J1553.6+1257_daily_bin1081.fits.....................!
real 51.95
user 50.57
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10496E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    79.224       1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.801       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10278E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.509       1.0000         .10000E-03   10000.    
     6 'norm      '    6.0868       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.7065       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.2838       1.0000         .10000E-03   10000.    
     9 'norm      '    6.4839       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17724E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.5425       1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.413       1.0000         .10000E-03   10000.    
    14 'norm      '    10.814       1.0000         .10000E-03   10000.    
    15 'norm      '    4.6483       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .63926E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    22.562       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .94535       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0592       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=   6543.409     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2269 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.683       -.22093E-07** at limit **
   2  Prefactor     79.311        68.660       -.77420E-04    .49254E-05
   3  Prefactor     18.819        30.685       -.35435E-04    .32193E-04
   4  Prefactor     .10000E-03    28.072       -.10134E-06** at limit **
   5  Prefactor     20.503        20.506       -.11077E-05    .15673E-04
   6  norm          6.0876        3.4669       -.41839E-06    .36252E-04
   7  Prefactor     8.7099        5.3454       -.34395E-06   -.43437E-04
   8  Prefactor     3.2923        46.389        .14327E-05   -.31984E-04
   9  norm          6.4846        4.4538       -.10181E-05   -.23316E-02
  10  Prefactor     .10000E-03    82.512        .17016E-05** at limit **
  11  norm          .10000E-03    3.6745       -.96558E-07** at limit **
  12  norm          4.5428        2.0605       -.99605E-07    .18329E-03
  13  Prefactor     19.420        13.022       -.19763E-07    .25799E-04
  14  norm          10.816        16.000       -.10234E-04    .49482E-04
  15  norm          4.1242        645.22       -.31549E-03    .13301E-04
  16  Prefactor     .10000E-03    2.9091       -.94401E-07** at limit **
  17  Prefactor     .10000E-03    163.12       -.44469E-04** at limit **
  18  Prefactor     .10000E-03    23.675       -.44906E-06** at limit **
  19  Prefactor     22.551        13.118       -.13810E-05    .20042E-03
  20  Normalizat    .94475        .26480        .13780E-04    .16978E-03
  21  Prefactor     1.0594        .12921        .19861E-05    .62024E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 79.3111
  Prefactor  = 18.8195
  Prefactor  = 0.0001
  Prefactor  = 20.5033
  norm       = 6.08759
  Prefactor  = 8.70992
  Prefactor  = 3.29232
  norm       = 6.4846
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.54276
  Prefactor  = 19.4198
  norm       = 10.8159
  norm       = 4.12421
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 22.5507
  Normalizat = 0.944752
  Prefactor  = 1.05935
 **********
 **   18 **HESSE 
 **********

 FCN=   6543.409     FROM HESSE     STATUS=OK           321 CALLS     2590 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     79.311        68.709        .22560E-03   -1.3924    
   3  Prefactor     18.819        30.897        .92370E-04   -1.4840    
   4  Prefactor     .10000E-03    28.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.503        20.505        .88443E-04   -1.4802    
   6  norm          6.0876        3.4639        .10923E-03   -1.5214    
   7  Prefactor     8.7099        5.3463        .13585E-03   -1.5118    
   8  Prefactor     3.2923        46.287        .22344E-03   -1.5345    
   9  norm          6.4846        4.4608        .68224E-03   -1.5199    
  10  Prefactor     .10000E-03    82.672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.6878        .15140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.5428        2.0611        .76009E-04   -1.5282    
  13  Prefactor     19.420        13.031        .90902E-04   -1.4826    
  14  norm          10.816        16.007        .12184E-03   -1.5050    
  15  norm          4.1242        661.04        .18667E-03   -1.5302    
  16  Prefactor     .10000E-03    2.9111        .13474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    169.73        .42060E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    24.727        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     22.551        13.107        .84328E-04   -1.4758    
  20  Normalizat    .94475        .31151        .37959E-03   -.94905    
  21  Prefactor     1.0594        .15310        .18066E-03   -.90776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20118e-09
Minuit parameter uncertainties:
  1  6.50494e-07
  2  68.7776
  3  30.9234
  4  0.000136621
  5  20.5121
  6  3.46406
  7  5.3466
  8  24.7121
  9  4.46107
  10  0.000262974
  11  1.62546e-05
  12  2.06113
  13  13.0325
  14  16.0131
  15  105.635
  16  1.57326e-05
  17  0.00119263
  18  0.000224334
  19  13.1087
  20  0.312104
  21  0.153162
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.000e-04  1.625e-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.059e+00  1.532e-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:  9.448e-01  3.121e-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: 7.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.69e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/784389/likelihoodResults_519523201_519782401_4FGL_J1553.6+1257_daily_bin1081.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) = 6543.4105407
delta logL = -0.00129036542421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6543.40925032
delta logL = 1.66928657563e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2891       1.0000          .0000       5.0000    
     3 'Normalizat'    .94474       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0594       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=   6543.409     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      235 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    727.79        .15175E-02** at limit **
   2  alpha         2.1173        3.4482        .16535       -.77692E-08
   3  Normalizat    .94476        .13648        .37958E-03    .15485E-04
   4  Prefactor     1.0594        .68883E-01    .18066E-03    .36197E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.11735
  Normalizat = 0.944755
  Prefactor  = 1.05935
 **********
 **   18 **HESSE 
 **********

 FCN=   6543.409     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.7941        .30350E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1173        2.6013        .66141E-02   -.15367    
   3  Normalizat    .94476        .29638        .15183E-04   -.94905    
   4  Prefactor     1.0594        .14975        .36131E-04   -.90776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.90317e-11
Minuit parameter uncertainties:
  1  5.24138e-05
  2  208.595
  3  0.296899
  4  0.14981
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784389': 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) = 6543.40924996
delta logL = 3.76826392312e-07

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.000e-04  5.241e-05  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.117e+00  2.086e+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.059e+00  1.498e-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:  9.448e-01  2.969e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/784389/cmap_HighResolution_519523201_519782401_4FGL_J1553.6+1257_daily_bin1081.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.69e-05', job_status='DONE', photon_flux_upper_limit='7.67e-08', time_completed='2021-09-12 17:45:57.542448', job_id='784389', GAL2='1.06', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1631493957.54', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='3.77e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1081' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:45:57 PDT 2021


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

Job <4FGL_J1553.6+1257_daily_bin1081> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 17:30:20 2021
Job was executed on host(s) <bullet0008>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:30:46 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:30:46 2021
Terminated at Sun Sep 12 17:45:58 2021
Results reported at Sun Sep 12 17:45:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin1081 238.402 12.9524 519523201 519782401 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 :                                   607.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            938 sec.

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

