/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 149 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 = 7401
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1555.7+1111_daily_bin19
RA = 238.931, Dec = 11.1884
tmin = 244252801, tmax = 244512001
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='845821', job_status='RUN', time_executed='2021-09-12 21:13:09.142960', time_epoch_executed='1631506389.14' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='19'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/845821

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/845821/ft1_4FGL_J1555.7+1111_daily_bin19.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/845821/ft2_4FGL_J1555.7+1111_daily_bin19.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/845821/ft1_4FGL_J1555.7+1111_daily_bin19.fits outfile=/scratch/kocevski/845821/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin19.fits ra=238.931 dec=11.1884 rad=12.0 tmin=244252801.0 tmax=244512001.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 2.39
user 2.20
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/845821/ft1_filtered_4FGL_J1555.7+1111_daily_bin19.fits" evtable="EVENTS" scfile=/scratch/kocevski/845821/ft2_4FGL_J1555.7+1111_daily_bin19.fits sctable="SC_DATA" outfile=/scratch/kocevski/845821/ltcube_244252801_244512001_4FGL_J1555.7+1111_daily_bin19.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/845821/ft2_4FGL_J1555.7+1111_daily_bin19.fits
.....................!
real 15.30
user 14.89
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/845821/ft1_filtered_4FGL_J1555.7+1111_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/845821/ft2_4FGL_J1555.7+1111_daily_bin19.fits sctable="SC_DATA" expcube=/scratch/kocevski/845821/ltcube_244252801_244512001_4FGL_J1555.7+1111_daily_bin19.fits outfile=/scratch/kocevski/845821/expmap_244252801_244512001_4FGL_J1555.7+1111_daily_bin19.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/845821/ltcube_244252801_244512001_4FGL_J1555.7+1111_daily_bin19.fits
.....................!
real 192.35
user 186.62
sys 5.09

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/845821/ft1_filtered_4FGL_J1555.7+1111_daily_bin19.fits scfile=/scratch/kocevski/845821/ft2_4FGL_J1555.7+1111_daily_bin19.fits outfile=/scratch/kocevski/845821/cmap_244252801_244512001_4FGL_J1555.7+1111_daily_bin19.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=238.931 yref=11.1884 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/845821/ft1_filtered_4FGL_J1555.7+1111_daily_bin19.fits scfile=/scratch/kocevski/845821/ft2_4FGL_J1555.7+1111_daily_bin19.fits outfile=/scratch/kocevski/845821/cmap_HighResolution_244252801_244512001_4FGL_J1555.7+1111_daily_bin19.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.51
user 0.36
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/845821/ft1_filtered_4FGL_J1555.7+1111_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/845821/ft2_4FGL_J1555.7+1111_daily_bin19.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/845821/Model_4FGL_J1555.7+1111_daily_bin19.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/845821/ft1_filtered_4FGL_J1555.7+1111_daily_bin19.fits.....................!
real 56.95
user 55.54
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.627       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.982       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .54327E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10478E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .11868E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    105.01       1.0000         .10000E-03   10000.    
    11 'norm      '    23.014       1.0000         .10000E-03   10000.    
    12 'norm      '    4.6085       1.0000         .10000E-03   10000.    
    13 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.923       1.0000         .10000E-03   10000.    
    16 'Prefactor '    38.980       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.1510       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .39928       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1707       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=   7428.082     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2257 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.133       -.44080E-06** at limit **
   2  Prefactor     24.605        33.444       -.78045E-05   -.35201E-04
   3  Prefactor     .10000E-03    1.1217       -.76437E-07** at limit **
   4  Prefactor     17.951        35.177       -.16357E-04   -.47814E-04
   5  Prefactor     .10000E-03    6.7271       -.24085E-06** at limit **
   6  norm          .10000E-03    .98651       -.32992E-07** at limit **
   7  Prefactor     .10000E-03    1.4261       -.31831E-06** at limit **
   8  Prefactor     .10000E-03    40.754        .22178E-05** at limit **
   9  norm          .10264E-03    1.6859       -.68939E-06** at limit **
  10  Prefactor     104.99        85.243       -.13842E-04    .18155E-04
  11  norm          23.007        12.023        .23488E-05   -.12010E-03
  12  norm          4.6083        2.1649       -.68782E-07   -.15395E-03
  13  norm          .10000E-03    4.4162       -.21815E-07** at limit **
  14  norm          .10000E-03    77.149        .12106E-04** at limit **
  15  Prefactor     13.916        14.666       -.22745E-05   -.90486E-04
  16  Prefactor     38.965        62.472       -.17101E-04   -.17059E-04
  17  Prefactor     .10000E-03    7.9543       -.13431E-06** at limit **
  18  Prefactor     2.1492        6.6582       -.32167E-05   -.57039E-03
  19  Prefactor     .10000E-03    3.5326       -.11668E-06** at limit **
  20  Normalizat    .39974        .29315        .14537E-04    .16359E-03
  21  Prefactor     1.1705        .12888       -.15268E-05    .14835E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 24.6052
  Prefactor  = 0.0001
  Prefactor  = 17.9506
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 0.000102637
  Prefactor  = 104.99
  norm       = 23.0073
  norm       = 4.60829
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 13.9157
  Prefactor  = 38.965
  Prefactor  = 0.0001
  Prefactor  = 2.14922
  Prefactor  = 0.0001
  Normalizat = 0.399737
  Prefactor  = 1.17054
 **********
 **   18 **HESSE 
 **********

 FCN=   7428.082     FROM HESSE     STATUS=OK           331 CALLS     2588 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     24.605        33.222        .80720E-04   -1.4715    
   3  Prefactor     .10000E-03    1.1266        .89132E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.951        35.086        .94451E-04   -1.4860    
   5  Prefactor     .10000E-03    6.7288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .99435        .83555E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.5587        .34353E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    40.994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10264E-03    3.2532        .38735E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     104.99        84.947        .39242E-04   -1.3655    
  11  norm          23.007        11.818        .83496E-04   -1.4748    
  12  norm          4.6083        2.1639        .82092E-04   -1.5279    
  13  norm          .10000E-03    4.4225        .17687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    77.058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.916        14.602        .10734E-03   -1.4962    
  16  Prefactor     38.965        62.384        .64198E-04   -1.4459    
  17  Prefactor     .10000E-03    7.9590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.1492        6.7570        .28094E-03   -1.5415    
  19  Prefactor     .10000E-03    3.5532        .15813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .39974        .28351        .52417E-03   -1.1731    
  21  Prefactor     1.1705        .12800        .15219E-03   -.87243    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9481e-09
