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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1572
RA = 238.931, Dec = 11.1884
tmin = 646790401, tmax = 647049601
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='867614', job_status='RUN', time_executed='2021-09-12 22:27:31.933638', time_epoch_executed='1631510851.93' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1572'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/867614

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/867614/ft1_4FGL_J1555.7+1111_daily_bin1572.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/867614/ft2_4FGL_J1555.7+1111_daily_bin1572.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/867614/ft1_4FGL_J1555.7+1111_daily_bin1572.fits outfile=/scratch/kocevski/867614/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1572.fits ra=238.931 dec=11.1884 rad=12.0 tmin=646790401.0 tmax=647049601.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.62
user 3.39
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/867614/ft2_4FGL_J1555.7+1111_daily_bin1572.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/867614/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1572.fits evtable="EVENTS" outfile="/scratch/kocevski/867614/ft1_filtered_4FGL_J1555.7+1111_daily_bin1572.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/867614/ft1_filtered_4FGL_J1555.7+1111_daily_bin1572.fits" evtable="EVENTS" scfile=/scratch/kocevski/867614/ft2_4FGL_J1555.7+1111_daily_bin1572.fits sctable="SC_DATA" outfile=/scratch/kocevski/867614/ltcube_646790401_647049601_4FGL_J1555.7+1111_daily_bin1572.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/867614/ft2_4FGL_J1555.7+1111_daily_bin1572.fits
.....................!
real 13.91
user 13.53
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/867614/ft1_filtered_4FGL_J1555.7+1111_daily_bin1572.fits evtable="EVENTS" scfile=/scratch/kocevski/867614/ft2_4FGL_J1555.7+1111_daily_bin1572.fits sctable="SC_DATA" expcube=/scratch/kocevski/867614/ltcube_646790401_647049601_4FGL_J1555.7+1111_daily_bin1572.fits outfile=/scratch/kocevski/867614/expmap_646790401_647049601_4FGL_J1555.7+1111_daily_bin1572.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/867614/ltcube_646790401_647049601_4FGL_J1555.7+1111_daily_bin1572.fits
.....................!
real 193.07
user 187.27
sys 4.77

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/867614/ft1_filtered_4FGL_J1555.7+1111_daily_bin1572.fits scfile=/scratch/kocevski/867614/ft2_4FGL_J1555.7+1111_daily_bin1572.fits outfile=/scratch/kocevski/867614/cmap_646790401_647049601_4FGL_J1555.7+1111_daily_bin1572.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.62
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/867614/ft1_filtered_4FGL_J1555.7+1111_daily_bin1572.fits scfile=/scratch/kocevski/867614/ft2_4FGL_J1555.7+1111_daily_bin1572.fits outfile=/scratch/kocevski/867614/cmap_HighResolution_646790401_647049601_4FGL_J1555.7+1111_daily_bin1572.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.984       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .17185E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    30.942       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.7404       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.8982       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.7659       1.0000         .10000E-03   10000.    
    10 'Prefactor '    76.258       1.0000         .10000E-03   10000.    
    11 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.6152       1.0000         .10000E-03   10000.    
    13 'norm      '    20.062       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10321E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.726       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.5683       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.1695       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .86669       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1861       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=   8131.002     FROM MIGRAD    STATUS=CONVERGED    438 CALLS     2208 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.975        49.634        .12666E-06   -.26287E-04
   2  Prefactor     .10000E-03    32.048        .44678E-06** at limit **
   3  Prefactor     .10017E-03    1.8225        .67650E-06** at limit **
   4  Prefactor     30.934        37.474        .49276E-06   -.17575E-04
   5  Prefactor     .10000E-03    13.238        .10425E-07** at limit **
   6  norm          1.7403        1.6625       -.17418E-07    .12066E-04
   7  Prefactor     1.8980        3.7475        .75554E-06   -.49814E-04
   8  Prefactor     .10000E-03    19.750        .53478E-07** at limit **
   9  norm          3.7641        3.5996        .31719E-07   -.49227E-04
  10  Prefactor     76.221        66.010       -.11242E-06   -.57271E-04
  11  norm          .10000E-03    5.1465        .70407E-07** at limit **
  12  norm          7.6150        2.4903        .85974E-08   -.38426E-05
  13  norm          20.058        15.954        .39886E-07   -.91936E-05
  14  norm          .10000E-03    40.072        .55238E-07** at limit **
  15  Prefactor     .10000E-03    22.182        .41294E-06** at limit **
  16  Prefactor     10.633        79.468       -.28193E-05   -.62168E-04
  17  Prefactor     .10000E-03    29.604       -.21268E-06** at limit **
  18  Prefactor     5.5724        9.6237        .51446E-05   -.52755E-04
  19  Prefactor     5.1692        9.3952       -.12988E-05   -.48551E-04
  20  Normalizat    .86704        .25582       -.21283E-05   -.52191E-04
  21  Prefactor     1.1859        .11958        .27474E-06   -.21405E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.9753
  Prefactor  = 0.0001
  Prefactor  = 0.000100165
  Prefactor  = 30.934
  Prefactor  = 0.0001
  norm       = 1.74025
  Prefactor  = 1.89797
  Prefactor  = 0.0001
  norm       = 3.76408
  Prefactor  = 76.2214
  norm       = 0.0001
  norm       = 7.61502
  norm       = 20.058
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.6331
  Prefactor  = 0.0001
  Prefactor  = 5.57237
  Prefactor  = 5.16922
  Normalizat = 0.867042
  Prefactor  = 1.18594
 **********
 **   18 **HESSE 
 **********

 FCN=   8131.002     FROM HESSE     STATUS=OK           321 CALLS     2529 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.975        49.623        .68740E-04   -1.4542    
   2  Prefactor     .10000E-03    32.234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10017E-03    22.364        .23210E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     30.934        37.589        .72031E-04   -1.4595    
   5  Prefactor     .10000E-03    13.259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.7403        1.6763        .11046E-03   -1.5444    
   7  Prefactor     1.8980        3.7256        .23419E-03   -1.5432    
   8  Prefactor     .10000E-03    19.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.7641        3.5901        .16089E-03   -1.5320    
  10  Prefactor     76.221        66.055        .22991E-03   -1.3960    
  11  norm          .10000E-03    5.1851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.6150        2.4901        .78598E-04   -1.5156    
  13  norm          20.058        15.949        .89422E-04   -1.4812    
  14  norm          .10000E-03    40.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    22.748        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.633        80.849        .12234E-03   -1.5056    
  17  Prefactor     .10000E-03    29.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.5724        9.6513        .85127E-03   -1.5236    
  19  Prefactor     5.1692        9.3846        .17681E-03   -1.5253    
  20  Normalizat    .86704        .28979        .42109E-03   -.97628    
  21  Prefactor     1.1859        .13708        .17456E-03   -.86765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.01958e-09
