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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1047
RA = 238.931, Dec = 11.1884
tmin = 510710401, tmax = 510969601
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='863188', job_status='RUN', time_executed='2021-09-12 22:15:39.217038', time_epoch_executed='1631510139.22' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1047'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/863188

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/863188/ft1_4FGL_J1555.7+1111_daily_bin1047.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/863188/ft2_4FGL_J1555.7+1111_daily_bin1047.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/863188/ft1_4FGL_J1555.7+1111_daily_bin1047.fits outfile=/scratch/kocevski/863188/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1047.fits ra=238.931 dec=11.1884 rad=12.0 tmin=510710401.0 tmax=510969601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.84
user 2.62
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/863188/ft1_filtered_4FGL_J1555.7+1111_daily_bin1047.fits" evtable="EVENTS" scfile=/scratch/kocevski/863188/ft2_4FGL_J1555.7+1111_daily_bin1047.fits sctable="SC_DATA" outfile=/scratch/kocevski/863188/ltcube_510710401_510969601_4FGL_J1555.7+1111_daily_bin1047.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/863188/ft2_4FGL_J1555.7+1111_daily_bin1047.fits
.....................!
real 11.05
user 10.73
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/863188/ft1_filtered_4FGL_J1555.7+1111_daily_bin1047.fits evtable="EVENTS" scfile=/scratch/kocevski/863188/ft2_4FGL_J1555.7+1111_daily_bin1047.fits sctable="SC_DATA" expcube=/scratch/kocevski/863188/ltcube_510710401_510969601_4FGL_J1555.7+1111_daily_bin1047.fits outfile=/scratch/kocevski/863188/expmap_510710401_510969601_4FGL_J1555.7+1111_daily_bin1047.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/863188/ltcube_510710401_510969601_4FGL_J1555.7+1111_daily_bin1047.fits
.....................!
real 154.68
user 150.02
sys 4.38

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/863188/ft1_filtered_4FGL_J1555.7+1111_daily_bin1047.fits scfile=/scratch/kocevski/863188/ft2_4FGL_J1555.7+1111_daily_bin1047.fits outfile=/scratch/kocevski/863188/cmap_510710401_510969601_4FGL_J1555.7+1111_daily_bin1047.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.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/863188/ft1_filtered_4FGL_J1555.7+1111_daily_bin1047.fits scfile=/scratch/kocevski/863188/ft2_4FGL_J1555.7+1111_daily_bin1047.fits outfile=/scratch/kocevski/863188/cmap_HighResolution_510710401_510969601_4FGL_J1555.7+1111_daily_bin1047.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.52
user 0.32
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/863188/ft1_filtered_4FGL_J1555.7+1111_daily_bin1047.fits evtable="EVENTS" scfile=/scratch/kocevski/863188/ft2_4FGL_J1555.7+1111_daily_bin1047.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/863188/Model_4FGL_J1555.7+1111_daily_bin1047.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/863188/ft1_filtered_4FGL_J1555.7+1111_daily_bin1047.fits.....................!
real 50.04
user 48.87
sys 1.03

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.358       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.5566       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .84516       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11860E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    46.902       1.0000         .10000E-03   10000.    
     6 'norm      '    1.9617       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .21090       1.0000         .10000E-03   10000.    
     9 'norm      '    .23713E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.3716       1.0000         .10000E-03   10000.    
    12 'norm      '    6.3417       1.0000         .10000E-03   10000.    
    13 'norm      '    13.579       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    195.86       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.9629       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1872       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .92217       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=   7952.518     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2331 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.333        50.080        .13956E-05    .24245E-05
   2  Prefactor     5.5456        31.408       -.24121E-06    .55771E-05
   3  Prefactor     .84595        3.1289        .41690E-06   -.45528E-04
   4  Prefactor     .10000E-03    111.06       -.12355E-05** at limit **
   5  Prefactor     46.901        33.721        .41903E-06    .37467E-04
   6  norm          1.9622        2.3215       -.45973E-07    .56720E-04
   7  Prefactor     .10000E-03    1.2719       -.34863E-07** at limit **
   8  Prefactor     .10006E-03    24.285       -.61970E-06** at limit **
   9  norm          .10000E-03    1.9402       -.21136E-06** at limit **
  10  Prefactor     .10000E-03    22.401        .17335E-07** at limit **
  11  norm          3.3703        6.6555        .29777E-05   -.10167E-04
  12  norm          6.3418        2.1309       -.74881E-07    .24708E-04
  13  norm          13.578        14.391       -.21976E-06    .14586E-04
  14  norm          .10000E-03    42.609       -.14151E-06** at limit **
  15  Prefactor     .10000E-03    9.3144       -.48506E-07** at limit **
  16  Prefactor     .10000E-03    74.061        .84692E-06** at limit **
  17  Prefactor     195.86        49.178        .47535E-06    .35870E-04
  18  Prefactor     5.9596        10.252       -.20769E-05   -.80646E-05
  19  Prefactor     .10000E-03    4.8976        .35305E-06** at limit **
  20  Normalizat    1.1873        .23637        .10600E-06    .10418E-03
  21  Prefactor     .92212        .10801       -.15166E-06    .13535E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.3333
  Prefactor  = 5.54561
  Prefactor  = 0.84595
  Prefactor  = 0.0001
  Prefactor  = 46.9008
  norm       = 1.96224
  Prefactor  = 0.0001
  Prefactor  = 0.000100063
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.37033
  norm       = 6.34175
  norm       = 13.5777
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 195.862
  Prefactor  = 5.95962
  Prefactor  = 0.0001
  Normalizat = 1.18728
  Prefactor  = 0.92212
 **********
 **   18 **HESSE 
 **********

 FCN=   7952.518     FROM HESSE     STATUS=OK           325 CALLS     2656 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.333        50.051        .63890E-04   -1.4453    
   2  Prefactor     5.5456        31.727        .17044E-03   -1.5237    
   3  Prefactor     .84595        3.0898        .29326E-03   -1.5524    
   4  Prefactor     .10000E-03    113.40        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     46.901        33.394        .58547E-04   -1.4337    
   6  norm          1.9622        2.3037        .14134E-03   -1.5428    
   7  Prefactor     .10000E-03    1.2790        .98188E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10006E-03    26.573        .12874       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.9894        .23845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    22.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.3703        6.6684        .11019E-02   -1.5341    
  12  norm          6.3418        2.1318        .72875E-04   -1.5204    
  13  norm          13.578        14.405        .10870E-03   -1.4971    
  14  norm          .10000E-03    42.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.4277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    74.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     195.86        49.134        .28866E-04   -1.2900    
  18  Prefactor     5.9596        10.252        .16444E-03   -1.5220    
  19  Prefactor     .10000E-03    4.9623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1873        .28623        .34751E-03   -.86997    
  21  Prefactor     .92212        .13086        .18381E-03   -.95372    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27943e-10
