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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1615
RA = 238.931, Dec = 11.1884
tmin = 657936001, tmax = 658195201
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='387164', job_status='RUN', time_executed='2021-12-08 02:25:45.572030', time_epoch_executed='1638959145.57' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1615'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/387164

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/387164/ft1_4FGL_J1555.7+1111_daily_bin1615.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/387164/ft2_4FGL_J1555.7+1111_daily_bin1615.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/387164/ft1_4FGL_J1555.7+1111_daily_bin1615.fits outfile=/scratch/kocevski/387164/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1615.fits ra=238.931 dec=11.1884 rad=12.0 tmin=657936001.0 tmax=658195201.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 4.09
user 3.83
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/387164/ft1_filtered_4FGL_J1555.7+1111_daily_bin1615.fits" evtable="EVENTS" scfile=/scratch/kocevski/387164/ft2_4FGL_J1555.7+1111_daily_bin1615.fits sctable="SC_DATA" outfile=/scratch/kocevski/387164/ltcube_657936001_658195201_4FGL_J1555.7+1111_daily_bin1615.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/387164/ft2_4FGL_J1555.7+1111_daily_bin1615.fits
.....................!
real 12.92
user 12.56
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/387164/ft1_filtered_4FGL_J1555.7+1111_daily_bin1615.fits evtable="EVENTS" scfile=/scratch/kocevski/387164/ft2_4FGL_J1555.7+1111_daily_bin1615.fits sctable="SC_DATA" expcube=/scratch/kocevski/387164/ltcube_657936001_658195201_4FGL_J1555.7+1111_daily_bin1615.fits outfile=/scratch/kocevski/387164/expmap_657936001_658195201_4FGL_J1555.7+1111_daily_bin1615.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/387164/ltcube_657936001_658195201_4FGL_J1555.7+1111_daily_bin1615.fits
.....................!
real 192.23
user 186.07
sys 5.30

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/387164/ft1_filtered_4FGL_J1555.7+1111_daily_bin1615.fits scfile=/scratch/kocevski/387164/ft2_4FGL_J1555.7+1111_daily_bin1615.fits outfile=/scratch/kocevski/387164/cmap_657936001_658195201_4FGL_J1555.7+1111_daily_bin1615.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/387164/ft1_filtered_4FGL_J1555.7+1111_daily_bin1615.fits scfile=/scratch/kocevski/387164/ft2_4FGL_J1555.7+1111_daily_bin1615.fits outfile=/scratch/kocevski/387164/cmap_HighResolution_657936001_658195201_4FGL_J1555.7+1111_daily_bin1615.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.55
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13382E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10622E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.0591       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.2345       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13117E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    6.8010       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16179E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .19063       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10198E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10575E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    6.0118       1.0000         .10000E-03   10000.    
    13 'norm      '    116.81       1.0000         .10000E-03   10000.    
    14 'norm      '    .12948E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.3797       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10259E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.2378       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10406E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.6002       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2348       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0293       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=   8784.897     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2282 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10041E-03    274.35       -.11034E-04** at limit **
   2  Prefactor     .10000E-03    8.9010       -.23982E-07** at limit **
   3  Prefactor     3.0593        5.2990        .42951E-05    .10194E-02
   4  Prefactor     9.3815        36.449       -.16265E-06   -.86203E-05
   5  Prefactor     .10001E-03    51.521        .80176E-06** at limit **
   6  norm          6.8015        3.1898        .39631E-07   -.26151E-03
   7  Prefactor     .10000E-03    4.0170       -.44441E-06** at limit **
   8  Prefactor     .10000E-03    47.614        .53692E-07** at limit **
   9  norm          .26437        2.3131       -.26405E-06   -.64366E-04
  10  Prefactor     .10001E-03    67.158       -.92044E-06** at limit **
  11  norm          .11064E-03    15.158        .82911E-05** at limit **
  12  norm          6.0117        2.1165        .41552E-07   -.69387E-04
  13  norm          116.84        27.023        .43001E-06    .31574E-03
  14  norm          .10000E-03    114.81       -.58185E-06** at limit **
  15  Prefactor     4.3854        14.865        .46014E-06    .40039E-04
  16  Prefactor     .10000E-03    25.264       -.62348E-07** at limit **
  17  Prefactor     1.3367        332.30        .22484E-05    .24102E-04
  18  Prefactor     .10000E-03    8.9402        .83008E-06** at limit **
  19  Prefactor     3.6027        5.7171        .29199E-06    .22548E-03
  20  Normalizat    1.2347        .26015       -.11601E-05    .22925E-03
  21  Prefactor     1.0290        .11156        .33597E-06    .71542E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100407
  Prefactor  = 0.0001
  Prefactor  = 3.05929
  Prefactor  = 9.38147
  Prefactor  = 0.00010001
  norm       = 6.80151
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.264372
  Prefactor  = 0.000100005
  norm       = 0.000110635
  norm       = 6.01171
  norm       = 116.842
  norm       = 0.000100003
  Prefactor  = 4.38543
  Prefactor  = 0.0001
  Prefactor  = 1.33666
  Prefactor  = 0.000100001
  Prefactor  = 3.60267
  Normalizat = 1.23474
  Prefactor  = 1.02904
 **********
 **   18 **HESSE 
 **********

 FCN=   8784.897     FROM HESSE     STATUS=OK           325 CALLS     2607 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10041E-03    294.10        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.9051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.0593        5.4251        .11597E-02   -1.5358    
   4  Prefactor     9.3815        36.769        .13188E-03   -1.5095    
   5  Prefactor     .10001E-03    52.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.8015        3.1863        .10999E-03   -1.5186    
   7  Prefactor     .10000E-03    4.1560        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    48.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .26437        21.204        .26839E-02   -1.5605    
  10  Prefactor     .10001E-03    67.476        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .11064E-03    7.5604        .65765E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.0117        2.1181        .78106E-04   -1.5218    
  13  norm          116.84        27.113        .37228E-04   -1.3542    
  14  norm          .10000E-03    115.06        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.3854        14.880        .19245E-03   -1.5289    
  16  Prefactor     .10000E-03    25.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.3367        335.51        .40335E-03   -1.5477    
  18  Prefactor     .10000E-03    9.0441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.6027        5.7051        .21296E-03   -1.5328    
  20  Normalizat    1.2347        .30752        .38729E-03   -.85536    
  21  Prefactor     1.0290        .13407        .18978E-03   -.91768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67826e-08