Minuit parameter uncertainties:
  1  49.683
  2  5.83731e-05
  3  0.00384784
  4  37.6177
  5  4.56294e-06
  6  1.67631
  7  3.72607
  8  2.93735e-05
  9  3.59032
  10  66.1184
  11  5.51532e-06
  12  2.49013
  13  15.9529
  14  3.5063e-05
  15  1.18624e-05
  16  58.751
  17  0.000128342
  18  9.65403
  19  9.38731
  20  0.290311
  21  0.137124
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  7.615e+00  2.490e+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.186e+00  1.371e-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:  8.670e-01  2.903e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 52.59
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 9.38e-08 +/- 3.07e-08
Energy Flux (Fixed Index): 2.13e-04 +/- 6.96e-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) = 8130.91220541
delta logL = 0.0895295497448

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8130.87187747
delta logL = 0.129857484924

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.6673       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6709       1.0000          .0000       5.0000    
     3 'Normalizat'    .85362       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1870       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=   8130.872     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      205 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.6681        5.5405        .36206E-02   -.28477E-04
   2  alpha         1.6711        .52411        .20863        .78300E-04
   3  Normalizat    .85368        .25828        .95674E-01    .46444E-05
   4  Prefactor     1.1871        .11947        .34946E-01   -.11525E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.66812
  alpha      = 1.67107
  Normalizat = 0.853681
  Prefactor  = 1.18707
 **********
 **   18 **HESSE 
 **********

 FCN=   8130.872     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.6681        2.4284        .76235E-04   -1.5154    
   2  alpha         1.6711        .25330        .83230E-02   -.33797    
   3  Normalizat    .85368        .28097        .42386E-03   -.98107    
   4  Prefactor     1.1871        .13451        .17439E-03   -.86730    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.71128e-11
Minuit parameter uncertainties:
  1  2.42839
  2  0.253787
  3  0.281452
  4  0.134548
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/867614': 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) = 8130.87187531
delta logL = 0.129859645566

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  7.668e+00  2.428e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.671e+00  2.538e-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.187e+00  1.345e-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:  8.537e-01  2.815e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 52.83
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.67 +/- 0.25
Photon Flux (Free Index): 1.11e-07 +/- 4.86e-08
Energy Flux (Free Index): 1.76e-04 +/- 8.60e-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/867614/cmap_HighResolution_646790401_647049601_4FGL_J1555.7+1111_daily_bin1572.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.38e-08', energy_flux2='1.76e-04', photon_flux_error='3.07e-08', dlogl='1.30e-01', energy_flux='2.13e-04', photon_flux2='1.11e-07', job_status='DONE', time_completed='2021-09-12 22:37:48.818383', photon_index_error2='0.25', photon_index2='1.67', ts='52.59', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', energy_flux_error2='8.60e-05', EG='0.87', time_epoch_completed='1631511468.82', return_code='0', job_id='867614', GAL2='1.19', EG2='0.85', return_code2='0', energy_flux_error='6.96e-05', photon_flux_error2='4.86e-08', ts2='52.83', photon_index='1.54' WHERE bin_id='1572' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:37:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 867614: <4FGL_J1555.7+1111_daily_bin1572> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin1572> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 22:25:16 2021
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 22:25:25 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:25:25 2021
Terminated at Sun Sep 12 22:37:49 2021
Results reported at Sun Sep 12 22:37:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1572 238.931 11.1884 646790401 647049601 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 :                                   611.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             279.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            753 sec.

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

