/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 136 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 = 7419
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1555.7+1111_daily_bin18
RA = 238.931, Dec = 11.1884
tmin = 243993601, tmax = 244252801
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='845819', job_status='RUN', time_executed='2021-09-12 21:12:54.769800', time_epoch_executed='1631506374.77' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='18'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/845819

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/845819/ft1_4FGL_J1555.7+1111_daily_bin18.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/845819/ft2_4FGL_J1555.7+1111_daily_bin18.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/845819/ft1_4FGL_J1555.7+1111_daily_bin18.fits outfile=/scratch/kocevski/845819/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin18.fits ra=238.931 dec=11.1884 rad=12.0 tmin=243993601.0 tmax=244252801.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 1.41
user 1.25
sys 0.14

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/845819/ft1_filtered_4FGL_J1555.7+1111_daily_bin18.fits" evtable="EVENTS" scfile=/scratch/kocevski/845819/ft2_4FGL_J1555.7+1111_daily_bin18.fits sctable="SC_DATA" outfile=/scratch/kocevski/845819/ltcube_243993601_244252801_4FGL_J1555.7+1111_daily_bin18.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/845819/ft2_4FGL_J1555.7+1111_daily_bin18.fits
.....................!
real 13.67
user 13.30
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/845819/ft1_filtered_4FGL_J1555.7+1111_daily_bin18.fits evtable="EVENTS" scfile=/scratch/kocevski/845819/ft2_4FGL_J1555.7+1111_daily_bin18.fits sctable="SC_DATA" expcube=/scratch/kocevski/845819/ltcube_243993601_244252801_4FGL_J1555.7+1111_daily_bin18.fits outfile=/scratch/kocevski/845819/expmap_243993601_244252801_4FGL_J1555.7+1111_daily_bin18.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/845819/ltcube_243993601_244252801_4FGL_J1555.7+1111_daily_bin18.fits
.....................!
real 190.80
user 186.01
sys 4.31

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/845819/ft1_filtered_4FGL_J1555.7+1111_daily_bin18.fits scfile=/scratch/kocevski/845819/ft2_4FGL_J1555.7+1111_daily_bin18.fits outfile=/scratch/kocevski/845819/cmap_243993601_244252801_4FGL_J1555.7+1111_daily_bin18.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/845819/ft1_filtered_4FGL_J1555.7+1111_daily_bin18.fits scfile=/scratch/kocevski/845819/ft2_4FGL_J1555.7+1111_daily_bin18.fits outfile=/scratch/kocevski/845819/cmap_HighResolution_243993601_244252801_4FGL_J1555.7+1111_daily_bin18.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.4664       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.6308       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.3352       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.6400       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.2770       1.0000         .10000E-03   10000.    
    10 'Prefactor '    101.36       1.0000         .10000E-03   10000.    
    11 'norm      '    20.529       1.0000         .10000E-03   10000.    
    12 'norm      '    3.8410       1.0000         .10000E-03   10000.    
    13 'norm      '    17.187       1.0000         .10000E-03   10000.    
    14 'norm      '    20.828       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.3142       1.0000         .10000E-03   10000.    
    16 'Prefactor '    77.641       1.0000         .10000E-03   10000.    
    17 'Prefactor '    33.755       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .92234       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0768       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=   7892.259     FROM MIGRAD    STATUS=CONVERGED    429 CALLS     2496 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.4541        26.818        .17969E-05   -.93231E-05
   2  Prefactor     .10000E-03    40.174        .53226E-06** at limit **
   3  Prefactor     1.6306        4.1657        .90663E-05   -.12305E-03
   4  Prefactor     .10000E-03    13.481       -.13881E-06** at limit **
   5  Prefactor     .10000E-03    11.925        .36353E-06** at limit **
   6  norm          1.3353        1.5323        .66792E-07    .69487E-04
   7  Prefactor     2.6406        4.8090       -.11698E-05   -.57219E-04
   8  Prefactor     .10000E-03    9.8895       -.23271E-06** at limit **
   9  norm          2.2755        3.8636        .36192E-05   -.31069E-03
  10  Prefactor     101.34        64.785        .10408E-05   -.20388E-04
  11  norm          20.526        10.681        .34176E-06   -.48602E-04
  12  norm          3.8409        1.7724       -.93530E-08   -.11093E-03
  13  norm          17.185        15.702        .56457E-06   -.53796E-04
  14  norm          20.735        131.44        .13586E-04   -.24438E-04
  15  Prefactor     9.3120        14.786        .10240E-05   -.15039E-04
  16  Prefactor     77.650        72.150       -.58822E-06   -.21172E-04
  17  Prefactor     33.751        37.040        .11907E-05   -.66825E-04
  18  Prefactor     .10000E-03    10.515       -.16972E-06** at limit **
  19  Prefactor     .10000E-03    7.2320        .31422E-06** at limit **
  20  Normalizat    .92259        .24505       -.78289E-05   -.28649E-03
  21  Prefactor     1.0767        .11149        .15815E-05    .26989E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.45407
  Prefactor  = 0.000100001
  Prefactor  = 1.63063
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.3353
  Prefactor  = 2.64062
  Prefactor  = 0.0001
  norm       = 2.27554
  Prefactor  = 101.34
  norm       = 20.5264
  norm       = 3.84094
  norm       = 17.1854
  norm       = 20.7346
  Prefactor  = 9.31198
  Prefactor  = 77.6499
  Prefactor  = 33.7505
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.922585
  Prefactor  = 1.07672
 **********
 **   18 **HESSE 
 **********

 FCN=   7892.259     FROM HESSE     STATUS=OK           321 CALLS     2817 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.4541        26.825        .13777E-03   -1.5126    
   2  Prefactor     .10000E-03    40.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.6306        4.1825        .13838E-02   -1.5453    
   4  Prefactor     .10000E-03    13.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.3353        1.5257        .11430E-03   -1.5477    
   7  Prefactor     2.6406        4.7877        .24033E-03   -1.5383    
   8  Prefactor     .10000E-03    9.8946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.2755        3.8517        .10743E-02   -1.5406    
  10  Prefactor     101.34        64.796        .19967E-03   -1.3691    
  11  norm          20.526        10.680        .88400E-04   -1.4802    
  12  norm          3.8409        1.7729        .77553E-04   -1.5316    
  13  norm          17.185        15.702        .96608E-04   -1.4879    
  14  norm          20.735        132.15        .87763E-04   -1.4797    
  15  Prefactor     9.3120        14.799        .13132E-03   -1.5098    
  16  Prefactor     77.650        72.212        .22787E-03   -1.3943    
  17  Prefactor     33.751        36.996        .68972E-04   -1.4545    
  18  Prefactor     .10000E-03    10.647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.3420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .92259        .28246        .39264E-03   -.95671    
  21  Prefactor     1.0767        .13062        .17216E-03   -.90214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60166e-09
