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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1593
RA = 238.931, Dec = 11.1884
tmin = 652233601, tmax = 652492801
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='867649', job_status='RUN', time_executed='2021-09-12 22:29:16.782333', time_epoch_executed='1631510956.78' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1593'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/867649

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/867649/ft1_4FGL_J1555.7+1111_daily_bin1593.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/867649/ft2_4FGL_J1555.7+1111_daily_bin1593.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/867649/ft1_4FGL_J1555.7+1111_daily_bin1593.fits outfile=/scratch/kocevski/867649/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1593.fits ra=238.931 dec=11.1884 rad=12.0 tmin=652233601.0 tmax=652492801.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 4.49
user 4.18
sys 0.28

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/867649/ft2_4FGL_J1555.7+1111_daily_bin1593.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/867649/ft2_4FGL_J1555.7+1111_daily_bin1593.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/867649/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1593.fits evtable="EVENTS" outfile="/scratch/kocevski/867649/ft1_filtered_4FGL_J1555.7+1111_daily_bin1593.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.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/867649/ft1_filtered_4FGL_J1555.7+1111_daily_bin1593.fits" evtable="EVENTS" scfile=/scratch/kocevski/867649/ft2_4FGL_J1555.7+1111_daily_bin1593.fits sctable="SC_DATA" outfile=/scratch/kocevski/867649/ltcube_652233601_652492801_4FGL_J1555.7+1111_daily_bin1593.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/867649/ft2_4FGL_J1555.7+1111_daily_bin1593.fits
.....................!
real 13.66
user 13.27
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/867649/ft1_filtered_4FGL_J1555.7+1111_daily_bin1593.fits evtable="EVENTS" scfile=/scratch/kocevski/867649/ft2_4FGL_J1555.7+1111_daily_bin1593.fits sctable="SC_DATA" expcube=/scratch/kocevski/867649/ltcube_652233601_652492801_4FGL_J1555.7+1111_daily_bin1593.fits outfile=/scratch/kocevski/867649/expmap_652233601_652492801_4FGL_J1555.7+1111_daily_bin1593.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/867649/ltcube_652233601_652492801_4FGL_J1555.7+1111_daily_bin1593.fits
.....................!
real 192.40
user 185.53
sys 6.30

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 160 point sources and 0 extended sources

