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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1184
RA = 238.931, Dec = 11.1884
tmin = 546220801, tmax = 546480001
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='863407', job_status='RUN', time_executed='2021-09-12 22:20:11.172273', time_epoch_executed='1631510411.17' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1184'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/863407

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/863407/ft1_4FGL_J1555.7+1111_daily_bin1184.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/863407/ft2_4FGL_J1555.7+1111_daily_bin1184.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/863407/ft1_4FGL_J1555.7+1111_daily_bin1184.fits outfile=/scratch/kocevski/863407/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1184.fits ra=238.931 dec=11.1884 rad=12.0 tmin=546220801.0 tmax=546480001.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.98
user 3.68
sys 0.21

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/863407/ft1_filtered_4FGL_J1555.7+1111_daily_bin1184.fits" evtable="EVENTS" scfile=/scratch/kocevski/863407/ft2_4FGL_J1555.7+1111_daily_bin1184.fits sctable="SC_DATA" outfile=/scratch/kocevski/863407/ltcube_546220801_546480001_4FGL_J1555.7+1111_daily_bin1184.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/863407/ft2_4FGL_J1555.7+1111_daily_bin1184.fits
.....................!
real 14.00
user 13.49
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/863407/ft1_filtered_4FGL_J1555.7+1111_daily_bin1184.fits evtable="EVENTS" scfile=/scratch/kocevski/863407/ft2_4FGL_J1555.7+1111_daily_bin1184.fits sctable="SC_DATA" expcube=/scratch/kocevski/863407/ltcube_546220801_546480001_4FGL_J1555.7+1111_daily_bin1184.fits outfile=/scratch/kocevski/863407/expmap_546220801_546480001_4FGL_J1555.7+1111_daily_bin1184.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/863407/ltcube_546220801_546480001_4FGL_J1555.7+1111_daily_bin1184.fits
.....................!
real 194.58
user 186.57
sys 4.39

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/863407/ft1_filtered_4FGL_J1555.7+1111_daily_bin1184.fits scfile=/scratch/kocevski/863407/ft2_4FGL_J1555.7+1111_daily_bin1184.fits outfile=/scratch/kocevski/863407/cmap_546220801_546480001_4FGL_J1555.7+1111_daily_bin1184.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/863407/ft1_filtered_4FGL_J1555.7+1111_daily_bin1184.fits scfile=/scratch/kocevski/863407/ft2_4FGL_J1555.7+1111_daily_bin1184.fits outfile=/scratch/kocevski/863407/cmap_HighResolution_546220801_546480001_4FGL_J1555.7+1111_daily_bin1184.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.60
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/863407/ft1_filtered_4FGL_J1555.7+1111_daily_bin1184.fits evtable="EVENTS" scfile=/scratch/kocevski/863407/ft2_4FGL_J1555.7+1111_daily_bin1184.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/863407/Model_4FGL_J1555.7+1111_daily_bin1184.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/863407/ft1_filtered_4FGL_J1555.7+1111_daily_bin1184.fits......................!
real 27.18
user 25.63
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.4860       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.640       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.3777       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.2722       1.0000         .10000E-03   10000.    
    10 'Prefactor '    278.18       1.0000         .10000E-03   10000.    
    11 'norm      '    26.185       1.0000         .10000E-03   10000.    
    12 'norm      '    5.4885       1.0000         .10000E-03   10000.    
    13 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    8.1011       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13684E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .31551E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.141       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .56061       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0932       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=   1777.149     FROM MIGRAD    STATUS=CONVERGED    421 CALLS     2123 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    40.238       -.33177E-04** at limit **
   2  Prefactor     3.4399        6216.9       -.24113E-03   -.56722E-05
   3  Prefactor     10.639        9.6732       -.23991E-05   -.18019E-03
   4  Prefactor     .10000E-03    99.794        .21208E-04** at limit **
   5  Prefactor     .10000E-03    53.249        .31509E-05** at limit **
   6  norm          .10000E-03    5.8723        .50771E-07** at limit **
   7  Prefactor     3.3739        9.4454       -.41809E-05   -.41978E-03
   8  Prefactor     .10000E-03    103.63        .74478E-05** at limit **
   9  norm          3.2711        8.2281        .26980E-05   -.25788E-03
  10  Prefactor     278.19        205.60        .27928E-05   -.17916E-04
  11  norm          26.184        40.555       -.91370E-06   -.44231E-05
  12  norm          5.4883        6.0217       -.22435E-06   -.83187E-04
  13  norm          .10000E-03    20.975       -.14122E-05** at limit **
  14  norm          8.0529        1199.1       -.16537E-03   -.27199E-05
  15  Prefactor     .10000E-03    1035.4       -.15494E-02** at limit **
  16  Prefactor     .10000E-03    99.133        .23284E-04** at limit **
  17  Prefactor     .10000E-03    323.81       -.87939E-04** at limit **
  18  Prefactor     .10000E-03    32.516        .19334E-04** at limit **
  19  Prefactor     11.135        21.242       -.32446E-06   -.59582E-04
  20  Normalizat    .56096        .78262        .45771E-04    .96270E-04
  21  Prefactor     1.0932        .28878       -.61263E-05    .20726E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.43993
  Prefactor  = 10.6388
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.37387
  Prefactor  = 0.0001
  norm       = 3.2711
  Prefactor  = 278.189
  norm       = 26.1835
  norm       = 5.48828
  norm       = 0.0001
  norm       = 8.05291
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.135
  Normalizat = 0.560956
  Prefactor  = 1.09316
 **********
 **   18 **HESSE 
 **********

 FCN=   1777.149     FROM HESSE     STATUS=OK           313 CALLS     2436 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    40.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4399        6167.0        .21657E-03   -1.5337    
   3  Prefactor     10.639        9.5490        .10988E-03   -1.5056    
   4  Prefactor     .10000E-03    99.797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    53.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.8890        .99696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.3739        9.2083        .18191E-03   -1.5341    
   8  Prefactor     .10000E-03    103.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.2711        8.2051        .17748E-03   -1.5346    
  10  Prefactor     278.19        205.00        .12162E-03   -1.2357    
  11  norm          26.184        40.425        .78286E-04   -1.4684    
  12  norm          5.4883        6.0200        .99788E-04   -1.5239    
  13  norm          .10000E-03    20.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.0529        1203.1        .14086E-03   -1.5140    
  15  Prefactor     .10000E-03    1034.0        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    99.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    324.38        .21368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    32.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.135        21.269        .12003E-03   -1.5040    
  20  Normalizat    .56096        .78247        .56047E-03   -1.0967    
  21  Prefactor     1.0932        .30762        .17072E-03   -.89685    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54729e-09
