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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin1086
RA = 238.402, Dec = 12.9524
tmin = 520819201, tmax = 521078401
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='784397', job_status='RUN', time_executed='2021-09-12 17:32:58.870909', time_epoch_executed='1631493178.87' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='1086'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784397

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784397/ft1_4FGL_J1553.6+1257_daily_bin1086.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784397/ft2_4FGL_J1553.6+1257_daily_bin1086.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784397/ft1_4FGL_J1553.6+1257_daily_bin1086.fits outfile=/scratch/kocevski/784397/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1086.fits ra=238.402 dec=12.9524 rad=12.0 tmin=520819201.0 tmax=521078401.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.27
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784397/ft1_filtered_4FGL_J1553.6+1257_daily_bin1086.fits evtable="EVENTS" scfile=/scratch/kocevski/784397/ft2_4FGL_J1553.6+1257_daily_bin1086.fits sctable="SC_DATA" expcube=/scratch/kocevski/784397/ltcube_520819201_521078401_4FGL_J1553.6+1257_daily_bin1086.fits outfile=/scratch/kocevski/784397/expmap_520819201_521078401_4FGL_J1553.6+1257_daily_bin1086.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/784397/ltcube_520819201_521078401_4FGL_J1553.6+1257_daily_bin1086.fits
.....................!
real 190.90
user 185.61
sys 4.91

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/784397/ft1_filtered_4FGL_J1553.6+1257_daily_bin1086.fits scfile=/scratch/kocevski/784397/ft2_4FGL_J1553.6+1257_daily_bin1086.fits outfile=/scratch/kocevski/784397/cmap_520819201_521078401_4FGL_J1553.6+1257_daily_bin1086.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/784397/ft1_filtered_4FGL_J1553.6+1257_daily_bin1086.fits scfile=/scratch/kocevski/784397/ft2_4FGL_J1553.6+1257_daily_bin1086.fits outfile=/scratch/kocevski/784397/cmap_HighResolution_520819201_521078401_4FGL_J1553.6+1257_daily_bin1086.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.877       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    46.349       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .22452       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.991       1.0000         .10000E-03   10000.    
     6 'norm      '    4.4844       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.4018       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.3300       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.6150       1.0000         .10000E-03   10000.    
    12 'norm      '    5.9016       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    148.43       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .28476       1.0000         .10000E-03   10000.    
    18 'Prefactor '    28.792       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.5716       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .73220       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=   7840.111     FROM MIGRAD    STATUS=CONVERGED    502 CALLS     2305 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.823        43.689        .32441E-06    .10728E-03
   2  Prefactor     .10000E-03    17.131       -.10057E-06** at limit **
   3  Prefactor     46.344        36.943        .68825E-06    .11276E-03
   4  Prefactor     .25393        49.591       -.13662E-04    .16572E-03
   5  Prefactor     12.981        27.966       -.11860E-07    .10461E-04
   6  norm          4.4837        2.8871       -.21335E-06    .10440E-03
   7  Prefactor     2.4015        2.6700       -.41010E-07   -.26473E-04
   8  Prefactor     .10000E-03    19.274       -.19150E-06** at limit **
   9  norm          3.3299        3.1385       -.35845E-07   -.45357E-04
  10  Prefactor     .10001E-03    227.24       -.21718E-05** at limit **
  11  norm          1.6142        6.6392        .85395E-05   -.33201E-04
  12  norm          5.9013        2.1174       -.25182E-06    .44430E-04
  13  Prefactor     .10000E-03    8.0800       -.33946E-06** at limit **
  14  norm          .10000E-03    8.5372       -.36508E-06** at limit **
  15  norm          148.45        116.10       -.25756E-06    .26258E-04
  16  Prefactor     .10000E-03    20.748       -.11436E-05** at limit **
  17  Prefactor     .10508E-03    44.133       -.71039E-05** at limit **
  18  Prefactor     28.854        14.814        .61646E-06    .99820E-03
  19  Prefactor     .10000E-03    5.3232       -.14385E-06** at limit **
  20  Normalizat    1.5715        .24296       -.46896E-05    .16894E-03
  21  Prefactor     .73238        .11006        .27560E-05    .10251E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.8229
  Prefactor  = 0.0001
  Prefactor  = 46.3444
  Prefactor  = 0.253933
  Prefactor  = 12.9813
  norm       = 4.48373
  Prefactor  = 2.40152
  Prefactor  = 0.0001
  norm       = 3.32995
  Prefactor  = 0.000100009
  norm       = 1.61424
  norm       = 5.90135
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 148.45
  Prefactor  = 0.000100002
  Prefactor  = 0.000105079
  Prefactor  = 28.8539
  Prefactor  = 0.0001
  Normalizat = 1.57148
  Prefactor  = 0.732381
 **********
 **   18 **HESSE 
 **********

 FCN=   7840.111     FROM HESSE     STATUS=OK           327 CALLS     2632 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.823        43.831        .10052E-03   -1.4912    
   2  Prefactor     .10000E-03    17.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     46.344        37.104        .58895E-04   -1.4345    
   4  Prefactor     .25393        33.675        .12989       -1.5607    
   5  Prefactor     12.981        27.941        .11113E-03   -1.4987    
   6  norm          4.4837        2.8877        .11598E-03   -1.5284    
   7  Prefactor     2.4015        2.6643        .14780E-03   -1.5398    
   8  Prefactor     .10000E-03    19.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.3299        3.1359        .14537E-03   -1.5343    
  10  Prefactor     .10001E-03    229.60        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.6142        7.0846        .16660E-02   -1.5454    
  12  norm          5.9013        2.1198        .73926E-04   -1.5222    
  13  Prefactor     .10000E-03    8.2540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    8.5804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          148.45        116.20        .16539E-03   -1.3265    
  16  Prefactor     .10000E-03    21.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10508E-03    41.806        .13376       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     28.854        14.951        .74665E-04   -1.4633    
  19  Prefactor     .10000E-03    5.3539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5715        .29645        .31272E-03   -.75789    
  21  Prefactor     .73238        .13592        .20371E-03   -1.0227    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.88512e-09
