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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin1132
RA = 238.402, Dec = 12.9524
tmin = 532742401, tmax = 533001601
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='784465', job_status='RUN', time_executed='2021-09-12 17:31:27.444821', time_epoch_executed='1631493087.44' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='1132'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784465

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784465/ft1_4FGL_J1553.6+1257_daily_bin1132.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784465/ft2_4FGL_J1553.6+1257_daily_bin1132.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784465/ft1_4FGL_J1553.6+1257_daily_bin1132.fits outfile=/scratch/kocevski/784465/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1132.fits ra=238.402 dec=12.9524 rad=12.0 tmin=532742401.0 tmax=533001601.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.70
user 3.48
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784465/ft1_filtered_4FGL_J1553.6+1257_daily_bin1132.fits evtable="EVENTS" scfile=/scratch/kocevski/784465/ft2_4FGL_J1553.6+1257_daily_bin1132.fits sctable="SC_DATA" expcube=/scratch/kocevski/784465/ltcube_532742401_533001601_4FGL_J1553.6+1257_daily_bin1132.fits outfile=/scratch/kocevski/784465/expmap_532742401_533001601_4FGL_J1553.6+1257_daily_bin1132.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/784465/ltcube_532742401_533001601_4FGL_J1553.6+1257_daily_bin1132.fits
.....................!
real 193.59
user 188.01
sys 4.86

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/784465/ft1_filtered_4FGL_J1553.6+1257_daily_bin1132.fits scfile=/scratch/kocevski/784465/ft2_4FGL_J1553.6+1257_daily_bin1132.fits outfile=/scratch/kocevski/784465/cmap_532742401_533001601_4FGL_J1553.6+1257_daily_bin1132.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/784465/ft1_filtered_4FGL_J1553.6+1257_daily_bin1132.fits scfile=/scratch/kocevski/784465/ft2_4FGL_J1553.6+1257_daily_bin1132.fits outfile=/scratch/kocevski/784465/cmap_HighResolution_532742401_533001601_4FGL_J1553.6+1257_daily_bin1132.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.59
user 0.43
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.565       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.0891       1.0000         .10000E-03   10000.    
     6 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.0740       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17264E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.1603       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.1559       1.0000         .10000E-03   10000.    
    11 'norm      '    .78000       1.0000         .10000E-03   10000.    
    12 'norm      '    5.2884       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    12.718       1.0000         .10000E-03   10000.    
    15 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.6752       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.0539       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.6336       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .83701       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=   7793.581     FROM MIGRAD    STATUS=CONVERGED    452 CALLS     1948 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.606        43.152        .53015E-04   -.14271E-04
   2  Prefactor     .10000E-03    16.283       -.54472E-06** at limit **
   3  Prefactor     .10000E-03    38.277        .14497E-04** at limit **
   4  Prefactor     .10000E-03    23.142        .29981E-05** at limit **
   5  Prefactor     4.1109        93.245        .45166E-04   -.76538E-06
   6  norm          .10000E-03    1.4550        .11615E-06** at limit **
   7  Prefactor     3.0745        4.2476       -.54424E-06   -.69179E-03
   8  Prefactor     .10001E-03    125.01       -.20294E-04** at limit **
   9  norm          7.1574        5.9050       -.20325E-05   -.54704E-03
  10  Prefactor     4.1646        168.81        .28365E-04   -.27665E-05
  11  norm          .78408        6.5255       -.17361E-05    .63698E-05
  12  norm          5.2880        2.1314        .39039E-07    .31034E-03
  13  Prefactor     .10000E-03    6.0138        .11070E-06** at limit **
  14  norm          12.722        13.347        .78575E-06    .12353E-04
  15  norm          .10000E-03    122.42        .24033E-04** at limit **
  16  Prefactor     .10000E-03    3.4393        .12616E-07** at limit **
  17  Prefactor     .10000E-03    34.903       -.16578E-04** at limit **
  18  Prefactor     5.6792        10.716        .11773E-05   -.20502E-04
  19  Prefactor     6.0531        7.2828        .73991E-06   -.41010E-04
  20  Normalizat    1.6327        .23854       -.37277E-05    .19283E-03
  21  Prefactor     .83730        .11310       -.35443E-06   -.47148E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.6059
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.11087
  norm       = 0.0001
  Prefactor  = 3.07454
  Prefactor  = 0.000100006
  norm       = 7.15741
  Prefactor  = 4.16461
  norm       = 0.784075
  norm       = 5.288
  Prefactor  = 0.0001
  norm       = 12.7222
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.67923
  Prefactor  = 6.05309
  Normalizat = 1.63269
  Prefactor  = 0.837302
 **********
 **   18 **HESSE 
 **********

 FCN=   7793.581     FROM HESSE     STATUS=OK           319 CALLS     2267 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.606        43.036        .10495E-03   -1.4943    
   2  Prefactor     .10000E-03    16.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    38.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    23.247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.1109        92.038        .19937E-03   -1.5302    
   6  norm          .10000E-03    1.4915        .20773E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.0745        4.2306        .20250E-03   -1.5357    
   8  Prefactor     .10001E-03    130.52        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.1574        5.8653        .14991E-03   -1.5173    
  10  Prefactor     4.1646        168.22        .19771E-03   -1.5300    
  11  norm          .78408        19.667        .41863E-02   -1.5531    
  12  norm          5.2880        2.1275        .78137E-04   -1.5248    
  13  Prefactor     .10000E-03    6.0583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          12.722        13.344        .11232E-03   -1.4994    
  15  norm          .10000E-03    122.53        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.4489        .15988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    35.070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.6792        10.682        .16862E-03   -1.5231    
  19  Prefactor     6.0531        7.2649        .16318E-03   -1.5216    
  20  Normalizat    1.6327        .28645        .31218E-03   -.74115    
  21  Prefactor     .83730        .13647        .20026E-03   -.98368    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.03289e-10
