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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1243
RA = 238.931, Dec = 11.1884
tmin = 561513601, tmax = 561772801
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='864787', job_status='RUN', time_executed='2021-09-12 22:19:18.907730', time_epoch_executed='1631510358.91' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1243'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/864787

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/864787/ft1_4FGL_J1555.7+1111_daily_bin1243.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/864787/ft2_4FGL_J1555.7+1111_daily_bin1243.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/864787/ft1_4FGL_J1555.7+1111_daily_bin1243.fits outfile=/scratch/kocevski/864787/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1243.fits ra=238.931 dec=11.1884 rad=12.0 tmin=561513601.0 tmax=561772801.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.82
user 3.57
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/864787/ft2_4FGL_J1555.7+1111_daily_bin1243.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/864787/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1243.fits evtable="EVENTS" outfile="/scratch/kocevski/864787/ft1_filtered_4FGL_J1555.7+1111_daily_bin1243.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.52
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/864787/ft1_filtered_4FGL_J1555.7+1111_daily_bin1243.fits" evtable="EVENTS" scfile=/scratch/kocevski/864787/ft2_4FGL_J1555.7+1111_daily_bin1243.fits sctable="SC_DATA" outfile=/scratch/kocevski/864787/ltcube_561513601_561772801_4FGL_J1555.7+1111_daily_bin1243.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/864787/ft2_4FGL_J1555.7+1111_daily_bin1243.fits
.....................!
real 12.68
user 12.33
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/864787/ft1_filtered_4FGL_J1555.7+1111_daily_bin1243.fits evtable="EVENTS" scfile=/scratch/kocevski/864787/ft2_4FGL_J1555.7+1111_daily_bin1243.fits sctable="SC_DATA" expcube=/scratch/kocevski/864787/ltcube_561513601_561772801_4FGL_J1555.7+1111_daily_bin1243.fits outfile=/scratch/kocevski/864787/expmap_561513601_561772801_4FGL_J1555.7+1111_daily_bin1243.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/864787/ltcube_561513601_561772801_4FGL_J1555.7+1111_daily_bin1243.fits
.....................!
real 191.19
user 185.62
sys 5.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/864787/ft1_filtered_4FGL_J1555.7+1111_daily_bin1243.fits scfile=/scratch/kocevski/864787/ft2_4FGL_J1555.7+1111_daily_bin1243.fits outfile=/scratch/kocevski/864787/cmap_561513601_561772801_4FGL_J1555.7+1111_daily_bin1243.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.53
user 0.38
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/864787/ft1_filtered_4FGL_J1555.7+1111_daily_bin1243.fits evtable="EVENTS" scfile=/scratch/kocevski/864787/ft2_4FGL_J1555.7+1111_daily_bin1243.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/864787/Model_4FGL_J1555.7+1111_daily_bin1243.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/864787/ft1_filtered_4FGL_J1555.7+1111_daily_bin1243.fits.........................!
real 18.18
user 16.89
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .18216E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .16352E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.7847       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12978E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.2554       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11830E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .16590E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13970E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11521E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    24.505       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86327       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=   628.4410     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     2152 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    65.378        .60626E-06** at limit **
   2  Prefactor     .10000E-03    1545.2       -.25998E-03** at limit **
   3  Prefactor     .10000E-03    12.896        .17771E-07** at limit **
   4  Prefactor     .10000E-03    7916.9       -.14890E-02** at limit **
   5  Prefactor     .10000E-03    38.621        .49110E-05** at limit **
   6  norm          .10000E-03    23.597       -.12771E-08** at limit **
   7  Prefactor     9.7858        12.791        .16571E-06   -.60377E-04
   8  Prefactor     .10000E-03    1362.1       -.10165E-03** at limit **
   9  norm          2.2586        15.682        .43818E-06   -.91009E-04
  10  Prefactor     .10000E-03    128.00        .52878E-05** at limit **
  11  norm          .10000E-03    38.590       -.49072E-05** at limit **
  12  norm          .10000E-03    4.1168        .17007E-08** at limit **
  13  norm          .10000E-03    25.415        .11765E-06** at limit **
  14  norm          .10000E-03    192.74       -.99128E-05** at limit **
  15  Prefactor     .10000E-03    8206.7       -.15432E-02** at limit **
  16  Prefactor     .10001E-03    995.71        .27979E-03** at limit **
  17  Prefactor     .10000E-03    77.772       -.15623E-05** at limit **
  18  Prefactor     .10000E-03    24.984       -.64152E-07** at limit **
  19  Prefactor     24.503        25.158       -.73664E-07   -.97916E-04
  20  Normalizat    .10000E-01    .40756        .68765E-07** at limit **
  21  Prefactor     .86300        .17628       -.79296E-06   -.25336E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.78577
  Prefactor  = 0.0001
  norm       = 2.25856
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.5029
  Normalizat = 0.01
  Prefactor  = 0.863005
 **********
 **   18 **HESSE 
 **********

 FCN=   628.4410     FROM HESSE     STATUS=OK           301 CALLS     2453 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    65.378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1545.2        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.058        .87927E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7917.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    38.622        .15230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    23.597        .11902E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.7858        12.839        .93025E-04   -1.5082    
   8  Prefactor     .10000E-03    1362.1        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.2586        15.589        .18464E-03   -1.5407    
  10  Prefactor     .10000E-03    128.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    38.589        .15224E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.1168        .49695E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    25.418        .12352E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    192.75        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8207.1        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    1001.1        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    77.804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    25.007        .12243E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     24.503        25.278        .80920E-04   -1.4718    
  20  Normalizat    .10000E-01    .44675        .90244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .86300        .16614        .12531E-03   -.97446    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96398e-10