Minuit parameter uncertainties:
  1  3.60095e-05
  2  33.2469
  3  4.43852e-06
  4  35.126
  5  9.21142e-07
  6  1.49881e-06
  7  0.000244811
  8  0.000258435
  9  0.0058585
  10  85.046
  11  11.8194
  12  2.16389
  13  1.17085e-05
  14  2.05398e-05
  15  14.6062
  16  62.4885
  17  7.55473e-06
  18  6.75942
  19  2.33029e-06
  20  0.284537
  21  0.128036
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  4.608e+00  2.164e+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.171e+00  1.280e-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:  3.997e-01  2.845e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.77
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 5.68e-08 +/- 2.67e-08
Energy Flux (Fixed Index): 1.29e-04 +/- 6.05e-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) = 7426.46272995
delta logL = 1.61969287007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7426.43495717
delta logL = 1.64746564564

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0690       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1824       1.0000          .0000       5.0000    
     3 'Normalizat'    .32929       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1821       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=   7426.435     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      244 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0690        20.275        .49970E-02    .15335E-03
   2  alpha         2.1824        3.5031        .18395        .91704E-04
   3  Normalizat    .32931        .15923        .12971        .67978E-04
   4  Prefactor     1.1821        .46184E-01    .35068E-01   -.43702E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.06899
  alpha      = 2.18241
  Normalizat = 0.329311
  Prefactor  = 1.1821
 **********
 **   18 **HESSE 
 **********

 FCN=   7426.435     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0690        2.0910        .61147E-04   -1.5305    
   2  alpha         2.1824        .35237        .71328E-02   -.12738    
   3  Normalizat    .32931        .25999        .57378E-03   -1.2113    
   4  Prefactor     1.1821        .12400        .15111E-03   -.86884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96543e-09
Minuit parameter uncertainties:
  1  2.09099
  2  0.353569
  3  0.260945
  4  0.124028
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/845821': 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) = 7426.43495716
delta logL = 1.64746565144

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  4.069e+00  2.091e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  2.182e+00  3.536e-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.182e+00  1.240e-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:  3.293e-01  2.609e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.13
Ra Dec: 238.931 11.188
Photon Index (Free Index): 2.18 +/- 0.35
Photon Flux (Free Index): 1.38e-07 +/- 6.71e-08
Energy Flux (Free Index): 7.03e-05 +/- 3.23e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/845821/cmap_HighResolution_244252801_244512001_4FGL_J1555.7+1111_daily_bin19.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.68e-08', energy_flux2='7.03e-05', photon_flux_error='2.67e-08', dlogl='1.65e+00', energy_flux='1.29e-04', photon_flux2='1.38e-07', job_status='DONE', time_completed='2021-09-12 21:22:58.472070', photon_index_error2='0.35', photon_index2='2.18', ts='14.77', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='3.23e-05', EG='0.40', time_epoch_completed='1631506978.47', return_code='0', job_id='845821', GAL2='1.18', EG2='0.33', return_code2='0', energy_flux_error='6.05e-05', photon_flux_error2='6.71e-08', ts2='18.13', photon_index='1.54' WHERE bin_id='19' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 21:22:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 845821: <4FGL_J1555.7+1111_daily_bin19> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin19> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Sep 12 21:10:18 2021
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 21:10:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 21:10:30 2021
Terminated at Sun Sep 12 21:22:59 2021
Results reported at Sun Sep 12 21:22:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin19 238.931 11.1884 244252801 244512001 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 :                                   588.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             245.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            761 sec.

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

