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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin2
RA = 238.931, Dec = 11.1884
tmin = 239846401, tmax = 240105601
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='845796', job_status='RUN', time_executed='2021-09-12 21:12:21.273776', time_epoch_executed='1631506341.27' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='2'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/845796

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/845796/ft1_4FGL_J1555.7+1111_daily_bin2.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/845796/ft2_4FGL_J1555.7+1111_daily_bin2.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/845796/ft1_4FGL_J1555.7+1111_daily_bin2.fits outfile=/scratch/kocevski/845796/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin2.fits ra=238.931 dec=11.1884 rad=12.0 tmin=239846401.0 tmax=240105601.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 1.45
user 1.27
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/845796/ft1_filtered_4FGL_J1555.7+1111_daily_bin2.fits" evtable="EVENTS" scfile=/scratch/kocevski/845796/ft2_4FGL_J1555.7+1111_daily_bin2.fits sctable="SC_DATA" outfile=/scratch/kocevski/845796/ltcube_239846401_240105601_4FGL_J1555.7+1111_daily_bin2.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/845796/ft2_4FGL_J1555.7+1111_daily_bin2.fits
.....................!
real 14.67
user 14.29
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/845796/ft1_filtered_4FGL_J1555.7+1111_daily_bin2.fits evtable="EVENTS" scfile=/scratch/kocevski/845796/ft2_4FGL_J1555.7+1111_daily_bin2.fits sctable="SC_DATA" expcube=/scratch/kocevski/845796/ltcube_239846401_240105601_4FGL_J1555.7+1111_daily_bin2.fits outfile=/scratch/kocevski/845796/expmap_239846401_240105601_4FGL_J1555.7+1111_daily_bin2.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/845796/ltcube_239846401_240105601_4FGL_J1555.7+1111_daily_bin2.fits
.....................!
real 191.49
user 185.82
sys 5.16

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

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/845796/ft1_filtered_4FGL_J1555.7+1111_daily_bin2.fits scfile=/scratch/kocevski/845796/ft2_4FGL_J1555.7+1111_daily_bin2.fits outfile=/scratch/kocevski/845796/cmap_HighResolution_239846401_240105601_4FGL_J1555.7+1111_daily_bin2.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=238.931 yref=11.1884 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/845796/ft1_filtered_4FGL_J1555.7+1111_daily_bin2.fits evtable="EVENTS" scfile=/scratch/kocevski/845796/ft2_4FGL_J1555.7+1111_daily_bin2.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/845796/Model_4FGL_J1555.7+1111_daily_bin2.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/845796/ft1_filtered_4FGL_J1555.7+1111_daily_bin2.fits.....................!
real 73.78
user 72.10
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .27212       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.5409       1.0000         .10000E-03   10000.    
    10 'Prefactor '    75.267       1.0000         .10000E-03   10000.    
    11 'norm      '    56.051       1.0000         .10000E-03   10000.    
    12 'norm      '    2.6982       1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11445E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    28.401       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.6265       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.1011       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3541       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .98046       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=   9712.248     FROM MIGRAD    STATUS=CONVERGED    452 CALLS     2190 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.969        .54110E-05** at limit **
   2  Prefactor     .10000E-03    13.698        .14092E-05** at limit **
   3  Prefactor     .26425        1.4525        .31544E-07   -.15013E-03
   4  Prefactor     .10000E-03    21.285        .41177E-05** at limit **
   5  Prefactor     .10000E-03    7.5173        .57173E-05** at limit **
   6  norm          .10000E-03    .90960        .75191E-08** at limit **
   7  Prefactor     .10000E-03    .84084        .14896E-07** at limit **
   8  Prefactor     .10000E-03    8.6249       -.48252E-05** at limit **
   9  norm          2.5411        2.4201       -.14352E-07   -.62572E-04
  10  Prefactor     75.268        64.704        .59885E-06    .31409E-05
  11  norm          56.051        12.381       -.67690E-07    .27009E-04
  12  norm          2.6983        1.5395       -.96673E-09    .29160E-04
  13  norm          .10000E-03    7.0507       -.28184E-05** at limit **
  14  norm          .10000E-03    78.143       -.21375E-05** at limit **
  15  Prefactor     .10000E-03    15.065       -.78523E-05** at limit **
  16  Prefactor     28.399        54.572       -.31254E-05   -.31884E-05
  17  Prefactor     .10000E-03    13.995       -.14033E-06** at limit **
  18  Prefactor     8.6249        8.2282       -.91014E-07    .21854E-05
  19  Prefactor     2.1047        2.4240        .38917E-06   -.12826E-02
  20  Normalizat    1.3541        .22161       -.13018E-06    .57658E-04
  21  Prefactor     .98048        .10166        .12191E-06    .73803E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.264252
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.54105
  Prefactor  = 75.2677
  norm       = 56.0511
  norm       = 2.69829
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.3993
  Prefactor  = 0.0001
  Prefactor  = 8.62486
  Prefactor  = 2.10474
  Normalizat = 1.35407
  Prefactor  = 0.980479
 **********
 **   18 **HESSE 
 **********

 FCN=   9712.248     FROM HESSE     STATUS=OK           313 CALLS     2503 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    13.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .26425        6.9737        .23017E-02   -1.5605    
   4  Prefactor     .10000E-03    21.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.5467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.5550        .18262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .84465        .88235E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.6489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.5411        2.4159        .14527E-03   -1.5389    
  10  Prefactor     75.268        64.713        .46282E-04   -1.3971    
  11  norm          56.051        12.354        .53580E-04   -1.4209    
  12  norm          2.6983        1.5402        .89091E-04   -1.5379    
  13  norm          .10000E-03    7.1130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    78.181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.471        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     28.399        54.633        .75175E-04   -1.4642    
  17  Prefactor     .10000E-03    14.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.6249        8.3262        .13648E-03   -1.5121    
  19  Prefactor     2.1047        7.3698        .14235E-02   -1.5418    
  20  Normalizat    1.3541        .26495        .36051E-03   -.81966    
  21  Prefactor     .98048        .12290        .19033E-03   -.93383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.46877e-08