Minuit parameter uncertainties:
  1  26.8636
  2  0.00028613
  3  4.18327
  4  4.92456e-05
  5  2.41925e-05
  6  1.52572
  7  4.78837
  8  1.92891e-05
  9  3.85208
  10  64.8409
  11  10.6809
  12  1.7729
  13  15.7062
  14  105.033
  15  14.8049
  16  72.2935
  17  37.0211
  18  6.5081e-05
  19  5.12921e-05
  20  0.282913
  21  0.130657
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  3.841e+00  1.773e+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.077e+00  1.307e-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:  9.226e-01  2.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 24.76
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 4.73e-08 +/- 2.18e-08
Energy Flux (Fixed Index): 1.07e-04 +/- 4.95e-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) = 7892.22017874
delta logL = 0.0384504613185

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7892.21716779
delta logL = 0.0414614099445

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.7164       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4339       1.0000          .0000       5.0000    
     3 'Normalizat'    .92705       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0764       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=   7892.217     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      198 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7164        1.9067        .52368E-02   -.24038E-03
   2  alpha         1.4339        .35348        .30346       -.38125E-04
   3  Normalizat    .92704        .23499        .88493E-01    .34956E-04
   4  Prefactor     1.0764        .11042        .38562E-01    .63634E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.71643
  alpha      = 1.43393
  Normalizat = 0.927045
  Prefactor  = 1.07639
 **********
 **   18 **HESSE 
 **********

 FCN=   7892.217     FROM HESSE     STATUS=OK            31 CALLS      229 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7164        1.8169        .77854E-04   -1.5322    
   2  alpha         1.4339        .36650        .12222E-01   -.44054    
   3  Normalizat    .92704        .27046        .39187E-03   -.95516    
   4  Prefactor     1.0764        .12805        .17222E-03   -.90225    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73343e-11
Minuit parameter uncertainties:
  1  1.81697
  2  0.368122
  3  0.270854
  4  0.128088
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/845819': 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) = 7892.21716779
delta logL = 0.0414614100264

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  3.716e+00  1.817e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.434e+00  3.681e-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.076e+00  1.281e-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:  9.270e-01  2.709e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 24.86
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.43 +/- 0.37
Photon Flux (Free Index): 4.12e-08 +/- 2.73e-08
Energy Flux (Free Index): 1.26e-04 +/- 9.36e-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/845819/cmap_HighResolution_243993601_244252801_4FGL_J1555.7+1111_daily_bin18.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.73e-08', energy_flux2='1.26e-04', photon_flux_error='2.18e-08', dlogl='4.15e-02', energy_flux='1.07e-04', photon_flux2='4.12e-08', job_status='DONE', time_completed='2021-09-12 21:23:18.561460', photon_index_error2='0.37', photon_index2='1.43', ts='24.76', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='9.36e-05', EG='0.92', time_epoch_completed='1631506998.56', return_code='0', job_id='845819', GAL2='1.08', EG2='0.93', return_code2='0', energy_flux_error='4.95e-05', photon_flux_error2='2.73e-08', ts2='24.86', photon_index='1.54' WHERE bin_id='18' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 21:23:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 845819: <4FGL_J1555.7+1111_daily_bin18> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin18> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Sep 12 21:10:18 2021
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 21:10:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 21:10:30 2021
Terminated at Sun Sep 12 21:23:19 2021
Results reported at Sun Sep 12 21:23:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin18 238.931 11.1884 243993601 244252801 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 :                                   623.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             287.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            781 sec.

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

