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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1263
RA = 238.931, Dec = 11.1884
tmin = 566697601, tmax = 566956801
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='864817', job_status='RUN', time_executed='2021-09-12 22:17:11.166443', time_epoch_executed='1631510231.17' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1263'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/864817

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/864817/ft1_4FGL_J1555.7+1111_daily_bin1263.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/864817/ft2_4FGL_J1555.7+1111_daily_bin1263.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/864817/ft1_4FGL_J1555.7+1111_daily_bin1263.fits outfile=/scratch/kocevski/864817/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1263.fits ra=238.931 dec=11.1884 rad=12.0 tmin=566697601.0 tmax=566956801.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.05
user 1.83
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/864817/ft1_filtered_4FGL_J1555.7+1111_daily_bin1263.fits" evtable="EVENTS" scfile=/scratch/kocevski/864817/ft2_4FGL_J1555.7+1111_daily_bin1263.fits sctable="SC_DATA" outfile=/scratch/kocevski/864817/ltcube_566697601_566956801_4FGL_J1555.7+1111_daily_bin1263.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/864817/ft2_4FGL_J1555.7+1111_daily_bin1263.fits
.....................!
real 15.59
user 15.24
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/864817/ft1_filtered_4FGL_J1555.7+1111_daily_bin1263.fits evtable="EVENTS" scfile=/scratch/kocevski/864817/ft2_4FGL_J1555.7+1111_daily_bin1263.fits sctable="SC_DATA" expcube=/scratch/kocevski/864817/ltcube_566697601_566956801_4FGL_J1555.7+1111_daily_bin1263.fits outfile=/scratch/kocevski/864817/expmap_566697601_566956801_4FGL_J1555.7+1111_daily_bin1263.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/864817/ltcube_566697601_566956801_4FGL_J1555.7+1111_daily_bin1263.fits
.....................!
real 193.06
user 187.68
sys 4.88

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/864817/ft1_filtered_4FGL_J1555.7+1111_daily_bin1263.fits scfile=/scratch/kocevski/864817/ft2_4FGL_J1555.7+1111_daily_bin1263.fits outfile=/scratch/kocevski/864817/cmap_566697601_566956801_4FGL_J1555.7+1111_daily_bin1263.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/864817/ft1_filtered_4FGL_J1555.7+1111_daily_bin1263.fits scfile=/scratch/kocevski/864817/ft2_4FGL_J1555.7+1111_daily_bin1263.fits outfile=/scratch/kocevski/864817/cmap_HighResolution_566697601_566956801_4FGL_J1555.7+1111_daily_bin1263.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10315E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    47.367       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .50896E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.0945       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.921       1.0000         .10000E-03   10000.    
     6 'norm      '    .43364       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .98996E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    .83050       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10604E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10456E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.6341       1.0000         .10000E-03   10000.    
    13 'norm      '    28.568       1.0000         .10000E-03   10000.    
    14 'norm      '    52.098       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.740       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.3564       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.6138       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1225       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0679       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=   12734.15     FROM MIGRAD    STATUS=CONVERGED    465 CALLS     2668 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    29.846       -.11098E-05** at limit **
   2  Prefactor     47.371        27.085       -.96856E-06   -.10851E-04
   3  Prefactor     .10000E-03    1.8138       -.32942E-07** at limit **
   4  Prefactor     7.0923        21.844        .60741E-05   -.46177E-04
   5  Prefactor     14.920        15.393        .49375E-06    .29562E-04
   6  norm          .43322        1.1258       -.65765E-06   -.20138E-02
   7  Prefactor     .10000E-03    1.7343        .74270E-07** at limit **
   8  Prefactor     .10112E-03    16.512        .76432E-06** at limit **
   9  norm          .83042        1.9710       -.64549E-06   -.20754E-02
  10  Prefactor     .10000E-03    40.785        .15822E-05** at limit **
  11  norm          .10000E-03    3.0529        .44961E-06** at limit **
  12  norm          6.6341        1.8021        .35219E-07   -.89432E-04
  13  norm          28.563        13.946        .76314E-07   -.67092E-04
  14  norm          52.041        69.007       -.54673E-04   -.45795E-05
  15  Prefactor     14.737        10.862        .84268E-06   -.59136E-04
  16  Prefactor     5.4200        106.04        .11080E-03   -.82551E-06
  17  Prefactor     .10000E-03    7.1227        .17202E-06** at limit **
  18  Prefactor     4.6141        6.1723        .74811E-05   -.23420E-03
  19  Prefactor     .10000E-03    1.9428       -.10964E-06** at limit **
  20  Normalizat    1.1227        .20416       -.37402E-06   -.12623E-03
  21  Prefactor     1.0678        .92299E-01   -.84706E-06    .34262E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 47.371
  Prefactor  = 0.000100003
  Prefactor  = 7.09232
  Prefactor  = 14.9203
  norm       = 0.433225
  Prefactor  = 0.0001
  Prefactor  = 0.000101117
  norm       = 0.830418
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.63415
  norm       = 28.5632
  norm       = 52.0413
  Prefactor  = 14.7371
  Prefactor  = 5.41999
  Prefactor  = 0.0001
  Prefactor  = 4.61413
  Prefactor  = 0.0001
  Normalizat = 1.12266
  Prefactor  = 1.06781
 **********
 **   18 **HESSE 
 **********

 FCN=   12734.15     FROM HESSE     STATUS=OK           339 CALLS     3007 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    29.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     47.371        27.344        .58261E-04   -1.4330    
   3  Prefactor     .10000E-03    9.1740        .29491E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.0923        21.822        .15061E-03   -1.5175    
   5  Prefactor     14.920        15.337        .10369E-03   -1.4935    
   6  norm          .43322        1.2433        .18191E-02   -1.5576    
   7  Prefactor     .10000E-03    1.7796        .29003E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10112E-03    16.805        .12966       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .83042        1.7277        .23426E-02   -1.5526    
  10  Prefactor     .10000E-03    40.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    17.351        .36910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.6341        1.7867        .75898E-04   -1.5193    
  13  norm          28.563        13.934        .74957E-04   -1.4639    
  14  norm          52.041        68.981        .27783E-03   -1.4264    
  15  Prefactor     14.737        10.870        .10433E-03   -1.4940    
  16  Prefactor     5.4200        105.16        .17364E-03   -1.5242    
  17  Prefactor     .10000E-03    7.1270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.6141        6.1458        .18738E-03   -1.5278    
  19  Prefactor     .10000E-03    1.9481        .15359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1227        .24176        .37643E-03   -.89027    
  21  Prefactor     1.0678        .11033        .18218E-03   -.90502    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85463e-09
