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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1438
RA = 238.931, Dec = 11.1884
tmin = 612057601, tmax = 612316801
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='866173', job_status='RUN', time_executed='2021-09-12 22:23:07.230474', time_epoch_executed='1631510587.23' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1438'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866173

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866173/ft1_4FGL_J1555.7+1111_daily_bin1438.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866173/ft2_4FGL_J1555.7+1111_daily_bin1438.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866173/ft1_4FGL_J1555.7+1111_daily_bin1438.fits outfile=/scratch/kocevski/866173/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1438.fits ra=238.931 dec=11.1884 rad=12.0 tmin=612057601.0 tmax=612316801.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.56
user 4.30
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/866173/ft2_4FGL_J1555.7+1111_daily_bin1438.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/866173/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1438.fits evtable="EVENTS" outfile="/scratch/kocevski/866173/ft1_filtered_4FGL_J1555.7+1111_daily_bin1438.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866173/ft1_filtered_4FGL_J1555.7+1111_daily_bin1438.fits" evtable="EVENTS" scfile=/scratch/kocevski/866173/ft2_4FGL_J1555.7+1111_daily_bin1438.fits sctable="SC_DATA" outfile=/scratch/kocevski/866173/ltcube_612057601_612316801_4FGL_J1555.7+1111_daily_bin1438.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/866173/ft2_4FGL_J1555.7+1111_daily_bin1438.fits
.....................!
real 12.40
user 12.00
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866173/ft1_filtered_4FGL_J1555.7+1111_daily_bin1438.fits evtable="EVENTS" scfile=/scratch/kocevski/866173/ft2_4FGL_J1555.7+1111_daily_bin1438.fits sctable="SC_DATA" expcube=/scratch/kocevski/866173/ltcube_612057601_612316801_4FGL_J1555.7+1111_daily_bin1438.fits outfile=/scratch/kocevski/866173/expmap_612057601_612316801_4FGL_J1555.7+1111_daily_bin1438.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/866173/ltcube_612057601_612316801_4FGL_J1555.7+1111_daily_bin1438.fits
.....................!
real 190.29
user 185.41
sys 4.21

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/866173/ft1_filtered_4FGL_J1555.7+1111_daily_bin1438.fits scfile=/scratch/kocevski/866173/ft2_4FGL_J1555.7+1111_daily_bin1438.fits outfile=/scratch/kocevski/866173/cmap_612057601_612316801_4FGL_J1555.7+1111_daily_bin1438.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866173/ft1_filtered_4FGL_J1555.7+1111_daily_bin1438.fits scfile=/scratch/kocevski/866173/ft2_4FGL_J1555.7+1111_daily_bin1438.fits outfile=/scratch/kocevski/866173/cmap_HighResolution_612057601_612316801_4FGL_J1555.7+1111_daily_bin1438.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10431E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.3599       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    9.8081       1.0000         .10000E-03   10000.    
    10 'Prefactor '    41.102       1.0000         .10000E-03   10000.    
    11 'norm      '    11.901       1.0000         .10000E-03   10000.    
    12 'norm      '    5.5245       1.0000         .10000E-03   10000.    
    13 'norm      '    28.261       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.7118       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .74374       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0827       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .92799       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=   6881.583     FROM MIGRAD    STATUS=CONVERGED    450 CALLS     2169 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    113.59       -.11009E-04** at limit **
   2  Prefactor     .10000E-03    19.882        .22195E-05** at limit **
   3  Prefactor     .10000E-03    3.1542       -.13059E-06** at limit **
   4  Prefactor     .10000E-03    49.642        .28065E-04** at limit **
   5  Prefactor     .10000E-03    13.805        .30323E-05** at limit **
   6  norm          .10000E-03    1.3213       -.41846E-07** at limit **
   7  Prefactor     2.3601        4.3757       -.92871E-06   -.75102E-03
   8  Prefactor     .10000E-03    14.505       -.41728E-05** at limit **
   9  norm          9.8084        5.2807        .43614E-06   -.48115E-04
  10  Prefactor     41.079        76.382       -.29806E-04    .26560E-05
  11  norm          11.901        12.052       -.19724E-08   -.57710E-04
  12  norm          5.5245        2.5140        .17420E-06   -.23952E-04
  13  norm          28.263        20.422        .84924E-07    .29140E-04
  14  norm          .10000E-03    43.121       -.22874E-04** at limit **
  15  Prefactor     .10000E-03    3.5022       -.10955E-06** at limit **
  16  Prefactor     8.6850        494.08       -.85620E-04    .31294E-05
  17  Prefactor     .10000E-03    16.416        .24123E-06** at limit **
  18  Prefactor     .75341        9.7235       -.60332E-06   -.23358E-03
  19  Prefactor     .10000E-03    8.4015        .11353E-06** at limit **
  20  Normalizat    1.0826        .25076        .21809E-05   -.18633E-04
  21  Prefactor     .92799        .11290        .10802E-05   -.24616E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.36011
  Prefactor  = 0.0001
  norm       = 9.80844
  Prefactor  = 41.0786
  norm       = 11.9014
  norm       = 5.52451
  norm       = 28.2632
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.68495
  Prefactor  = 0.0001
  Prefactor  = 0.753405
  Prefactor  = 0.0001
  Normalizat = 1.08261
  Prefactor  = 0.927986
 **********
 **   18 **HESSE 
 **********

 FCN=   6881.583     FROM HESSE     STATUS=OK           315 CALLS     2484 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    114.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    19.909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.2067        .14383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    49.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.817        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.3365        .93052E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.3601        4.3780        .22448E-03   -1.5401    
   8  Prefactor     .10000E-03    14.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.8084        5.2724        .12795E-03   -1.5081    
  10  Prefactor     41.079        76.374        .62525E-04   -1.4425    
  11  norm          11.901        12.067        .11612E-03   -1.5018    
  12  norm          5.5245        2.5148        .83278E-04   -1.5238    
  13  norm          28.263        20.452        .75362E-04   -1.4644    
  14  norm          .10000E-03    43.098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.5052        .15162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.6850        495.39        .13580E-03   -1.5118    
  17  Prefactor     .10000E-03    16.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .75341        52.183        .48450E-02   -1.5534    
  19  Prefactor     .10000E-03    8.4923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0826        .30276        .36098E-03   -.90312    
  21  Prefactor     .92799        .13786        .17613E-03   -.95170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20297e-09
