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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1289
RA = 238.931, Dec = 11.1884
tmin = 573436801, tmax = 573696001
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='864854', job_status='RUN', time_executed='2021-09-12 22:19:59.368958', time_epoch_executed='1631510399.37' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1289'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/864854

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/864854/ft1_4FGL_J1555.7+1111_daily_bin1289.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/864854/ft2_4FGL_J1555.7+1111_daily_bin1289.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/864854/ft1_4FGL_J1555.7+1111_daily_bin1289.fits outfile=/scratch/kocevski/864854/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1289.fits ra=238.931 dec=11.1884 rad=12.0 tmin=573436801.0 tmax=573696001.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 5.46
user 5.15
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/864854/ft1_filtered_4FGL_J1555.7+1111_daily_bin1289.fits" evtable="EVENTS" scfile=/scratch/kocevski/864854/ft2_4FGL_J1555.7+1111_daily_bin1289.fits sctable="SC_DATA" outfile=/scratch/kocevski/864854/ltcube_573436801_573696001_4FGL_J1555.7+1111_daily_bin1289.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/864854/ft2_4FGL_J1555.7+1111_daily_bin1289.fits
.....................!
real 14.19
user 13.69
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/864854/ft1_filtered_4FGL_J1555.7+1111_daily_bin1289.fits evtable="EVENTS" scfile=/scratch/kocevski/864854/ft2_4FGL_J1555.7+1111_daily_bin1289.fits sctable="SC_DATA" expcube=/scratch/kocevski/864854/ltcube_573436801_573696001_4FGL_J1555.7+1111_daily_bin1289.fits outfile=/scratch/kocevski/864854/expmap_573436801_573696001_4FGL_J1555.7+1111_daily_bin1289.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/864854/ltcube_573436801_573696001_4FGL_J1555.7+1111_daily_bin1289.fits
.....................!
real 192.66
user 186.07
sys 5.55

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/864854/ft1_filtered_4FGL_J1555.7+1111_daily_bin1289.fits scfile=/scratch/kocevski/864854/ft2_4FGL_J1555.7+1111_daily_bin1289.fits outfile=/scratch/kocevski/864854/cmap_573436801_573696001_4FGL_J1555.7+1111_daily_bin1289.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.58
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/864854/ft1_filtered_4FGL_J1555.7+1111_daily_bin1289.fits scfile=/scratch/kocevski/864854/ft2_4FGL_J1555.7+1111_daily_bin1289.fits outfile=/scratch/kocevski/864854/cmap_HighResolution_573436801_573696001_4FGL_J1555.7+1111_daily_bin1289.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/864854/ft1_filtered_4FGL_J1555.7+1111_daily_bin1289.fits evtable="EVENTS" scfile=/scratch/kocevski/864854/ft2_4FGL_J1555.7+1111_daily_bin1289.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/864854/Model_4FGL_J1555.7+1111_daily_bin1289.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/864854/ft1_filtered_4FGL_J1555.7+1111_daily_bin1289.fits.....................!
real 69.70
user 68.21
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.748       1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.926       1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.602       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.447       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10232E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.7799       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.2142       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.3681       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13397E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    20.780       1.0000         .10000E-03   10000.    
    12 'norm      '    7.3929       1.0000         .10000E-03   10000.    
    13 'norm      '    .17395E-01   1.0000         .10000E-03   10000.    
    14 'norm      '    .11408E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    25.421       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .70367       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.263       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.7925       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .96837       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0567       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=   8748.970     FROM MIGRAD    STATUS=CONVERGED    821 CALLS     2614 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.758        26.979        .82198E-04    .55323E-05
   2  Prefactor     20.915        25.804        .87559E-04   -.67517E-05
   3  Prefactor     23.609        7.5155        .82450E-04   -.79973E-05
   4  Prefactor     13.443        23.856        .10923E-03   -.29143E-05
   5  Prefactor     .10000E-03    13.129        .18142E-02** at limit **
   6  norm          1.7796        2.3223        .15539E-03    .82086E-04
   7  Prefactor     1.2103        3.4667        .28238E-03   -.21741E-04
   8  Prefactor     .10000E-03    13.165        .18142E-02** at limit **
   9  norm          2.3684        2.6352        .15546E-03   -.70202E-05
  10  Prefactor     .10000E-03    62.713        .18142E-02** at limit **
  11  norm          20.782        12.800        .87865E-04   -.59519E-04
  12  norm          7.3926        2.5171        .82267E-04   -.12189E-03
  13  norm          .10005E-03    20.421        .91982E-01** at limit **
  14  norm          .10000E-03    57.346        .18142E-02** at limit **
  15  Prefactor     25.408        15.599        .79451E-04   -.85854E-05
  16  Prefactor     .52915        43.528        .21372        .12274E-03
  17  Prefactor     14.250        38.919        .10606E-03   -.11791E-04
  18  Prefactor     .10000E-03    4.0390        .18142E-02** at limit **
  19  Prefactor     5.8010        8.2676        .16687E-03   -.83115E-05
  20  Normalizat    .96838        .29910        .40585E-03   -.44035E-04
  21  Prefactor     1.0568        .13350        .18020E-03   -.27444E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.7575
  Prefactor  = 20.9147
  Prefactor  = 23.6085
  Prefactor  = 13.4427
  Prefactor  = 0.0001
  norm       = 1.77958
  Prefactor  = 1.21027
  Prefactor  = 0.0001
  norm       = 2.36838
  Prefactor  = 0.0001
  norm       = 20.7816
  norm       = 7.39257
  norm       = 0.000100045
  norm       = 0.0001
  Prefactor  = 25.4077
  Prefactor  = 0.529151
  Prefactor  = 14.2503
  Prefactor  = 0.0001
  Prefactor  = 5.80097
  Normalizat = 0.968383
  Prefactor  = 1.0568
 **********
 **   18 **HESSE 
 **********

 FCN=   8748.970     FROM HESSE     STATUS=OK           315 CALLS     2929 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.758        26.974        .32879E-05   -1.4733    
   2  Prefactor     20.915        25.803        .35024E-05   -1.4793    
   3  Prefactor     23.609        7.5148        .32980E-05   -1.4736    
   4  Prefactor     13.443        23.853        .43692E-05   -1.4975    
   5  Prefactor     .10000E-03    13.130        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.7796        2.3220        .62157E-05   -1.5441    
   7  Prefactor     1.2103        3.4657        .11295E-04   -1.5488    
   8  Prefactor     .10000E-03    13.165        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.3684        2.6351        .62185E-05   -1.5400    
  10  Prefactor     .10000E-03    62.716        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          20.782        12.798        .35146E-05   -1.4796    
  12  norm          7.3926        2.5170        .32907E-05   -1.5164    
  13  norm          .10005E-03    18.424        .97936E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    57.347        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     25.408        15.599        .31780E-05   -1.4699    
  16  Prefactor     .52915        43.510        .21381       -1.5562    
  17  Prefactor     14.250        38.894        .42422E-05   -1.4953    
  18  Prefactor     .10000E-03    4.0392        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.8010        8.2672        .66750E-05   -1.5226    
  20  Normalizat    .96838        .29933        .16234E-04   -.94097    
  21  Prefactor     1.0568        .13360        .36040E-04   -.90860    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.73664e-10
