/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 2 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7330
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1553.6+1257_daily_bin646
RA = 238.402, Dec = 12.9524
tmin = 406771201, tmax = 407030401
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='781762', job_status='RUN', time_executed='2021-09-12 17:22:06.746033', time_epoch_executed='1631492526.75' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='646'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/781762

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/781762/ft1_4FGL_J1553.6+1257_daily_bin646.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/781762/ft2_4FGL_J1553.6+1257_daily_bin646.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/781762/ft1_4FGL_J1553.6+1257_daily_bin646.fits outfile=/scratch/kocevski/781762/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin646.fits ra=238.402 dec=12.9524 rad=12.0 tmin=406771201.0 tmax=407030401.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.49
user 3.22
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/781762/ft1_filtered_4FGL_J1553.6+1257_daily_bin646.fits" evtable="EVENTS" scfile=/scratch/kocevski/781762/ft2_4FGL_J1553.6+1257_daily_bin646.fits sctable="SC_DATA" outfile=/scratch/kocevski/781762/ltcube_406771201_407030401_4FGL_J1553.6+1257_daily_bin646.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/781762/ft2_4FGL_J1553.6+1257_daily_bin646.fits
.....................!
real 13.66
user 13.25
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/781762/ft1_filtered_4FGL_J1553.6+1257_daily_bin646.fits evtable="EVENTS" scfile=/scratch/kocevski/781762/ft2_4FGL_J1553.6+1257_daily_bin646.fits sctable="SC_DATA" expcube=/scratch/kocevski/781762/ltcube_406771201_407030401_4FGL_J1553.6+1257_daily_bin646.fits outfile=/scratch/kocevski/781762/expmap_406771201_407030401_4FGL_J1553.6+1257_daily_bin646.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/781762/ltcube_406771201_407030401_4FGL_J1553.6+1257_daily_bin646.fits
.....................!
real 191.08
user 185.27
sys 5.38

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/781762/ft1_filtered_4FGL_J1553.6+1257_daily_bin646.fits scfile=/scratch/kocevski/781762/ft2_4FGL_J1553.6+1257_daily_bin646.fits outfile=/scratch/kocevski/781762/cmap_406771201_407030401_4FGL_J1553.6+1257_daily_bin646.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/781762/ft1_filtered_4FGL_J1553.6+1257_daily_bin646.fits scfile=/scratch/kocevski/781762/ft2_4FGL_J1553.6+1257_daily_bin646.fits outfile=/scratch/kocevski/781762/cmap_HighResolution_406771201_407030401_4FGL_J1553.6+1257_daily_bin646.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    25.235       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.7873       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7008       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .45890E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    56.643       1.0000         .10000E-03   10000.    
    11 'norm      '    3.4030       1.0000         .10000E-03   10000.    
    12 'norm      '    2.2875       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    19.251       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.891       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.8682       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10256E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1580       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0397       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=   8879.698     FROM MIGRAD    STATUS=CONVERGED    432 CALLS     2158 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.587       -.40976E-05** at limit **
   2  Prefactor     .10000E-03    38.992        .17603E-04** at limit **
   3  Prefactor     25.244        36.221        .10496E-04    .84782E-05
   4  Prefactor     .10000E-03    16.540       -.99028E-05** at limit **
   5  Prefactor     .10000E-03    9.8821       -.51519E-05** at limit **
   6  norm          3.7873        2.6273       -.85726E-07   -.71465E-05
   7  Prefactor     2.7028        4.7250       -.91862E-06   -.12000E-02
   8  Prefactor     .10000E-03    27.422        .50108E-05** at limit **
   9  norm          .10000E-03    1.8022        .11855E-05** at limit **
  10  Prefactor     56.608        66.106       -.40743E-04   -.48394E-04
  11  norm          3.4045        6.3321       -.43904E-06   -.27841E-03
  12  norm          2.2877        1.3894        .36111E-06    .22641E-03
  13  Prefactor     .10000E-03    14.504        .79646E-05** at limit **
  14  norm          19.252        14.779        .86030E-06   -.28070E-04
  15  norm          .10000E-03    46.157       -.15889E-04** at limit **
  16  Prefactor     13.892        15.643       -.64290E-06   -.81019E-04
  17  Prefactor     2.8502        34.520       -.17471E-04   -.62050E-04
  18  Prefactor     .10000E-03    8.3489        .90107E-06** at limit **
  19  Prefactor     .10000E-03    10.245        .35943E-05** at limit **
  20  Normalizat    1.1576        .24240        .15830E-07   -.18803E-03
  21  Prefactor     1.0399        .11091        .11785E-05   -.59396E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.2439
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.78726
  Prefactor  = 2.70278
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 56.6081
  norm       = 3.40446
  norm       = 2.28771
  Prefactor  = 0.0001
  norm       = 19.2519
  norm       = 0.0001
  Prefactor  = 13.8924
  Prefactor  = 2.85017
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.15765
  Prefactor  = 1.03989
 **********
 **   18 **HESSE 
 **********

 FCN=   8879.698     FROM HESSE     STATUS=OK           315 CALLS     2473 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    39.026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     25.244        36.434        .79743E-04   -1.4703    
   4  Prefactor     .10000E-03    16.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.8806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.7873        2.6251        .12228E-03   -1.5319    
   7  Prefactor     2.7028        4.6658        .24787E-03   -1.5379    
   8  Prefactor     .10000E-03    27.476        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    7.3228        .23974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     56.608        65.970        .53301E-04   -1.4202    
  11  norm          3.4045        6.3083        .21931E-03   -1.5339    
  12  norm          2.2877        1.3920        .83684E-04   -1.5405    
  13  Prefactor     .10000E-03    14.659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          19.252        14.783        .91286E-04   -1.4830    
  15  norm          .10000E-03    46.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.892        15.697        .10747E-03   -1.4962    
  17  Prefactor     2.8502        34.723        .24002E-03   -1.5370    
  18  Prefactor     .10000E-03    8.4339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1576        .29197        .37119E-03   -.87922    
  21  Prefactor     1.0399        .13404        .18383E-03   -.91412    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79294e-09
