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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1425
RA = 238.931, Dec = 11.1884
tmin = 608688001, tmax = 608947201
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='866154', job_status='RUN', time_executed='2021-09-12 22:22:40.665222', time_epoch_executed='1631510560.67' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1425'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866154

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866154/ft1_4FGL_J1555.7+1111_daily_bin1425.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866154/ft2_4FGL_J1555.7+1111_daily_bin1425.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866154/ft1_4FGL_J1555.7+1111_daily_bin1425.fits outfile=/scratch/kocevski/866154/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1425.fits ra=238.931 dec=11.1884 rad=12.0 tmin=608688001.0 tmax=608947201.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.09
user 2.83
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/866154/ft2_4FGL_J1555.7+1111_daily_bin1425.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/866154/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1425.fits evtable="EVENTS" outfile="/scratch/kocevski/866154/ft1_filtered_4FGL_J1555.7+1111_daily_bin1425.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/866154/ft1_filtered_4FGL_J1555.7+1111_daily_bin1425.fits" evtable="EVENTS" scfile=/scratch/kocevski/866154/ft2_4FGL_J1555.7+1111_daily_bin1425.fits sctable="SC_DATA" outfile=/scratch/kocevski/866154/ltcube_608688001_608947201_4FGL_J1555.7+1111_daily_bin1425.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/866154/ft2_4FGL_J1555.7+1111_daily_bin1425.fits
.....................!
real 15.52
user 15.10
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866154/ft1_filtered_4FGL_J1555.7+1111_daily_bin1425.fits evtable="EVENTS" scfile=/scratch/kocevski/866154/ft2_4FGL_J1555.7+1111_daily_bin1425.fits sctable="SC_DATA" expcube=/scratch/kocevski/866154/ltcube_608688001_608947201_4FGL_J1555.7+1111_daily_bin1425.fits outfile=/scratch/kocevski/866154/expmap_608688001_608947201_4FGL_J1555.7+1111_daily_bin1425.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/866154/ltcube_608688001_608947201_4FGL_J1555.7+1111_daily_bin1425.fits
.....................!
real 193.20
user 187.38
sys 5.04

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/866154/ft1_filtered_4FGL_J1555.7+1111_daily_bin1425.fits scfile=/scratch/kocevski/866154/ft2_4FGL_J1555.7+1111_daily_bin1425.fits outfile=/scratch/kocevski/866154/cmap_608688001_608947201_4FGL_J1555.7+1111_daily_bin1425.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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866154/ft1_filtered_4FGL_J1555.7+1111_daily_bin1425.fits scfile=/scratch/kocevski/866154/ft2_4FGL_J1555.7+1111_daily_bin1425.fits outfile=/scratch/kocevski/866154/cmap_HighResolution_608688001_608947201_4FGL_J1555.7+1111_daily_bin1425.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.57
user 0.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/866154/ft1_filtered_4FGL_J1555.7+1111_daily_bin1425.fits evtable="EVENTS" scfile=/scratch/kocevski/866154/ft2_4FGL_J1555.7+1111_daily_bin1425.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866154/Model_4FGL_J1555.7+1111_daily_bin1425.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/866154/ft1_filtered_4FGL_J1555.7+1111_daily_bin1425.fits.....................!
real 47.83
user 46.40
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    63.525       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10581E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10373E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.5878       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    7.2476       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .21316E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    50.156       1.0000         .10000E-03   10000.    
    11 'norm      '    24.635       1.0000         .10000E-03   10000.    
    12 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    8.7651       1.0000         .10000E-03   10000.    
    14 'norm      '    264.94       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.8395       1.0000         .10000E-03   10000.    
    16 'Prefactor '    168.80       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .13009E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3428       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .75034       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=   5383.665     FROM MIGRAD    STATUS=CONVERGED    449 CALLS     2255 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     63.187        113.81       -.36626E-03    .33675E-04
   2  Prefactor     .10000E-03    32.438       -.30457E-04** at limit **
   3  Prefactor     .10001E-03    12.249        .38282E-05** at limit **
   4  Prefactor     7.5400        43.638       -.28916E-04    .29669E-04
   5  Prefactor     .10000E-03    31.228        .30322E-04** at limit **
   6  norm          7.2472        3.8496       -.86406E-07    .22850E-03
   7  Prefactor     .10000E-03    2.3200        .39645E-06** at limit **
   8  Prefactor     .10000E-03    9.1681       -.24826E-06** at limit **
   9  norm          .10001E-03    5.1343        .50469E-07** at limit **
  10  Prefactor     50.137        64.584       -.16533E-04    .12170E-04
  11  norm          24.632        13.173       -.24161E-05    .13000E-03
  12  norm          .10000E-03    .76489       -.11881E-06** at limit **
  13  norm          8.7066        19.973       -.46066E-05   -.19783E-04
  14  norm          264.97        215.25        .16017E-04    .37281E-05
  15  Prefactor     3.8307        10.829        .33410E-07   -.12067E-03
  16  Prefactor     168.77        144.57       -.19916E-04    .12765E-04
  17  Prefactor     .10011E-03    201.19        .48482E-04** at limit **
  18  Prefactor     .10000E-03    5.6316       -.13210E-06** at limit **
  19  Prefactor     .10000E-03    11.430       -.17799E-05** at limit **
  20  Normalizat    1.3443        .28295        .14630E-04   -.13836E-03
  21  Prefactor     .74975        .12200        .39529E-05    .12825E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 63.1871
  Prefactor  = 0.0001
  Prefactor  = 0.000100014
  Prefactor  = 7.53998
  Prefactor  = 0.0001
  norm       = 7.24723
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100009
  Prefactor  = 50.1371
  norm       = 24.6322
  norm       = 0.0001
  norm       = 8.70657
  norm       = 264.971
  Prefactor  = 3.83068
  Prefactor  = 168.77
  Prefactor  = 0.00010011
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.34435
  Prefactor  = 0.749752
 **********
 **   18 **HESSE 
 **********

 FCN=   5383.665     FROM HESSE     STATUS=OK           313 CALLS     2568 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     63.187        113.98        .25174E-03   -1.4116    
   2  Prefactor     .10000E-03    32.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    12.457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.5400        44.301        .14559E-03   -1.5159    
   5  Prefactor     .10000E-03    31.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.2472        3.8465        .99479E-04   -1.5169    
   7  Prefactor     .10000E-03    2.3220        .10914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.1694        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10001E-03    16.133        .32087E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     50.137        64.485        .56626E-04   -1.4291    
  11  norm          24.632        13.173        .80707E-04   -1.4715    
  12  norm          .10000E-03    .77487        .62627E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.7066        19.970        .13539E-03   -1.5118    
  14  norm          264.97        215.69        .12453E-03   -1.2438    
  15  Prefactor     3.8307        10.818        .20596E-03   -1.5317    
  16  Prefactor     168.77        144.63        .15526E-03   -1.3102    
  17  Prefactor     .10011E-03    206.99        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.6425        .17004E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3443        .34442        .32918E-03   -.82252    
  21  Prefactor     .74975        .14813        .18806E-03   -1.0161    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.92189e-09