Minuit parameter uncertainties:
  1  2.23125e-05
  2  4.95644e-06
  3  2.71485
  4  1.77386e-05
  5  1.78754e-05
  6  2.196e-07
  7  1.98941e-07
  8  1.788e-05
  9  2.41603
  10  64.7735
  11  12.3546
  12  1.54024
  13  2.73408e-06
  14  2.45252e-05
  15  0.000106689
  16  54.7293
  17  3.17521e-08
  18  8.32727
  19  7.37295
  20  0.265217
  21  0.122938
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  2.698e+00  1.540e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.541e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
267         beta:  6.792e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
268           Eb:  1.802e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  9.805e-01  1.229e-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.354e+00  2.652e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.12
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 3.33e-08 +/- 1.90e-08
Energy Flux (Fixed Index): 7.54e-05 +/- 4.30e-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) = 9712.24403131
delta logL = 0.00417330387609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9712.24358433
delta logL = 0.00462028961556

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6519       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5003       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3548       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98047       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=   9712.244     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      203 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6507        49.236        .62582E-02   -.37691E-04
   2  alpha         1.5001        2.6220        .38154       -.11006E-04
   3  Normalizat    1.3549        .34185        .81424E-01    .20688E-04
   4  Prefactor     .98064        .11085        .46023E-01    .10183E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.65075
  alpha      = 1.50007
  Normalizat = 1.35487
  Prefactor  = 0.98064
 **********
 **   18 **HESSE 
 **********

 FCN=   9712.244     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6507        1.5964        .89233E-04   -1.5382    
   2  alpha         1.5001        .42275        .13909E-01   -.41148    
   3  Normalizat    1.3549        .26232        .36044E-03   -.81943    
   4  Prefactor     .98064        .12110        .19033E-03   -.93378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.0006e-11
Minuit parameter uncertainties:
  1  1.59642
  2  0.425182
  3  0.262583
  4  0.121131
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/845796': 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) = 9712.24357882
delta logL = 0.00462579527266

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  2.651e+00  1.596e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.500e+00  4.252e-01  0.000e+00  5.000e+00 ( 1.000e+00)
267         beta:  6.792e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
268           Eb:  1.802e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  9.806e-01  1.211e-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.355e+00  2.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.12
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.50 +/- 0.43
Photon Flux (Free Index): 3.13e-08 +/- 2.65e-08
Energy Flux (Free Index): 7.96e-05 +/- 6.46e-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/845796/cmap_HighResolution_239846401_240105601_4FGL_J1555.7+1111_daily_bin2.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.33e-08', energy_flux2='7.96e-05', photon_flux_error='1.90e-08', dlogl='4.63e-03', energy_flux='7.54e-05', photon_flux2='3.13e-08', job_status='DONE', time_completed='2021-09-12 21:23:31.755697', photon_index_error2='0.43', photon_index2='1.50', ts='18.12', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='6.46e-05', EG='1.35', time_epoch_completed='1631507011.76', return_code='0', job_id='845796', GAL2='0.98', EG2='1.35', return_code2='0', energy_flux_error='4.30e-05', photon_flux_error2='2.65e-08', ts2='18.12', photon_index='1.54' WHERE bin_id='2' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 21:23:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 845796: <4FGL_J1555.7+1111_daily_bin2> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin2> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Sep 12 21:10:16 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 21:10:18 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:18 2021
Terminated at Sun Sep 12 21:23:32 2021
Results reported at Sun Sep 12 21:23:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin2 238.931 11.1884 239846401 240105601 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 :                                   669.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             291.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            796 sec.

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

