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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin1611
RA = 238.402, Dec = 12.9524
tmin = 656899201, tmax = 657158401
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='387072', job_status='RUN', time_executed='2021-12-08 02:24:19.946866', time_epoch_executed='1638959059.95' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='1611'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/387072

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/387072/ft1_4FGL_J1553.6+1257_daily_bin1611.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/387072/ft2_4FGL_J1553.6+1257_daily_bin1611.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/387072/ft1_4FGL_J1553.6+1257_daily_bin1611.fits outfile=/scratch/kocevski/387072/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1611.fits ra=238.402 dec=12.9524 rad=12.0 tmin=656899201.0 tmax=657158401.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.59
user 3.37
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/387072/ft2_4FGL_J1553.6+1257_daily_bin1611.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/387072/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1611.fits evtable="EVENTS" outfile="/scratch/kocevski/387072/ft1_filtered_4FGL_J1553.6+1257_daily_bin1611.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/387072/ft1_filtered_4FGL_J1553.6+1257_daily_bin1611.fits" evtable="EVENTS" scfile=/scratch/kocevski/387072/ft2_4FGL_J1553.6+1257_daily_bin1611.fits sctable="SC_DATA" outfile=/scratch/kocevski/387072/ltcube_656899201_657158401_4FGL_J1553.6+1257_daily_bin1611.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/387072/ft2_4FGL_J1553.6+1257_daily_bin1611.fits
.....................!
real 13.15
user 12.79
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/387072/ft1_filtered_4FGL_J1553.6+1257_daily_bin1611.fits evtable="EVENTS" scfile=/scratch/kocevski/387072/ft2_4FGL_J1553.6+1257_daily_bin1611.fits sctable="SC_DATA" expcube=/scratch/kocevski/387072/ltcube_656899201_657158401_4FGL_J1553.6+1257_daily_bin1611.fits outfile=/scratch/kocevski/387072/expmap_656899201_657158401_4FGL_J1553.6+1257_daily_bin1611.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/387072/ltcube_656899201_657158401_4FGL_J1553.6+1257_daily_bin1611.fits
.....................!
real 192.29
user 186.89
sys 5.04

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/387072/ft1_filtered_4FGL_J1553.6+1257_daily_bin1611.fits scfile=/scratch/kocevski/387072/ft2_4FGL_J1553.6+1257_daily_bin1611.fits outfile=/scratch/kocevski/387072/cmap_656899201_657158401_4FGL_J1553.6+1257_daily_bin1611.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/387072/ft1_filtered_4FGL_J1553.6+1257_daily_bin1611.fits scfile=/scratch/kocevski/387072/ft2_4FGL_J1553.6+1257_daily_bin1611.fits outfile=/scratch/kocevski/387072/cmap_HighResolution_656899201_657158401_4FGL_J1553.6+1257_daily_bin1611.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.664       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    27.799       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    7.2542       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .67388       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.8012       1.0000         .10000E-03   10000.    
    12 'norm      '    2.9233       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.5571       1.0000         .10000E-03   10000.    
    14 'norm      '    202.81       1.0000         .10000E-03   10000.    
    15 'norm      '    40.874       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.5535       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0789       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .98150       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=   8272.035     FROM MIGRAD    STATUS=CONVERGED    439 CALLS     2170 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.656        43.246       -.97151E-05   -.45686E-04
   2  Prefactor     .10000E-03    28.829        .10771E-04** at limit **
   3  Prefactor     .10000E-03    9.6282        .40204E-05** at limit **
   4  Prefactor     27.798        27.917       -.75023E-06   -.36799E-04
   5  Prefactor     .10000E-03    18.069       -.11042E-04** at limit **
   6  norm          7.2536        3.5358       -.11101E-06   -.83957E-03
   7  Prefactor     .10000E-03    .99381        .30054E-08** at limit **
   8  Prefactor     .10000E-03    12.861        .10421E-04** at limit **
   9  norm          .67398        3.2978        .86880E-07   -.31220E-03
  10  Prefactor     .10000E-03    56.690       -.79139E-05** at limit **
  11  norm          1.7991        4.4693        .22418E-05   -.17331E-02
  12  norm          2.9231        1.6903       -.90146E-07    .19446E-04
  13  Prefactor     4.5571        5.8541       -.20981E-06   -.23100E-04
  14  norm          202.81        29.004       -.83410E-06   -.38427E-04
  15  norm          40.875        113.69        .16412E-05    .20523E-05
  16  Prefactor     6.5535        8.0711       -.82229E-07   -.20418E-04
  17  Prefactor     .10000E-03    10.481       -.90447E-05** at limit **
  18  Prefactor     .10000E-03    4.4699        .83051E-08** at limit **
  19  Prefactor     .10000E-03    2.2872       -.11120E-07** at limit **
  20  Normalizat    1.0790        .23630        .14155E-05   -.40750E-04
  21  Prefactor     .98147        .11236       -.23919E-06    .11895E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.6563
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 27.7984
  Prefactor  = 0.000100001
  norm       = 7.2536
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.67398
  Prefactor  = 0.0001
  norm       = 1.7991
  norm       = 2.92307
  Prefactor  = 4.55707
  norm       = 202.808
  norm       = 40.8748
  Prefactor  = 6.55347
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.07898
  Prefactor  = 0.981469
 **********
 **   18 **HESSE 
 **********

 FCN=   8272.035     FROM HESSE     STATUS=OK           313 CALLS     2483 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.656        43.460        .92708E-04   -1.4844    
   2  Prefactor     .10000E-03    28.875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.6559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.798        28.010        .75983E-04   -1.4653    
   5  Prefactor     .10000E-03    18.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.2536        3.5408        .56618E-03   -1.5169    
   7  Prefactor     .10000E-03    .99687        .88531E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .67398        3.3200        .31954E-03   -1.5544    
  10  Prefactor     .10000E-03    56.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.7991        12.711        .15573E-02   -1.5440    
  12  norm          2.9231        1.7193        .86993E-04   -1.5366    
  13  Prefactor     4.5571        5.8511        .18857E-03   -1.5281    
  14  norm          202.81        29.066        .14188E-03   -1.2850    
  15  norm          40.875        114.00        .62699E-04   -1.4428    
  16  Prefactor     6.5535        8.0688        .15676E-03   -1.5196    
  17  Prefactor     .10000E-03    10.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.4931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.2897        .13433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0790        .28593        .36869E-03   -.90430    
  21  Prefactor     .98147        .13572        .18828E-03   -.93350    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50076e-08