Minuit parameter uncertainties:
  1  0.0219887
  2  9.03908e-06
  3  5.42592
  4  36.858
  5  0.00146423
  6  3.18641
  7  7.59099e-05
  8  0.000612996
  9  4.73611
  10  0.00121505
  11  0.0179363
  12  2.11811
  13  27.1159
  14  0.0012356
  15  14.8927
  16  3.32223e-05
  17  42.5958
  18  0.000198093
  19  5.70599
  20  0.307973
  21  0.134114
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  6.012e+00  2.118e+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.029e+00  1.341e-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.235e+00  3.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 39.15
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 7.41e-08 +/- 2.61e-08
Energy Flux (Fixed Index): 1.68e-04 +/- 5.92e-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) = 8784.59737378
delta logL = 0.299867556741

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8784.59707479
delta logL = 0.300166551291

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9888       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7762       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2103       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0331       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=   8784.597     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      240 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9888        2.0666        .74625E-04    .15617E-02
   2  alpha         1.7762        .30932        .96560E-02    .96308E-04
   3  Normalizat    1.2102        .29071        .39037E-03    .21435E-04
   4  Prefactor     1.0331        .13141        .18933E-03    .44988E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.98875
  alpha      = 1.77619
  Normalizat = 1.21021
  Prefactor  = 1.03308
 **********
 **   18 **HESSE 
 **********

 FCN=   8784.597     FROM HESSE     STATUS=OK            25 CALLS      265 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9888        2.0553        .14925E-04   -1.5218    
   2  alpha         1.7762        .30743        .38624E-03   -.29373    
   3  Normalizat    1.2102        .29083        .15615E-04   -.86288    
   4  Prefactor     1.0331        .13151        .37865E-04   -.91635    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39735e-10
Minuit parameter uncertainties:
  1  2.05532
  2  0.30828
  3  0.291224
  4  0.13155
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/387164': 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) = 8784.59707451
delta logL = 0.300166826088

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  5.989e+00  2.055e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.776e+00  3.083e-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.033e+00  1.316e-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.210e+00  2.912e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 39.71
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.78 +/- 0.31
Photon Flux (Free Index): 1.00e-07 +/- 5.14e-08
Energy Flux (Free Index): 1.21e-04 +/- 6.24e-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/387164/cmap_HighResolution_657936001_658195201_4FGL_J1555.7+1111_daily_bin1615.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.41e-08', energy_flux2='1.21e-04', photon_flux_error='2.61e-08', dlogl='3.00e-01', energy_flux='1.68e-04', photon_flux2='1.00e-07', job_status='DONE', time_completed='2021-12-08 02:36:29.631444', photon_index_error2='0.31', photon_index2='1.78', ts='39.15', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='6.24e-05', EG='1.23', time_epoch_completed='1638959789.63', return_code='0', job_id='387164', GAL2='1.03', EG2='1.21', return_code2='0', energy_flux_error='5.92e-05', photon_flux_error2='5.14e-08', ts2='39.71', photon_index='1.54' WHERE bin_id='1615' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 02:36:29 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 387164: <4FGL_J1555.7+1111_daily_bin1615> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin1615> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Dec  8 02:20:29 2021
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 02:23:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 02:23:26 2021
Terminated at Wed Dec  8 02:36:30 2021
Results reported at Wed Dec  8 02:36:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1615 238.931 11.1884 657936001 658195201 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 :                                   643.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             340.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            961 sec.

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

