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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1261
RA = 238.931, Dec = 11.1884
tmin = 566179201, tmax = 566438401
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='864814', job_status='RUN', time_executed='2021-09-12 22:17:18.322141', time_epoch_executed='1631510238.32' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1261'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/864814

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/864814/ft1_4FGL_J1555.7+1111_daily_bin1261.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/864814/ft2_4FGL_J1555.7+1111_daily_bin1261.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/864814/ft1_4FGL_J1555.7+1111_daily_bin1261.fits outfile=/scratch/kocevski/864814/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1261.fits ra=238.931 dec=11.1884 rad=12.0 tmin=566179201.0 tmax=566438401.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.52
user 3.29
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/864814/ft1_filtered_4FGL_J1555.7+1111_daily_bin1261.fits" evtable="EVENTS" scfile=/scratch/kocevski/864814/ft2_4FGL_J1555.7+1111_daily_bin1261.fits sctable="SC_DATA" outfile=/scratch/kocevski/864814/ltcube_566179201_566438401_4FGL_J1555.7+1111_daily_bin1261.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/864814/ft2_4FGL_J1555.7+1111_daily_bin1261.fits
.....................!
real 13.18
user 12.81
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/864814/ft1_filtered_4FGL_J1555.7+1111_daily_bin1261.fits evtable="EVENTS" scfile=/scratch/kocevski/864814/ft2_4FGL_J1555.7+1111_daily_bin1261.fits sctable="SC_DATA" expcube=/scratch/kocevski/864814/ltcube_566179201_566438401_4FGL_J1555.7+1111_daily_bin1261.fits outfile=/scratch/kocevski/864814/expmap_566179201_566438401_4FGL_J1555.7+1111_daily_bin1261.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/864814/ltcube_566179201_566438401_4FGL_J1555.7+1111_daily_bin1261.fits
.....................!
real 192.94
user 186.18
sys 6.14

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/864814/ft1_filtered_4FGL_J1555.7+1111_daily_bin1261.fits scfile=/scratch/kocevski/864814/ft2_4FGL_J1555.7+1111_daily_bin1261.fits outfile=/scratch/kocevski/864814/cmap_566179201_566438401_4FGL_J1555.7+1111_daily_bin1261.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.39
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/864814/ft1_filtered_4FGL_J1555.7+1111_daily_bin1261.fits evtable="EVENTS" scfile=/scratch/kocevski/864814/ft2_4FGL_J1555.7+1111_daily_bin1261.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/864814/Model_4FGL_J1555.7+1111_daily_bin1261.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/864814/ft1_filtered_4FGL_J1555.7+1111_daily_bin1261.fits.....................!
real 101.45
user 99.56
sys 1.49

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.8104       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.5279       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.3394       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.1565       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11079E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.7172       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    22.023       1.0000         .10000E-03   10000.    
    12 'norm      '    4.6105       1.0000         .10000E-03   10000.    
    13 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.1364       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.9783       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3648       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94103       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=   14529.16     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     1912 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.4184        .51272E-07** at limit **
   2  Prefactor     6.8087        23.252       -.75742E-06   -.30479E-05
   3  Prefactor     5.5284        3.4716       -.27509E-08   -.74154E-04
   4  Prefactor     7.3392        12.301       -.34606E-07   -.19344E-04
   5  Prefactor     .10000E-03    20.221        .26204E-05** at limit **
   6  norm          2.1565        1.8971       -.25586E-07   -.88262E-04
   7  Prefactor     .10000E-03    1.4677       -.11414E-07** at limit **
   8  Prefactor     .10000E-03    19.785        .53841E-05** at limit **
   9  norm          1.7175        1.8189        .80032E-08   -.53799E-04
  10  Prefactor     .10000E-03    32.706        .44643E-05** at limit **
  11  norm          22.023        7.6879       -.85119E-09   -.38576E-04
  12  norm          4.6105        1.4576       -.20324E-07   -.41246E-04
  13  norm          .10000E-03    9.8984        .36853E-06** at limit **
  14  norm          .10000E-03    23.251       -.10524E-04** at limit **
  15  Prefactor     1.1363        .69697       -.74507E-09   -.21415E-03
  16  Prefactor     .10000E-03    87.702       -.15180E-05** at limit **
  17  Prefactor     .10000E-03    13.994       -.14826E-05** at limit **
  18  Prefactor     .10000E-03    8.1953       -.10438E-06** at limit **
  19  Prefactor     8.9727        8.6740        .48489E-07   -.11001E-04
  20  Normalizat    1.3649        .17941        .13777E-07   -.49892E-04
  21  Prefactor     .94102        .82368E-01    .55663E-08   -.70199E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.80866
  Prefactor  = 5.52844
  Prefactor  = 7.33917
  Prefactor  = 0.0001
  norm       = 2.1565
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.71749
  Prefactor  = 0.0001
  norm       = 22.0228
  norm       = 4.61049
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.13632
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.9727
  Normalizat = 1.36486
  Prefactor  = 0.941018
 **********
 **   18 **HESSE 
 **********

 FCN=   14529.16     FROM HESSE     STATUS=OK           319 CALLS     2231 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.4202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.8087        23.522        .15375E-03   -1.5186    
   3  Prefactor     5.5284        3.4826        .85442E-03   -1.5238    
   4  Prefactor     7.3392        12.306        .14805E-03   -1.5166    
   5  Prefactor     .10000E-03    20.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.1565        1.8875        .14895E-03   -1.5414    
   7  Prefactor     .10000E-03    3.4393        .28115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.7175        1.8172        .81229E-03   -1.5446    
  10  Prefactor     .10000E-03    32.755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          22.023        7.6938        .85353E-04   -1.4769    
  12  norm          4.6105        1.4575        .78921E-04   -1.5278    
  13  norm          .10000E-03    10.117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    23.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.1363        7.5308        .21850E-02   -1.5495    
  16  Prefactor     .10000E-03    87.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.3410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.9727        8.7063        .66882E-03   -1.5109    
  20  Normalizat    1.3649        .22060        .33870E-03   -.81650    
  21  Prefactor     .94102        .10085        .18752E-03   -.94722    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.00265e-11