Minuit parameter uncertainties:
  1  43.1281
  2  4.01545e-06
  3  0.000162181
  4  2.16999e-05
  5  38.9703
  6  1.32382e-05
  7  4.23104
  8  0.0018323
  9  5.86574
  10  53.0962
  11  7.85615
  12  2.12752
  13  2.01395e-05
  14  13.347
  15  4.52085e-05
  16  8.84823e-06
  17  0.000112726
  18  10.6852
  19  7.26594
  20  0.286735
  21  0.136528
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  7.841e-01  7.856e+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:  8.373e-01  1.365e-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.633e+00  2.867e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/784465/likelihoodResults_532742401_533001601_4FGL_J1553.6+1257_daily_bin1132.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) = 7793.19114976
delta logL = 0.390278444912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7793.15310891
delta logL = 0.428319298381

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6898       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.7663       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5679       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85421       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.

 FCN=   7793.153     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      241 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6903        44.290        .80962E-02    .15714E-02
   2  alpha         3.7679        4.0523        .50000        .50643E-04
   3  Normalizat    1.5672        .61761E-01    .71707E-01   -.33125E-05
   4  Prefactor     .85452        .29475E-01    .44419E-01    .47446E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.69031
  alpha      = 3.76789
  Normalizat = 1.56721
  Prefactor  = 0.854521
 **********
 **   18 **HESSE 
 **********

 FCN=   7793.153     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6903        64.973        .12537E-03   -1.5448    
   2  alpha         3.7679        2.9075        .26791E-01    .53188    
   3  Normalizat    1.5672        .29774        .31726E-03   -.75907    
   4  Prefactor     .85452        .14261        .19836E-03   -.97749    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.6131e-07
Minuit parameter uncertainties:
  1  20.9833
  2  8.30757
  3  0.298077
  4  0.142676
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784465': 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) = 7793.15310427
delta logL = 0.428323933525

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.690e+00  2.098e+01  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  3.768e+00  8.308e+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:  8.545e-01  1.427e-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.567e+00  2.981e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/784465/cmap_HighResolution_532742401_533001601_4FGL_J1553.6+1257_daily_bin1132.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.47e-05', job_status='DONE', photon_flux_upper_limit='9.90e-08', time_completed='2021-09-12 17:42:30.809120', job_id='784465', GAL2='0.85', fit_tolerance='1e-08', EG2='1.57', EG='1.63', time_epoch_completed='1631493750.81', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='4.28e-01', ts2='0.96', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1132' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:42:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 784465: <4FGL_J1553.6+1257_daily_bin1132> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin1132 238.402 12.9524 532742401 533001601 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 :                                   655.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             367.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   676 sec.
    Turnaround time :                            725 sec.

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