Minuit parameter uncertainties:
  1  43.5335
  2  0.000245618
  3  5.75894e-05
  4  28.0235
  5  0.000209776
  6  3.54094
  7  3.52477e-07
  8  0.000167783
  9  2.99175
  10  0.000262416
  11  9.56668
  12  1.71931
  13  5.85183
  14  29.0684
  15  114.611
  16  8.07012
  17  0.000130266
  18  1.00808e-07
  19  3.79106e-07
  20  0.28634
  21  0.135768
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.799e+00  9.567e+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

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  9.815e-01  1.358e-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:  1.079e+00  2.863e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 238.402 12.952
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.07e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/387072/likelihoodResults_656899201_657158401_4FGL_J1553.6+1257_daily_bin1611.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) = 8270.71133913
delta logL = 1.32391626804

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8270.67452613
delta logL = 1.36072927048

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .98777       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.6660       1.0000          .0000       5.0000    
     3 'Normalizat'    .93006       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0265       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=   8270.675     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      272 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .98047        19.469        .55902E-04   -.70244E-03
   2  alpha         4.6705        3.2892        .37257E-01   -.95699E-05
   3  Normalizat    .93030        .24513        .39226E-03    .11384E-03
   4  Prefactor     1.0265        .11847        .18423E-03    .27727E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.980475
  alpha      = 4.67048
  Normalizat = 0.930299
  Prefactor  = 1.02651
 **********
 **   18 **HESSE 
 **********

 FCN=   8270.675     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .98047        2.9417        .22361E-05   -1.5510    
   2  alpha         4.6705        4.1165        .14903E-02    1.0515    
   3  Normalizat    .93030        .28570        .15691E-04   -.95404    
   4  Prefactor     1.0265        .13723        .36846E-04   -.91851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32421e-10
Minuit parameter uncertainties:
  1  2.94209
  2  1.84914
  3  0.286169
  4  0.137279
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/387072': 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) = 8270.67452155
delta logL = 1.36073384951

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  9.805e-01  2.942e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  4.670e+00  1.849e+00  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.027e+00  1.373e-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.303e-01  2.862e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.05
Ra Dec: 238.402 12.952
Photon Index (Free Index): 4.67 +/- 1.85
Photon Flux (Free Index): 1.33e-07 +/- 8.83e-08
Energy Flux (Free Index): 1.88e-05 +/- 1.31e-05

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/387072/cmap_HighResolution_656899201_657158401_4FGL_J1553.6+1257_daily_bin1611.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.07e-05', comment='SUCCESS', energy_flux2='1.88e-05', dlogl='1.36e+00', photon_flux2='1.33e-07', job_status='DONE', time_completed='2021-12-08 02:35:59.843973', photon_index_error2='1.85', photon_index2='4.67', ts='0.04', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.16e-07', energy_flux_error2='1.31e-05', EG='1.08', time_epoch_completed='1638959759.84', return_code='0', job_id='387072', GAL2='1.03', EG2='0.93', return_code2='0', photon_flux_error2='8.83e-08', ts2='3.05', photon_index='2.30' WHERE bin_id='1611' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 02:35:59 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 387072: <4FGL_J1553.6+1257_daily_bin1611> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin1611> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Dec  8 02:20:23 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 02:22:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 02:22:15 2021
Terminated at Wed Dec  8 02:36:00 2021
Results reported at Wed Dec  8 02:36:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin1611 238.402 12.9524 656899201 657158401 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 :                                   699.12 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             300.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            937 sec.

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