Minuit parameter uncertainties:
  1  114.38
  2  0.00013816
  3  0.000844747
  4  36.5934
  5  0.000249749
  6  3.84667
  7  1.65605e-05
  8  2.38302e-06
  9  0.00074691
  10  64.5746
  11  13.1748
  12  8.42526e-07
  13  19.9851
  14  216.344
  15  10.823
  16  144.938
  17  0.0095867
  18  7.46494e-05
  19  0.000230897
  20  0.345011
  21  0.148207
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  1.000e-04  8.425e-07  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:  7.498e-01  1.482e-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.344e+00  3.450e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/866154/likelihoodResults_608688001_608947201_4FGL_J1555.7+1111_daily_bin1425.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) = 5383.67047342
delta logL = -0.00591179352978

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5383.66452202
delta logL = 3.96069644921e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17016E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5755       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3443       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74975       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5383.665     FROM MIGRAD    STATUS=FAILED        99 CALLS      305 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10048E-03    71.329        .90684E-03** at limit **
   2  alpha         2.6515        3.6175        .50000       -.47734E-05
   3  Normalizat    1.3444        .32002E-01    .32918E-03    .13162E-03
   4  Prefactor     .74975        .14181E-01    .18806E-03    .11468E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5383.665     FROM SIMPLEX   STATUS=UNCHANGED    130 CALLS      435 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10048E-03    71.329        .34910E-03** at limit **
   2  alpha         2.6515        3.6175        .70849E-04   -.47734E-05
   3  Normalizat    1.3444        .32002E-01    .82143E-06    .13162E-03
   4  Prefactor     .74975        .14181E-01    .62667E-06    .11468E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5383.665     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      513 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    237.84        .36274E-04** at limit **
   2  alpha         2.6623        3.7548        .50000        .88387E-06
   3  Normalizat    1.3444        .32849        .26334E-05   -.42739E-03
   4  Prefactor     .74975        .14535        .15045E-05   -.81307E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.66234
  Normalizat = 1.34435
  Prefactor  = 0.749748
 **********
 **   18 **HESSE 
 **********

 FCN=   5383.665     FROM HESSE     STATUS=OK            29 CALLS      542 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.7386        .72547E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6623        3.3705        .50000        .64980E-01
   3  Normalizat    1.3444        .32367        .52669E-06   -.82252    
   4  Prefactor     .74975        .14245        .30090E-06   -1.0161    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.71382e-10
Minuit parameter uncertainties:
  1  9.38428e-06
  2  41.508
  3  0.324159
  4  0.142518
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866154': 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) = 5383.66451103
delta logL = 5.05971165694e-05

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  1.000e-04  9.384e-06  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  2.662e+00  4.151e+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:  7.497e-01  1.425e-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.344e+00  3.242e-01  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/866154/cmap_HighResolution_608688001_608947201_4FGL_J1555.7+1111_daily_bin1425.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-04', job_status='DONE', photon_flux_upper_limit='4.47e-08', time_completed='2021-09-12 22:32:31.185694', job_id='866154', GAL2='0.75', fit_tolerance='1e-08', EG2='1.34', EG='1.34', time_epoch_completed='1631511151.19', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='5.06e-05', ts2='-0.00', photon_index_error='0.00', photon_index='1.54' WHERE bin_id='1425' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:32:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 866154: <4FGL_J1555.7+1111_daily_bin1425> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1425 238.931 11.1884 608688001 608947201 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.19 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             250.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   716 sec.
    Turnaround time :                            731 sec.

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