Setting source of interest to:
4FGL J1555.7+1111 @ 238.931 11.1884

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/867649/ft1_filtered_4FGL_J1555.7+1111_daily_bin1593.fits scfile=/scratch/kocevski/867649/ft2_4FGL_J1555.7+1111_daily_bin1593.fits outfile=/scratch/kocevski/867649/cmap_652233601_652492801_4FGL_J1555.7+1111_daily_bin1593.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.931 yref=11.1884 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/867649/ft1_filtered_4FGL_J1555.7+1111_daily_bin1593.fits scfile=/scratch/kocevski/867649/ft2_4FGL_J1555.7+1111_daily_bin1593.fits outfile=/scratch/kocevski/867649/cmap_HighResolution_652233601_652492801_4FGL_J1555.7+1111_daily_bin1593.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.931 yref=11.1884 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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/867649/ft1_filtered_4FGL_J1555.7+1111_daily_bin1593.fits evtable="EVENTS" scfile=/scratch/kocevski/867649/ft2_4FGL_J1555.7+1111_daily_bin1593.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/867649/Model_4FGL_J1555.7+1111_daily_bin1593.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/867649/ft1_filtered_4FGL_J1555.7+1111_daily_bin1593.fits.....................!
real 58.65
user 57.27
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/867649/ft1_filtered_4FGL_J1555.7+1111_daily_bin1593.fits', '/scratch/kocevski/867649/ft2_4FGL_J1555.7+1111_daily_bin1593.fits', expMap='/scratch/kocevski/867649/expmap_652233601_652492801_4FGL_J1555.7+1111_daily_bin1593.fits', expCube='/scratch/kocevski/867649/ltcube_652233601_652492801_4FGL_J1555.7+1111_daily_bin1593.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/867649/Model_4FGL_J1555.7+1111_daily_bin1593.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1555.7+1111'

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  3.843e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.541e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
267         beta:  6.792e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
268           Eb:  1.802e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/867649/ft1_filtered_4FGL_J1555.7+1111_daily_bin1593.fits
Spacecraft file(s): /scratch/kocevski/867649/ft2_4FGL_J1555.7+1111_daily_bin1593.fits
Exposure map: /scratch/kocevski/867649/expmap_652233601_652492801_4FGL_J1555.7+1111_daily_bin1593.fits
Exposure cube: /scratch/kocevski/867649/ltcube_652233601_652492801_4FGL_J1555.7+1111_daily_bin1593.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/867649/Model_4FGL_J1555.7+1111_daily_bin1593.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) = 7452.7083117

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29309       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .21176E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .78558E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.2236       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.2276       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    27.303       1.0000         .10000E-03   10000.    
    11 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.5730       1.0000         .10000E-03   10000.    
    13 'norm      '    75.693       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.536       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0191       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0051       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7452.705     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2289 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11813E-03    43.479       -.17190E-05** at limit **
   2  Prefactor     .10000E-03    71.885        .29815E-06** at limit **
   3  Prefactor     .10071E-03    4.5395        .65487E-06** at limit **
   4  Prefactor     .10000E-03    9.0448        .11481E-06** at limit **
   5  Prefactor     2.2249        18.840       -.38346E-04   -.13704E-03
   6  norm          .10000E-03    1.1274       -.52759E-08** at limit **
   7  Prefactor     2.2292        4.4433       -.16328E-06   -.85227E-03
   8  Prefactor     .10000E-03    8.7254       -.18225E-07** at limit **
   9  norm          .10000E-03    1.1098        .21344E-07** at limit **
  10  Prefactor     27.208        67.339        .24356E-04    .75572E-05
  11  norm          .10000E-03    6.0654       -.48599E-07** at limit **
  12  norm          6.5734        2.1530       -.47459E-07    .10207E-03
  13  norm          75.697        20.430       -.34825E-05    .99683E-05
  14  norm          .10000E-03    116.08       -.45304E-05** at limit **
  15  Prefactor     .10000E-03    2.7874       -.38606E-08** at limit **
  16  Prefactor     .10000E-03    39.131       -.18013E-08** at limit **
  17  Prefactor     .10000E-03    10.416       -.11611E-06** at limit **
  18  Prefactor     .10000E-03    13.266        .77439E-07** at limit **
  19  Prefactor     12.538        10.707       -.38284E-06   -.49370E-04
  20  Normalizat    1.0190        .23051       -.74983E-07    .53469E-04
  21  Prefactor     1.0051        .11008        .78181E-06   -.17807E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000118127
  Prefactor  = 0.0001
  Prefactor  = 0.00010071
  Prefactor  = 0.0001
  Prefactor  = 2.2249
  norm       = 0.0001
  Prefactor  = 2.22915
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 27.2081
  norm       = 0.0001
  norm       = 6.57337
  norm       = 75.6974
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.5379
  Normalizat = 1.01895
  Prefactor  = 1.00512
 **********
 **   18 **HESSE 
 **********

 FCN=   7452.705     FROM HESSE     STATUS=OK           327 CALLS     2616 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11813E-03    42.145        .15702       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    72.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10071E-03    5.5696        .49671E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.0564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.2249        19.213        .27575E-03   -1.5410    
   6  norm          .10000E-03    1.1479        .89484E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.2292        4.4351        .24290E-03   -1.5409    
   8  Prefactor     .10000E-03    8.7304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.1128        .88794E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     27.208        67.247        .76669E-04   -1.4664    
  11  norm          .10000E-03    6.1402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.5734        2.1528        .70339E-04   -1.5195    
  13  norm          75.697        20.440        .46152E-04   -1.3966    
  14  norm          .10000E-03    116.14        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.7901        .14076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    39.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.673        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.538        10.713        .11313E-03   -1.5000    
  20  Normalizat    1.0190        .27517        .36061E-03   -.92398    
  21  Prefactor     1.0051        .13238        .17353E-03   -.92559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.29168e-10
