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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1321
RA = 238.931, Dec = 11.1884
tmin = 581731201, tmax = 581990401
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='864901', job_status='RUN', time_executed='2021-09-12 22:20:23.459314', time_epoch_executed='1631510423.46' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1321'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/864901

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/864901/ft1_4FGL_J1555.7+1111_daily_bin1321.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/864901/ft2_4FGL_J1555.7+1111_daily_bin1321.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/864901/ft1_4FGL_J1555.7+1111_daily_bin1321.fits outfile=/scratch/kocevski/864901/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1321.fits ra=238.931 dec=11.1884 rad=12.0 tmin=581731201.0 tmax=581990401.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 2.54
user 2.32
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/864901/ft1_filtered_4FGL_J1555.7+1111_daily_bin1321.fits" evtable="EVENTS" scfile=/scratch/kocevski/864901/ft2_4FGL_J1555.7+1111_daily_bin1321.fits sctable="SC_DATA" outfile=/scratch/kocevski/864901/ltcube_581731201_581990401_4FGL_J1555.7+1111_daily_bin1321.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/864901/ft2_4FGL_J1555.7+1111_daily_bin1321.fits
.....................!
real 14.72
user 14.32
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/864901/ft1_filtered_4FGL_J1555.7+1111_daily_bin1321.fits evtable="EVENTS" scfile=/scratch/kocevski/864901/ft2_4FGL_J1555.7+1111_daily_bin1321.fits sctable="SC_DATA" expcube=/scratch/kocevski/864901/ltcube_581731201_581990401_4FGL_J1555.7+1111_daily_bin1321.fits outfile=/scratch/kocevski/864901/expmap_581731201_581990401_4FGL_J1555.7+1111_daily_bin1321.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/864901/ltcube_581731201_581990401_4FGL_J1555.7+1111_daily_bin1321.fits
.....................!
real 191.80
user 186.27
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 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/864901/ft1_filtered_4FGL_J1555.7+1111_daily_bin1321.fits scfile=/scratch/kocevski/864901/ft2_4FGL_J1555.7+1111_daily_bin1321.fits outfile=/scratch/kocevski/864901/cmap_581731201_581990401_4FGL_J1555.7+1111_daily_bin1321.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/864901/ft1_filtered_4FGL_J1555.7+1111_daily_bin1321.fits scfile=/scratch/kocevski/864901/ft2_4FGL_J1555.7+1111_daily_bin1321.fits outfile=/scratch/kocevski/864901/cmap_HighResolution_581731201_581990401_4FGL_J1555.7+1111_daily_bin1321.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.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/864901/ft1_filtered_4FGL_J1555.7+1111_daily_bin1321.fits evtable="EVENTS" scfile=/scratch/kocevski/864901/ft2_4FGL_J1555.7+1111_daily_bin1321.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/864901/Model_4FGL_J1555.7+1111_daily_bin1321.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/864901/ft1_filtered_4FGL_J1555.7+1111_daily_bin1321.fits.....................!
real 45.93
user 44.53
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/864901/ft1_filtered_4FGL_J1555.7+1111_daily_bin1321.fits', '/scratch/kocevski/864901/ft2_4FGL_J1555.7+1111_daily_bin1321.fits', expMap='/scratch/kocevski/864901/expmap_581731201_581990401_4FGL_J1555.7+1111_daily_bin1321.fits', expCube='/scratch/kocevski/864901/ltcube_581731201_581990401_4FGL_J1555.7+1111_daily_bin1321.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/864901/Model_4FGL_J1555.7+1111_daily_bin1321.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/864901/ft1_filtered_4FGL_J1555.7+1111_daily_bin1321.fits
Spacecraft file(s): /scratch/kocevski/864901/ft2_4FGL_J1555.7+1111_daily_bin1321.fits
Exposure map: /scratch/kocevski/864901/expmap_581731201_581990401_4FGL_J1555.7+1111_daily_bin1321.fits
Exposure cube: /scratch/kocevski/864901/ltcube_581731201_581990401_4FGL_J1555.7+1111_daily_bin1321.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/864901/Model_4FGL_J1555.7+1111_daily_bin1321.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) = 5179.24000119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    164.90       1.0000         .10000E-03   10000.    
     2 'Prefactor '    74.185       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11583E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    38.460       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.8467       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10783E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    8.4347       1.0000         .10000E-03   10000.    
    12 'norm      '    5.6215       1.0000         .10000E-03   10000.    
    13 'norm      '    56.093       1.0000         .10000E-03   10000.    
    14 'norm      '    292.15       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.960       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.409       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.7393       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.9437       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .73835       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .98192       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=   5179.160     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     2209 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     164.65        136.08       -.16622E-03    .13719E-05
   2  Prefactor     74.183        58.151       -.10380E-04    .43416E-04
   3  Prefactor     .10001E-03    19.198        .19705E-05** at limit **
   4  Prefactor     38.465        31.924       -.84121E-05    .22867E-04
   5  Prefactor     .10000E-03    24.775        .30137E-06** at limit **
   6  norm          8.8463        4.0251       -.39233E-06    .34086E-04
   7  Prefactor     .10000E-03    11.314        .29727E-06** at limit **
   8  Prefactor     .10000E-03    55.217        .84030E-06** at limit **
   9  norm          .10000E-03    3.1493        .39329E-07** at limit **
  10  Prefactor     .10000E-03    34.303        .14736E-06** at limit **
  11  norm          8.4341        9.4458        .15211E-06   -.43844E-04
  12  norm          5.6211        2.5246       -.10887E-06    .12312E-02
  13  norm          56.088        27.430       -.41457E-06    .15852E-04
  14  norm          292.07        278.19       -.47384E-04    .10602E-07
  15  Prefactor     15.962        16.797       -.47584E-05    .24217E-04
  16  Prefactor     .10000E-03    83.963       -.30598E-05** at limit **
  17  Prefactor     20.249        44.792        .82927E-05    .15284E-04
  18  Prefactor     8.7407        17.534       -.69510E-05   -.43181E-04
  19  Prefactor     6.9385        12.656       -.42510E-05   -.42678E-04
  20  Normalizat    .73744        .33743        .20148E-04    .85880E-04
  21  Prefactor     .98239        .14370        .23583E-05    .19975E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 164.647
  Prefactor  = 74.1831
  Prefactor  = 0.000100009
  Prefactor  = 38.4646
  Prefactor  = 0.0001
  norm       = 8.84634
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 8.43413
  norm       = 5.62105
  norm       = 56.0882
  norm       = 292.07
  Prefactor  = 15.9618
  Prefactor  = 0.0001
  Prefactor  = 20.2494
  Prefactor  = 8.74066
  Prefactor  = 6.93851
  Normalizat = 0.73744
  Prefactor  = 0.982388
 **********
 **   18 **HESSE 
 **********

 FCN=   5179.160     FROM HESSE     STATUS=OK           317 CALLS     2526 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     164.65        136.09        .15705E-03   -1.3135    
   2  Prefactor     74.183        58.773        .46615E-04   -1.3983    
   3  Prefactor     .10001E-03    19.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     38.465        31.942        .64629E-04   -1.4467    
   5  Prefactor     .10000E-03    24.784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.8463        4.0222        .92663E-04   -1.5113    
   7  Prefactor     .10000E-03    11.381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    55.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.1563        .12472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    34.306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.4341        9.4343        .13803E-03   -1.5127    
  12  norm          5.6211        2.5248        .37045E-03   -1.5234    
  13  norm          56.088        27.422        .53561E-04   -1.4209    
  14  norm          292.07        278.55        .11876E-03   -1.2273    
  15  Prefactor     15.962        16.837        .10025E-03   -1.4909    
  16  Prefactor     .10000E-03    83.964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.249        44.676        .88659E-04   -1.4808    
  18  Prefactor     8.7407        17.477        .13559E-03   -1.5117    
  19  Prefactor     6.9385        12.648        .15225E-03   -1.5181    
  20  Normalizat    .73744        .38821        .44868E-03   -1.0243    
  21  Prefactor     .98239        .16805        .18180E-03   -.93319    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.05251e-10