Minuit parameter uncertainties:
  1  2.78838e-08
  2  23.5541
  3  3.48274
  4  12.3102
  5  1.39423e-05
  6  1.8876
  7  1.30507e-06
  8  1.1241e-05
  9  1.81724
  10  4.38371e-06
  11  7.69419
  12  1.45748
  13  2.97875e-06
  14  8.02643e-08
  15  5.85141
  16  2.74478e-06
  17  1.2717e-06
  18  3.18137e-07
  19  8.70757
  20  0.220753
  21  0.100873
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  4.610e+00  1.457e+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.410e-01  1.009e-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.365e+00  2.208e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 36.91
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 5.68e-08 +/- 1.80e-08
Energy Flux (Fixed Index): 1.29e-04 +/- 4.07e-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) = 14527.7797257
delta logL = 1.38434686632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14527.7713386
delta logL = 1.39273396104

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1906       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9768       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3290       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94648       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=   14527.77     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      266 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1903        15.173        .49217E-02    .59044E-04
   2  alpha         1.9767        2.0004        .23443        .12856E-03
   3  Normalizat    1.3290        .12678        .77309E-01    .26968E-04
   4  Prefactor     .94650        .38693E-01    .45595E-01    .88697E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.19026
  alpha      = 1.9767
  Normalizat = 1.32898
  Prefactor  = 0.946499
 **********
 **   18 **HESSE 
 **********

 FCN=   14527.77     FROM HESSE     STATUS=OK            33 CALLS      299 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1903        1.4510        .68100E-04   -1.5299    
   2  alpha         1.9767        .26873        .87058E-02   -.21088    
   3  Normalizat    1.3290        .21008        .34217E-03   -.82705    
   4  Prefactor     .94650        .98535E-01    .18683E-03   -.94535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21225e-09
Minuit parameter uncertainties:
  1  1.45105
  2  0.269273
  3  0.210214
  4  0.0985539
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/864814': 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) = 14527.7713383
delta logL = 1.39273421488

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  4.190e+00  1.451e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.977e+00  2.693e-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.465e-01  9.855e-02  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.329e+00  2.102e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 39.69
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.98 +/- 0.27
Photon Flux (Free Index): 9.73e-08 +/- 3.83e-08
Energy Flux (Free Index): 7.35e-05 +/- 3.05e-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/864814/cmap_HighResolution_566179201_566438401_4FGL_J1555.7+1111_daily_bin1261.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.68e-08', energy_flux2='7.35e-05', photon_flux_error='1.80e-08', dlogl='1.39e+00', energy_flux='1.29e-04', photon_flux2='9.73e-08', job_status='DONE', time_completed='2021-09-12 22:30:55.899144', photon_index_error2='0.27', photon_index2='1.98', ts='36.91', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='3.05e-05', EG='1.36', time_epoch_completed='1631511055.9', return_code='0', job_id='864814', GAL2='0.95', EG2='1.33', return_code2='0', energy_flux_error='4.07e-05', photon_flux_error2='3.83e-08', ts2='39.69', photon_index='1.54' WHERE bin_id='1261' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:30:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 864814: <4FGL_J1555.7+1111_daily_bin1261> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1261 238.931 11.1884 566179201 566438401 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 :                                   813.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             371.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            930 sec.

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