Minuit parameter uncertainties:
  1  1.25109e-06
  2  4.02796e-06
  3  8.56966e-06
  4  3.93302e-05
  5  1.4881e-06
  6  1.25006e-07
  7  12.8423
  8  2.42004e-06
  9  11.8715
  10  2.60135e-06
  11  3.8956e-07
  12  4.44948e-09
  13  1.33002e-06
  14  9.7616e-06
  15  0.000278736
  16  0.00557818
  17  2.04854e-05
  18  7.99477e-06
  19  25.2891
  20  7.11409e-08
  21  0.166232
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  1.000e-04  4.449e-09  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:  8.630e-01  1.662e-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.000e-02  7.114e-08  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/864787/likelihoodResults_561513601_561772801_4FGL_J1555.7+1111_daily_bin1243.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): 102
logL (Free Index) = 628.44160808
delta logL = -0.000635405180901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 628.440972648
delta logL = 2.7474811759e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5345       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86301       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=   628.4410     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      248 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.6773        .49839E-03** at limit **
   2  alpha         1.3148        4.3336        .18369        .35234E-07
   3  Normalizat    .10000E-01    .44674        .90244E-02** at limit **
   4  Prefactor     .86301        .14365        .12531E-03    .87549E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.31477
  Normalizat = 0.01
  Prefactor  = 0.863007
 **********
 **   18 **HESSE 
 **********

 FCN=   628.4410     FROM HESSE     STATUS=OK            23 CALLS      271 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.3033        .99678E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3148        4.0900        .36738E-01   -.49393    
   3  Normalizat    .10000E-01    .44677        .18049E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .86301        .14362        .25061E-04   -.97446    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.87466e-11
Minuit parameter uncertainties:
  1  2.00518e-05
  2  218.167
  3  6.38184e-06
  4  0.143685
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/864787': 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) = 628.440972153
delta logL = 5.22030632055e-07

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  1.000e-04  2.005e-05  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.315e+00  2.182e+02  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:  8.630e-01  1.437e-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.000e-02  6.382e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 238.931 11.188

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/864787/cmap_HighResolution_561513601_561772801_4FGL_J1555.7+1111_daily_bin1243.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.90e-04', job_status='DONE', photon_flux_upper_limit='3.04e-07', time_completed='2021-09-12 22:25:31.736908', job_id='864787', GAL2='0.86', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1631510731.74', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='5.22e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.54' WHERE bin_id='1243' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:25:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 864787: <4FGL_J1555.7+1111_daily_bin1243> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin1243> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 12 22:15:25 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 22:16:54 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:54 2021
Terminated at Sun Sep 12 22:25:32 2021
Results reported at Sun Sep 12 22:25:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1243 238.931 11.1884 561513601 561772801 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 :                                   344.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   518 sec.
    Turnaround time :                            607 sec.

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