Minuit parameter uncertainties:
  1  136.352
  2  58.8194
  3  0.000847105
  4  31.9561
  5  7.97904e-05
  6  4.02236
  7  8.79796e-05
  8  0.000262755
  9  5.5702e-06
  10  2.88839e-05
  11  9.43592
  12  2.52484
  13  27.4283
  14  279.837
  15  16.8422
  16  1.58637e-05
  17  44.7496
  18  17.487
  19  12.6532
  20  0.389676
  21  0.168143
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  5.621e+00  2.525e+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:  9.824e-01  1.681e-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:  7.374e-01  3.897e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 30.84
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 6.93e-08 +/- 3.11e-08
Energy Flux (Fixed Index): 1.57e-04 +/- 7.05e-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) = 5177.86874465
delta logL = 1.29102754402

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5177.60617746
delta logL = 1.55359474242

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6050       1.0000         .10000E-03   10000.    
     2 'alpha     '    .94163       1.0000          .0000       5.0000    
     3 'Normalizat'    .73631       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99293       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=   5177.606     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      205 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6046        1.9745        .53203E-02   -.87594E-04
   2  alpha         .94143        .26981        .19407       -.25589E-04
   3  Normalizat    .73607        .30179        .10136        .27844E-04
   4  Prefactor     .99307        .14078        .46179E-01    .28679E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.60464
  alpha      = 0.941434
  Normalizat = 0.736071
  Prefactor  = 0.993072
 **********
 **   18 **HESSE 
 **********

 FCN=   5177.606     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .86E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6046        2.6295        .63939E-04   -1.5328    
   2  alpha         .94143        .36071        .85196E-03   -.67312    
   3  Normalizat    .73607        .34636        .44926E-03   -1.0249    
   4  Prefactor     .99307        .16236        .18124E-03   -.92961    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.61498e-14