Minuit parameter uncertainties:
  1  26.9879
  2  25.817
  3  7.51513
  4  23.8695
  5  6.37509e-06
  6  2.3221
  7  3.46627
  8  8.54412e-06
  9  2.63527
  10  6.58917e-05
  11  12.8002
  12  2.51705
  13  0.00182931
  14  1.61428e-07
  15  15.6011
  16  9.6028
  17  38.9635
  18  1.27402e-06
  19  8.26878
  20  0.299846
  21  0.133646
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  7.393e+00  2.517e+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.057e+00  1.336e-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:  9.684e-01  2.998e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 30.88
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 9.11e-08 +/- 3.10e-08
Energy Flux (Fixed Index): 2.07e-04 +/- 7.03e-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) = 8747.87565051
delta logL = 1.09439637704

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8747.86984345
delta logL = 1.10020344388

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.9352       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9798       1.0000          .0000       5.0000    
     3 'Normalizat'    .90490       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0662       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=   8747.870     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      230 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.9352        26.328        .38086E-02   -.84638E-04
   2  alpha         1.9798        3.4436        .20044        .66684E-04
   3  Normalizat    .90488        .20984        .94333E-01   -.46448E-04
   4  Prefactor     1.0662        .54085E-01    .39043E-01   -.16461E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.93522
  alpha      = 1.97979
  Normalizat = 0.904875
  Prefactor  = 1.06619
 **********
 **   18 **HESSE 
 **********

 FCN=   8747.870     FROM HESSE     STATUS=OK            31 CALLS      261 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.9352        2.5485        .70900E-04   -1.5181    
   2  alpha         1.9798        .30648        .75587E-02   -.20962    
   3  Normalizat    .90488        .28666        .41788E-03   -.96289    
   4  Prefactor     1.0662        .13115        .17920E-03   -.90555    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01392e-09
Minuit parameter uncertainties:
  1  2.54856
  2  0.307286
  3  0.287141
  4  0.131194
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/864854': 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) = 8747.86984344
delta logL = 1.10020344932

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  6.935e+00  2.549e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.980e+00  3.073e-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.066e+00  1.312e-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:  9.049e-01  2.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 33.04
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.98 +/- 0.31
Photon Flux (Free Index): 1.62e-07 +/- 7.13e-08
Energy Flux (Free Index): 1.22e-04 +/- 5.42e-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/864854/cmap_HighResolution_573436801_573696001_4FGL_J1555.7+1111_daily_bin1289.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.11e-08', energy_flux2='1.22e-04', photon_flux_error='3.10e-08', dlogl='1.10e+00', energy_flux='2.07e-04', photon_flux2='1.62e-07', job_status='DONE', time_completed='2021-09-12 22:31:35.309227', photon_index_error2='0.31', photon_index2='1.98', ts='30.88', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='5.42e-05', EG='0.97', time_epoch_completed='1631511095.31', return_code='0', job_id='864854', GAL2='1.07', EG2='0.90', return_code2='0', energy_flux_error='7.03e-05', photon_flux_error2='7.13e-08', ts2='33.04', photon_index='1.54' WHERE bin_id='1289' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:31:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 864854: <4FGL_J1555.7+1111_daily_bin1289> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin1289> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 12 22:15:30 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 22:17:14 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:17:14 2021
Terminated at Sun Sep 12 22:31:36 2021
Results reported at Sun Sep 12 22:31:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1289 238.931 11.1884 573436801 573696001 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 :                                   681.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             262.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            966 sec.

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