Minuit parameter uncertainties:
  1  0.000109036
  2  194.03
  3  9.55035
  4  5.11346e-05
  5  0.000220353
  6  2.37071e-06
  7  9.21212
  8  1.82156e-05
  9  8.20794
  10  205.538
  11  40.4673
  12  6.02066
  13  4.3876e-05
  14  201.124
  15  6.85988e-05
  16  8.89445e-05
  17  0.000756199
  18  6.16598e-05
  19  21.2835
  20  0.798698
  21  0.308124
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  5.488e+00  6.021e+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.093e+00  3.081e-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:  5.610e-01  7.987e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.07
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 6.76e-08 +/- 7.42e-08
Energy Flux (Fixed Index): 1.53e-04 +/- 1.68e-04

TS (Fixed Index): 2.07
Ra Dec: 238.931 11.188
Photon Flux Upper Limit: 2.69e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.11e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/863407/likelihoodResults_546220801_546480001_4FGL_J1555.7+1111_daily_bin1184.txt

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) = 1776.61370594
delta logL = 0.534993795543

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1776.60790142
delta logL = 0.540798321028

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7052       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3192       1.0000          .0000       5.0000    
     3 'Normalizat'    .48599       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1034       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=   1776.608     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      262 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7012        121.64        .46378E-02    .17420E-02
   2  alpha         2.3183        3.1293        .19640        .21233E-03
   3  Normalizat    .48581        .37685        .13497        .72660E-04
   4  Prefactor     1.1037        .10833        .37458E-01    .63358E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.70124
  alpha      = 2.31832
  Normalizat = 0.485814
  Prefactor  = 1.10369
 **********
 **   18 **HESSE 
 **********

 FCN=   1776.608     FROM HESSE     STATUS=OK            29 CALLS      291 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7012        5.2784        .70948E-04   -1.5274    
   2  alpha         2.3183        .74592        .78059E-02   -.72737E-01
   3  Normalizat    .48581        .69370        .59844E-03   -1.1308    
   4  Prefactor     1.1037        .29226        .16948E-03   -.89349    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79181e-09
Minuit parameter uncertainties:
  1  5.27894
  2  0.757517
  3  0.706623
  4  0.292689
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/863407': 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) = 1776.60789773
delta logL = 0.540802007125

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  4.701e+00  5.279e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  2.318e+00  7.575e-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.104e+00  2.927e-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:  4.858e-01  7.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.16
Ra Dec: 238.931 11.188
Photon Index (Free Index): 2.32 +/- 0.76
Photon Flux (Free Index): 2.08e-07 +/- 2.29e-07
Energy Flux (Free Index): 8.61e-05 +/- 7.47e-05

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/863407/cmap_HighResolution_546220801_546480001_4FGL_J1555.7+1111_daily_bin1184.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.11e-04', comment='SUCCESS', photon_flux='6.76e-08', energy_flux2='8.61e-05', photon_flux_error='7.42e-08', dlogl='5.41e-01', energy_flux='1.53e-04', photon_flux2='2.08e-07', job_status='DONE', time_completed='2021-09-12 22:27:11.965548', photon_index_error2='0.76', photon_index2='2.32', ts='2.07', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='2.69e-07', energy_flux_error2='7.47e-05', EG='0.56', time_epoch_completed='1631510831.97', return_code='0', job_id='863407', GAL2='1.10', EG2='0.49', return_code2='0', energy_flux_error='1.68e-04', photon_flux_error2='2.29e-07', ts2='3.16', photon_index='1.54' WHERE bin_id='1184' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:27:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 863407: <4FGL_J1555.7+1111_daily_bin1184> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin1184> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 22:10:39 2021
Job was executed on host(s) <bullet0156>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 22:16:32 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:16:32 2021
Terminated at Sun Sep 12 22:27:12 2021
Results reported at Sun Sep 12 22:27:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1184 238.931 11.1884 546220801 546480001 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 :                                   393.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             253.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   640 sec.
    Turnaround time :                            993 sec.

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