Minuit parameter uncertainties:
  1  3.63776e-05
  2  27.3515
  3  0.000309336
  4  21.8464
  5  15.3409
  6  1.24334
  7  7.54999e-06
  8  0.00866692
  9  1.72781
  10  4.65616e-05
  11  6.00623e-05
  12  1.78672
  13  13.9357
  14  69.0875
  15  10.8713
  16  47.845
  17  2.25549e-05
  18  6.14664
  19  1.65691e-05
  20  0.241996
  21  0.11035
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  6.634e+00  1.787e+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.068e+00  1.103e-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.123e+00  2.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 75.11
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 8.18e-08 +/- 2.20e-08
Energy Flux (Fixed Index): 1.85e-04 +/- 4.99e-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) = 12734.096659
delta logL = 0.0577820236867

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12734.0898216
delta logL = 0.064619346711

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.5251       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4648       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1274       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0680       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=   12734.09     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      203 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.5251        1.9027        .39277E-02   -.52497E-02
   2  alpha         1.4647        .20745        .22482        .63300E-05
   3  Normalizat    1.1274        .19190        .84866E-01    .54373E-04
   4  Prefactor     1.0680        .90944E-01    .38954E-01    .35456E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.52512
  alpha      = 1.46471
  Normalizat = 1.12741
  Prefactor  = 1.068
 **********
 **   18 **HESSE 
 **********

 FCN=   12734.09     FROM HESSE     STATUS=OK            29 CALLS      232 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.5251        1.8204        .76350E-04   -1.5197    
   2  alpha         1.4647        .21172        .92659E-02   -.42697    
   3  Normalizat    1.1274        .22580        .37577E-03   -.88876    
   4  Prefactor     1.0680        .10760        .18220E-03   -.90496    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31359e-09
Minuit parameter uncertainties:
  1  1.82042
  2  0.212022
  3  0.22599
  4  0.107619
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/864817': 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) = 12734.0898215
delta logL = 0.0646195204718

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  6.525e+00  1.820e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.465e+00  2.120e-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.068e+00  1.076e-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.127e+00  2.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 75.22
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.46 +/- 0.21
Photon Flux (Free Index): 7.43e-08 +/- 2.81e-08
Energy Flux (Free Index): 2.09e-04 +/- 9.11e-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/864817/cmap_HighResolution_566697601_566956801_4FGL_J1555.7+1111_daily_bin1263.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.18e-08', energy_flux2='2.09e-04', photon_flux_error='2.20e-08', dlogl='6.46e-02', energy_flux='1.85e-04', photon_flux2='7.43e-08', job_status='DONE', time_completed='2021-09-12 22:31:21.778250', photon_index_error2='0.21', photon_index2='1.46', ts='75.11', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='9.11e-05', EG='1.12', time_epoch_completed='1631511081.78', return_code='0', job_id='864817', GAL2='1.07', EG2='1.13', return_code2='0', energy_flux_error='4.99e-05', photon_flux_error2='2.81e-08', ts2='75.22', photon_index='1.54' WHERE bin_id='1263' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:31:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 864817: <4FGL_J1555.7+1111_daily_bin1263> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1263 238.931 11.1884 566697601 566956801 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 :                                   844.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             333.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   860 sec.
    Turnaround time :                            955 sec.

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