Minuit parameter uncertainties:
  1  2.62958
  2  0.362789
  3  0.347398
  4  0.162442
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/864901': 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) = 5177.60617687
delta logL = 1.55359533283

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  3.605e+00  2.630e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  9.414e-01  3.628e-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:  9.931e-01  1.624e-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:  7.361e-01  3.474e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 33.93
Ra Dec: 238.931 11.188
Photon Index (Free Index): 0.94 +/- 0.36
Photon Flux (Free Index): 3.56e-08 +/- 2.15e-08
Energy Flux (Free Index): 4.04e-04 +/- 2.69e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/864901/cmap_HighResolution_581731201_581990401_4FGL_J1555.7+1111_daily_bin1321.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.93e-08', energy_flux2='4.04e-04', photon_flux_error='3.11e-08', dlogl='1.55e+00', energy_flux='1.57e-04', photon_flux2='3.56e-08', job_status='DONE', time_completed='2021-09-12 22:28:42.748109', photon_index_error2='0.36', photon_index2='0.94', ts='30.84', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='2.69e-04', EG='0.74', time_epoch_completed='1631510922.75', return_code='0', job_id='864901', GAL2='0.99', EG2='0.74', return_code2='0', energy_flux_error='7.05e-05', photon_flux_error2='2.15e-08', ts2='33.93', photon_index='1.54' WHERE bin_id='1321' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:28:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 864901: <4FGL_J1555.7+1111_daily_bin1321> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin1321> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 12 22:15:33 2021
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 22:17:24 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:17:24 2021
Terminated at Sun Sep 12 22:28:43 2021
Results reported at Sun Sep 12 22:28:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1321 238.931 11.1884 581731201 581990401 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 :                                   490.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             260.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   679 sec.
    Turnaround time :                            790 sec.

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