Minuit parameter uncertainties:
  1  0.0553181
  2  0.000133989
  3  0.00397704
  4  3.62079e-06
  5  13.0816
  6  1.57092e-06
  7  4.43579
  8  1.98831e-06
  9  3.26689e-06
  10  67.4351
  11  2.78401e-06
  12  2.1528
  13  20.4417
  14  2.10526e-05
  15  5.42663e-07
  16  2.00503e-06
  17  5.22801e-06
  18  1.32764e-05
  19  10.7149
  20  0.275556
  21  0.132428
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  6.573e+00  2.153e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.541e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
267         beta:  6.792e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
268           Eb:  1.802e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.005e+00  1.324e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.019e+00  2.756e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 49.91
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 8.10e-08 +/- 2.65e-08
Energy Flux (Fixed Index): 1.84e-04 +/- 6.01e-05

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) = 7452.42129934
delta logL = 0.284055313859

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7452.41806048
delta logL = 0.287294171778

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7452.418     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      208 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.3999        9.3345        .39667E-02    .14960E-03
   2  alpha         1.7358        1.0378        .19601        .10823E-03
   3  Normalizat    1.0024        .25777        .82008E-01    .53779E-05
   4  Prefactor     1.0074        .11173        .43754E-01    .45478E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.39992
  alpha      = 1.73579
  Normalizat = 1.0024
  Prefactor  = 1.00736
 **********
 **   18 **HESSE 
 **********

 FCN=   7452.418     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.3999        2.1087        .66983E-04   -1.5202    
   2  alpha         1.7358        .25928        .80100E-02   -.31066    
   3  Normalizat    1.0024        .27183        .36301E-03   -.92950    
   4  Prefactor     1.0074        .13044        .17324E-03   -.92485    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.67949e-11
Minuit parameter uncertainties:
  1  2.10875
  2  0.259796
  3  0.272209
  4  0.130479
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/867649': 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) = 7452.41805926
delta logL = 0.287295397469

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  6.400e+00  2.109e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.736e+00  2.598e-01  0.000e+00  5.000e+00 ( 1.000e+00)
267         beta:  6.792e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
268           Eb:  1.802e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  1.007e+00  1.305e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.002e+00  2.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 50.48
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.74 +/- 0.26
Photon Flux (Free Index): 1.01e-07 +/- 4.26e-08
Energy Flux (Free Index): 1.35e-04 +/- 6.83e-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/867649/cmap_HighResolution_652233601_652492801_4FGL_J1555.7+1111_daily_bin1593.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.10e-08', energy_flux2='1.35e-04', photon_flux_error='2.65e-08', dlogl='2.87e-01', energy_flux='1.84e-04', photon_flux2='1.01e-07', job_status='DONE', time_completed='2021-09-12 22:39:31.386591', photon_index_error2='0.26', photon_index2='1.74', ts='49.91', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='6.83e-05', EG='1.02', time_epoch_completed='1631511571.39', return_code='0', job_id='867649', GAL2='1.01', EG2='1.00', return_code2='0', energy_flux_error='6.01e-05', photon_flux_error2='4.26e-08', ts2='50.48', photon_index='1.54' WHERE bin_id='1593' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:39:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 867649: <4FGL_J1555.7+1111_daily_bin1593> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin1593> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 22:25:19 2021
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 22:25:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 22:25:34 2021
Terminated at Sun Sep 12 22:39:32 2021
Results reported at Sun Sep 12 22:39:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1593 238.931 11.1884 652233601 652492801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1555.7+1111 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   605.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            853 sec.

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