Minuit parameter uncertainties:
  1  50.104
  2  26.55
  3  3.09033
  4  5.01363e-05
  5  33.4071
  6  2.30381
  7  1.58376e-06
  8  0.00259562
  9  1.00934e-06
  10  3.34002e-06
  11  6.6699
  12  2.1318
  13  14.4086
  14  5.87223e-07
  15  6.30272e-06
  16  3.38248e-06
  17  49.1438
  18  10.2548
  19  3.38661e-05
  20  0.28661
  21  0.130907
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  6.342e+00  2.132e+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.221e-01  1.309e-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.187e+00  2.866e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 67.34
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 7.81e-08 +/- 2.63e-08
Energy Flux (Fixed Index): 1.77e-04 +/- 5.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) = 7951.75033925
delta logL = 0.767220510607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7951.69518603
delta logL = 0.822373730668

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.5097       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2114       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2037       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92266       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=   7951.695     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      216 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.5095        1.9498        .42793E-02   -.17323E-03
   2  alpha         1.2114        .21896        .20284       -.35169E-04
   3  Normalizat    1.2037        .22539        .78074E-01    .17350E-04
   4  Prefactor     .92266        .10712        .45293E-01    .43200E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.50945
  alpha      = 1.21137
  Normalizat = 1.2037
  Prefactor  = 0.922661
 **********
 **   18 **HESSE 
 **********

 FCN=   7951.695     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.5095        2.2135        .71030E-04   -1.5238    
   2  alpha         1.2114        .25463        .87399E-02   -.54154    
   3  Normalizat    1.2037        .27166        .34558E-03   -.86489    
   4  Prefactor     .92266        .12943        .18390E-03   -.95354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85803e-10
Minuit parameter uncertainties:
  1  2.21354
  2  0.255237
  3  0.27198
  4  0.12947
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/863188': 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) = 7951.69518601
delta logL = 0.822373749454

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  5.509e+00  2.214e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.211e+00  2.552e-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.227e-01  1.295e-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.204e+00  2.720e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 68.96
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.21 +/- 0.26
Photon Flux (Free Index): 5.32e-08 +/- 2.38e-08
Energy Flux (Free Index): 3.05e-04 +/- 1.65e-04

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/863188/cmap_HighResolution_510710401_510969601_4FGL_J1555.7+1111_daily_bin1047.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.81e-08', energy_flux2='3.05e-04', photon_flux_error='2.63e-08', dlogl='8.22e-01', energy_flux='1.77e-04', photon_flux2='5.32e-08', job_status='DONE', time_completed='2021-09-12 22:24:13.225830', photon_index_error2='0.26', photon_index2='1.21', ts='67.34', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.65e-04', EG='1.19', time_epoch_completed='1631510653.23', return_code='0', job_id='863188', GAL2='0.92', EG2='1.20', return_code2='0', energy_flux_error='5.96e-05', photon_flux_error2='2.38e-08', ts2='68.96', photon_index='1.54' WHERE bin_id='1047' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:24:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 863188: <4FGL_J1555.7+1111_daily_bin1047> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin1047> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 22:10:21 2021
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 22:15: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:15:25 2021
Terminated at Sun Sep 12 22:24:13 2021
Results reported at Sun Sep 12 22:24:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1047 238.931 11.1884 510710401 510969601 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 :                                   510.08 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             350.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   528 sec.
    Turnaround time :                            832 sec.

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

