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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1433
RA = 238.931, Dec = 11.1884
tmin = 610761601, tmax = 611020801
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='866166', job_status='RUN', time_executed='2021-09-12 22:24:06.251855', time_epoch_executed='1631510646.25' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1433'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866166

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866166/ft1_4FGL_J1555.7+1111_daily_bin1433.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866166/ft2_4FGL_J1555.7+1111_daily_bin1433.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866166/ft1_4FGL_J1555.7+1111_daily_bin1433.fits outfile=/scratch/kocevski/866166/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1433.fits ra=238.931 dec=11.1884 rad=12.0 tmin=610761601.0 tmax=611020801.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.51
user 3.32
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866166/ft1_filtered_4FGL_J1555.7+1111_daily_bin1433.fits" evtable="EVENTS" scfile=/scratch/kocevski/866166/ft2_4FGL_J1555.7+1111_daily_bin1433.fits sctable="SC_DATA" outfile=/scratch/kocevski/866166/ltcube_610761601_611020801_4FGL_J1555.7+1111_daily_bin1433.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/866166/ft2_4FGL_J1555.7+1111_daily_bin1433.fits
.....................!
real 13.97
user 13.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866166/ft1_filtered_4FGL_J1555.7+1111_daily_bin1433.fits evtable="EVENTS" scfile=/scratch/kocevski/866166/ft2_4FGL_J1555.7+1111_daily_bin1433.fits sctable="SC_DATA" expcube=/scratch/kocevski/866166/ltcube_610761601_611020801_4FGL_J1555.7+1111_daily_bin1433.fits outfile=/scratch/kocevski/866166/expmap_610761601_611020801_4FGL_J1555.7+1111_daily_bin1433.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/866166/ltcube_610761601_611020801_4FGL_J1555.7+1111_daily_bin1433.fits
.....................!
real 192.34
user 186.03
sys 4.54

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/866166/ft1_filtered_4FGL_J1555.7+1111_daily_bin1433.fits scfile=/scratch/kocevski/866166/ft2_4FGL_J1555.7+1111_daily_bin1433.fits outfile=/scratch/kocevski/866166/cmap_610761601_611020801_4FGL_J1555.7+1111_daily_bin1433.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866166/ft1_filtered_4FGL_J1555.7+1111_daily_bin1433.fits scfile=/scratch/kocevski/866166/ft2_4FGL_J1555.7+1111_daily_bin1433.fits outfile=/scratch/kocevski/866166/cmap_HighResolution_610761601_611020801_4FGL_J1555.7+1111_daily_bin1433.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.53
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.124       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.491       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.7883       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.3200       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.0953       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.4024       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .22682       1.0000         .10000E-03   10000.    
    11 'norm      '    .12884E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.5397       1.0000         .10000E-03   10000.    
    13 'norm      '    26.997       1.0000         .10000E-03   10000.    
    14 'norm      '    .10468E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    47.205       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.207       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0469       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0725       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=   7870.442     FROM MIGRAD    STATUS=CONVERGED    845 CALLS     2619 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    51.897        .18142E-02** at limit **
   2  Prefactor     13.145        30.412        .11057E-03    .23751E-04
   3  Prefactor     12.491        6.8846        .11334E-03    .10111E-03
   4  Prefactor     7.7883        34.300        .14369E-03    .29275E-05
   5  Prefactor     .10000E-03    17.021        .18142E-02** at limit **
   6  norm          3.3198        2.6772        .12588E-03    .14567E-03
   7  Prefactor     4.0953        5.4874        .99608E-03   -.11443E-03
   8  Prefactor     .10000E-03    9.4037        .18142E-02** at limit **
   9  norm          2.4031        3.2303        .17837E-03    .31225E-03
  10  Prefactor     .10000E-03    71.869        .20392    ** at limit **
  11  norm          .10000E-03    20.403        .32815E-02** at limit **
  12  norm          6.5400        2.2142        .74304E-04    .84503E-03
  13  norm          26.995        17.615        .77102E-04    .14273E-03
  14  norm          .10000E-03    44.426        .18142E-02** at limit **
  15  Prefactor     .10000E-03    3.3263        .15790E-02** at limit **
  16  Prefactor     46.902        86.132        .29180E-03    .95881E-04
  17  Prefactor     .10000E-03    7.8867        .18142E-02** at limit **
  18  Prefactor     13.208        10.125        .11022E-03   -.53636E-05
  19  Prefactor     .10000E-03    4.1860        .17664E-02** at limit **
  20  Normalizat    1.0469        .29886        .37603E-03    .28241E-03
  21  Prefactor     1.0725        .13592        .17873E-03    .10259E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 13.1452
  Prefactor  = 12.4908
  Prefactor  = 7.78827
  Prefactor  = 0.0001
  norm       = 3.31983
  Prefactor  = 4.0953
  Prefactor  = 0.0001
  norm       = 2.40313
  Prefactor  = 0.000100004
  norm       = 0.0001
  norm       = 6.53999
  norm       = 26.9953
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.9017
  Prefactor  = 0.0001
  Prefactor  = 13.2078
  Prefactor  = 0.0001
  Normalizat = 1.04686
  Prefactor  = 1.07252
 **********
 **   18 **HESSE 
 **********

 FCN=   7870.442     FROM HESSE     STATUS=OK           307 CALLS     2926 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    51.912        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.145        30.408        .44228E-05   -1.4983    
   3  Prefactor     12.491        6.8831        .45336E-05   -1.5001    
   4  Prefactor     7.7883        34.311        .57474E-05   -1.5150    
   5  Prefactor     .10000E-03    17.023        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.3198        2.6769        .50354E-05   -1.5344    
   7  Prefactor     4.0953        5.4828        .39843E-04   -1.5303    
   8  Prefactor     .10000E-03    9.4038        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.4031        3.2299        .71348E-05   -1.5398    
  10  Prefactor     .10000E-03    76.637        .19574       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    20.587        .65631E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.5400        2.2142        .29722E-05   -1.5196    
  13  norm          26.995        17.615        .30841E-05   -1.4668    
  14  norm          .10000E-03    44.427        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.3265        .31581E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     46.902        86.140        .11672E-04   -1.4337    
  17  Prefactor     .10000E-03    7.8868        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.208        10.125        .44088E-05   -1.4981    
  19  Prefactor     .10000E-03    4.1870        .35329E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0469        .29905        .15041E-04   -.91477    
  21  Prefactor     1.0725        .13603        .35746E-04   -.90350    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.95021e-10