Minuit parameter uncertainties:
  1  43.9205
  2  3.35043e-05
  3  37.123
  4  5.85068
  5  27.9686
  6  2.88783
  7  2.66448
  8  5.32266e-05
  9  3.13608
  10  0.00296197
  11  6.76463
  12  2.11982
  13  7.65718e-05
  14  8.62699e-05
  15  116.384
  16  0.000417028
  17  0.0291627
  18  14.9531
  19  2.8283e-05
  20  0.296783
  21  0.135977
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.614e+00  6.765e+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:  7.324e-01  1.360e-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.571e+00  2.968e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/784397/likelihoodResults_520819201_521078401_4FGL_J1553.6+1257_daily_bin1086.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) = 7840.11037535
delta logL = 0.000393507406443

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7840.11000506
delta logL = 0.000763804544476

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6208       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3837       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5705       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73265       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7840.110     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      273 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6242        7.2348        .16622E-02    .27926E-04
   2  alpha         2.3849        2.0179        .64478E-01    .42712E-05
   3  Normalizat    1.5705        .28356        .31280E-03   -.15265E-05
   4  Prefactor     .73265        .13217        .20367E-03   -.27909E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.62417
  alpha      = 2.38495
  Normalizat = 1.57047
  Prefactor  = 0.732651
 **********
 **   18 **HESSE 
 **********

 FCN=   7840.110     FROM HESSE     STATUS=OK            27 CALLS      300 TOTAL
                     EDM=   .57E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6242        6.6987        .66487E-04   -1.5453    
   2  alpha         2.3849        1.9701        .12896E-01   -.46037E-01
   3  Normalizat    1.5705        .28392        .12512E-04   -.75817    
   4  Prefactor     .73265        .13226        .81468E-05   -1.0226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.74889e-14
Minuit parameter uncertainties:
  1  6.59797
  2  2.27003
  3  0.284213
  4  0.13232
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784397': 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) = 7840.11000474
delta logL = 0.000764119976338

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.624e+00  6.598e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.385e+00  2.270e+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:  7.327e-01  1.323e-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.570e+00  2.842e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
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/784397/cmap_HighResolution_520819201_521078401_4FGL_J1553.6+1257_daily_bin1086.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.38e-05', job_status='DONE', photon_flux_upper_limit='9.64e-08', time_completed='2021-09-12 17:45:58.134697', job_id='784397', GAL2='0.73', fit_tolerance='1e-08', EG2='1.57', EG='1.57', time_epoch_completed='1631493958.13', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='7.64e-04', ts2='0.07', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1086' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:45:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 784397: <4FGL_J1553.6+1257_daily_bin1086> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin1086> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 17:30:21 2021
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:30:49 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:49 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_bin1086 238.402 12.9524 520819201 521078401 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 :                                   668.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             250.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            937 sec.

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