Minuit parameter uncertainties:
  1  4.61869e-05
  2  4.26644e-05
  3  36.4666
  4  4.10091e-05
  5  1.23076e-05
  6  2.62522
  7  4.66644
  8  4.35323e-05
  9  0.000307714
  10  66.0557
  11  6.30953
  12  1.39197
  13  7.08687e-05
  14  14.7853
  15  5.54341e-06
  16  15.7012
  17  19.9105
  18  3.99498e-05
  19  4.60338e-06
  20  0.292376
  21  0.134084
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  3.404e+00  6.310e+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:  1.040e+00  1.341e-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.158e+00  2.924e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/781762/likelihoodResults_406771201_407030401_4FGL_J1553.6+1257_daily_bin646.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8879.69680071
delta logL = 0.00109302802775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8879.69673608
delta logL = 0.00115765409282

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4001       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3539       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1564       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0401       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=   8879.697     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      225 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4086        491.75        .54852E-02    .32900E-03
   2  alpha         2.3561        3.3939        .41241        .97395E-05
   3  Normalizat    1.1564        .12134        .83873E-01    .39528E-04
   4  Prefactor     1.0402        .58912E-01    .40525E-01    .36869E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.40861
  alpha      = 2.35608
  Normalizat = 1.15636
  Prefactor  = 1.04022
 **********
 **   18 **HESSE 
 **********

 FCN=   8879.697     FROM HESSE     STATUS=OK            31 CALLS      256 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4086        6.2709        .21941E-03   -1.5339    
   2  alpha         2.3561        1.1852        .37754E-01   -.57601E-01
   3  Normalizat    1.1564        .27889        .37136E-03   -.87962    
   4  Prefactor     1.0402        .13206        .18380E-03   -.91400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.47528e-10
Minuit parameter uncertainties:
  1  6.27208
  2  1.23501
  3  0.279247
  4  0.132101
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/781762': 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) = 8879.69673159
delta logL = 0.00116214595982

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  3.409e+00  6.272e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.356e+00  1.235e+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.040e+00  1.321e-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.156e+00  2.792e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.41
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/781762/cmap_HighResolution_406771201_407030401_4FGL_J1553.6+1257_daily_bin646.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.51e-05', job_status='DONE', photon_flux_upper_limit='1.00e-07', time_completed='2021-09-12 17:33:38.534262', job_id='781762', GAL2='1.04', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1631493218.53', return_code2='0', ts='0.41', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.16e-03', ts2='0.42', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='646' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:33:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 781762: <4FGL_J1553.6+1257_daily_bin646> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin646> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep 12 17:20:25 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:21:55 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:21:55 2021
Terminated at Sun Sep 12 17:33:39 2021
Results reported at Sun Sep 12 17:33:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin646 238.402 12.9524 406771201 407030401 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 :                                   688.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             375.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   703 sec.
    Turnaround time :                            794 sec.

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