Minuit parameter uncertainties:
  1  6.84487e-05
  2  30.4443
  3  6.88349
  4  32.7252
  5  6.05219e-05
  6  2.67699
  7  5.48344
  8  3.91413e-06
  9  3.23009
  10  0.00109443
  11  0.000106233
  12  2.21423
  13  17.6188
  14  2.23825e-05
  15  1.00218e-06
  16  86.3699
  17  7.77807e-06
  18  10.1261
  19  4.90073e-05
  20  0.299527
  21  0.136076
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  6.540e+00  2.214e+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.073e+00  1.361e-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.047e+00  2.995e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 44.22
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 8.06e-08 +/- 2.73e-08
Energy Flux (Fixed Index): 1.83e-04 +/- 6.19e-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) = 7869.90399569
delta logL = 0.538315162634

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7869.90007205
delta logL = 0.542238809944

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.1823       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8330       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0116       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0793       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=   7869.900     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      230 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.1823        29.765        .40364E-02    .19840E-02
   2  alpha         1.8330        3.4158        .20640        .92297E-04
   3  Normalizat    1.0117        .30288        .86165E-01    .20028E-03
   4  Prefactor     1.0793        .72628E-01    .38430E-01    .35130E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.18229
  alpha      = 1.83299
  Normalizat = 1.01165
  Prefactor  = 1.07934
 **********
 **   18 **HESSE 
 **********

 FCN=   7869.900     FROM HESSE     STATUS=OK            29 CALLS      259 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.1823        2.1686        .67998E-04   -1.5211    
   2  alpha         1.8330        .28794        .81275E-02   -.27007    
   3  Normalizat    1.0117        .27819        .38150E-03   -.92641    
   4  Prefactor     1.0793        .13332        .17809E-03   -.90130    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98508e-10
Minuit parameter uncertainties:
  1  2.16868
  2  0.288626
  3  0.278589
  4  0.133365
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866166': 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) = 7869.90007204
delta logL = 0.542238817926

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  6.182e+00  2.169e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.833e+00  2.886e-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.079e+00  1.334e-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.012e+00  2.786e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 45.23
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.83 +/- 0.29
Photon Flux (Free Index): 1.13e-07 +/- 4.99e-08
Energy Flux (Free Index): 1.19e-04 +/- 6.00e-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/866166/cmap_HighResolution_610761601_611020801_4FGL_J1555.7+1111_daily_bin1433.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.06e-08', energy_flux2='1.19e-04', photon_flux_error='2.73e-08', dlogl='5.42e-01', energy_flux='1.83e-04', photon_flux2='1.13e-07', job_status='DONE', time_completed='2021-09-12 22:35:04.648798', photon_index_error2='0.29', photon_index2='1.83', ts='44.22', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='6.00e-05', EG='1.05', time_epoch_completed='1631511304.65', return_code='0', job_id='866166', GAL2='1.08', EG2='1.01', return_code2='0', energy_flux_error='6.19e-05', photon_flux_error2='4.99e-08', ts2='45.23', photon_index='1.54' WHERE bin_id='1433' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:35:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 866166: <4FGL_J1555.7+1111_daily_bin1433> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1433 238.931 11.1884 610761601 611020801 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 :                                   647.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            884 sec.

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