Minuit parameter uncertainties:
  1  0.000144729
  2  4.66584e-05
  3  6.26543e-06
  4  0.0003591
  5  9.35068e-07
  6  5.21108e-06
  7  4.37863
  8  2.93937e-05
  9  5.27264
  10  76.5565
  11  12.069
  12  2.51486
  13  20.4567
  14  6.02967e-06
  15  4.16411e-06
  16  132.352
  17  9.98483e-06
  18  12.5509
  19  2.49718e-05
  20  0.303245
  21  0.137913
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  5.525e+00  2.515e+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.280e-01  1.379e-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.083e+00  3.032e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 23.46
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 6.81e-08 +/- 3.10e-08
Energy Flux (Fixed Index): 1.54e-04 +/- 7.03e-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) = 6880.97640806
delta logL = 0.606932369318

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6880.97456711
delta logL = 0.60877331929

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.6880       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9160       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0436       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93150       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6880.975     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      241 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.6881        2.2943        .72014E-04   -.62642E-03
   2  alpha         1.9160        .32948        .84747E-02   -.56568E-04
   3  Normalizat    1.0436        .29710        .36616E-03    .48138E-03
   4  Prefactor     .93151        .13480        .17543E-03    .10101E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 5.68807
  alpha      = 1.91595
  Normalizat = 1.04363
  Prefactor  = 0.931512
 **********
 **   18 **HESSE 
 **********

 FCN=   6880.975     FROM HESSE     STATUS=OK            25 CALLS      266 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.6881        2.2697        .28806E-05   -1.5231    
   2  alpha         1.9160        .32565        .33899E-03   -.23580    
   3  Normalizat    1.0436        .29713        .73232E-04   -.91583    
   4  Prefactor     .93151        .13488        .35087E-04   -.95049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.1163e-10
Minuit parameter uncertainties:
  1  2.26978
  2  0.326633
  3  0.297606
  4  0.134924
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866173': 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) = 6880.9745671
delta logL = 0.608773325445

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  5.688e+00  2.270e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.916e+00  3.266e-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.315e-01  1.349e-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.044e+00  2.976e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 24.72
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.92 +/- 0.33
Photon Flux (Free Index): 1.19e-07 +/- 6.69e-08
Energy Flux (Free Index): 1.03e-04 +/- 5.10e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/866173/cmap_HighResolution_612057601_612316801_4FGL_J1555.7+1111_daily_bin1438.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.81e-08', energy_flux2='1.03e-04', photon_flux_error='3.10e-08', dlogl='6.09e-01', energy_flux='1.54e-04', photon_flux2='1.19e-07', job_status='DONE', time_completed='2021-09-12 22:32:41.003619', photon_index_error2='0.33', photon_index2='1.92', ts='23.46', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='5.10e-05', EG='1.08', time_epoch_completed='1631511161.0', return_code='0', job_id='866173', GAL2='0.93', EG2='1.04', return_code2='0', energy_flux_error='7.03e-05', photon_flux_error2='6.69e-08', ts2='24.72', photon_index='1.54' WHERE bin_id='1438' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:32:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 866173: <4FGL_J1555.7+1111_daily_bin1438> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin1438> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 22:20:21 2021
Job was executed on host(s) <bullet0188>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 22:20:41 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:20:41 2021
Terminated at Sun Sep 12 22:32:41 2021
Results reported at Sun Sep 12 22:32:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1438 238.931 11.1884 612057601 612316801 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 :                                   560.15 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             293.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            740 sec.

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

