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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1461
RA = 238.931, Dec = 11.1884
tmin = 618019201, tmax = 618278401
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='866208', job_status='RUN', time_executed='2021-09-12 22:23:15.778489', time_epoch_executed='1631510595.78' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1461'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866208

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866208/ft1_4FGL_J1555.7+1111_daily_bin1461.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866208/ft2_4FGL_J1555.7+1111_daily_bin1461.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866208/ft1_4FGL_J1555.7+1111_daily_bin1461.fits outfile=/scratch/kocevski/866208/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1461.fits ra=238.931 dec=11.1884 rad=12.0 tmin=618019201.0 tmax=618278401.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.19
user 4.90
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866208/ft1_filtered_4FGL_J1555.7+1111_daily_bin1461.fits" evtable="EVENTS" scfile=/scratch/kocevski/866208/ft2_4FGL_J1555.7+1111_daily_bin1461.fits sctable="SC_DATA" outfile=/scratch/kocevski/866208/ltcube_618019201_618278401_4FGL_J1555.7+1111_daily_bin1461.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/866208/ft2_4FGL_J1555.7+1111_daily_bin1461.fits
.....................!
real 13.15
user 12.63
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866208/ft1_filtered_4FGL_J1555.7+1111_daily_bin1461.fits evtable="EVENTS" scfile=/scratch/kocevski/866208/ft2_4FGL_J1555.7+1111_daily_bin1461.fits sctable="SC_DATA" expcube=/scratch/kocevski/866208/ltcube_618019201_618278401_4FGL_J1555.7+1111_daily_bin1461.fits outfile=/scratch/kocevski/866208/expmap_618019201_618278401_4FGL_J1555.7+1111_daily_bin1461.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/866208/ltcube_618019201_618278401_4FGL_J1555.7+1111_daily_bin1461.fits
.....................!
real 192.23
user 186.60
sys 5.12

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/866208/ft1_filtered_4FGL_J1555.7+1111_daily_bin1461.fits scfile=/scratch/kocevski/866208/ft2_4FGL_J1555.7+1111_daily_bin1461.fits outfile=/scratch/kocevski/866208/cmap_618019201_618278401_4FGL_J1555.7+1111_daily_bin1461.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.55
user 0.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .29225E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.324       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.3109       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.5111       1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.845       1.0000         .10000E-03   10000.    
     9 'norm      '    2.8246       1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.274       1.0000         .10000E-03   10000.    
    11 'norm      '    2.8415       1.0000         .10000E-03   10000.    
    12 'norm      '    2.4418       1.0000         .10000E-03   10000.    
    13 'norm      '    6.4644       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.2689       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .67920E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .97507       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0573       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=   8197.930     FROM MIGRAD    STATUS=CONVERGED    455 CALLS     2217 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.717        .69381E-05** at limit **
   2  Prefactor     .10121E-03    118.59       -.29242E-04** at limit **
   3  Prefactor     .10000E-03    1.9739        .24732E-07** at limit **
   4  Prefactor     11.336        29.896       -.41823E-05   -.17414E-04
   5  Prefactor     .10000E-03    6.0726        .37658E-07** at limit **
   6  norm          3.3113        2.6551       -.50826E-07    .19508E-03
   7  Prefactor     1.5093        3.2631       -.23881E-05    .54674E-03
   8  Prefactor     22.847        35.909        .54178E-06    .43699E-04
   9  norm          2.8243        2.4673        .10274E-06    .20581E-03
  10  Prefactor     33.272        45.222        .10059E-05    .47195E-04
  11  norm          2.8427        10.816       -.16346E-06    .24376E-03
  12  norm          2.4420        1.5287       -.31430E-06    .84483E-03
  13  norm          6.4649        15.112       -.52352E-06    .92437E-04
  14  norm          .10001E-03    47.385       -.11799E-04** at limit **
  15  Prefactor     6.2657        17.765       -.18545E-05    .18975E-04
  16  Prefactor     .10000E-03    37.472        .41546E-05** at limit **
  17  Prefactor     .10000E-03    102.27        .56492E-05** at limit **
  18  Prefactor     .10004E-03    30.859        .13587E-04** at limit **
  19  Prefactor     .10000E-03    8.7126        .85964E-07** at limit **
  20  Normalizat    .97495        .24050        .18325E-05    .56134E-03
  21  Prefactor     1.0574        .10592        .94368E-06    .87198E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000101207
  Prefactor  = 0.0001
  Prefactor  = 11.3364
  Prefactor  = 0.0001
  norm       = 3.31127
  Prefactor  = 1.50932
  Prefactor  = 22.8471
  norm       = 2.82433
  Prefactor  = 33.2715
  norm       = 2.84275
  norm       = 2.44196
  norm       = 6.46489
  norm       = 0.000100007
  Prefactor  = 6.26566
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100044
  Prefactor  = 0.0001
  Normalizat = 0.974953
  Prefactor  = 1.05744
 **********
 **   18 **HESSE 
 **********

 FCN=   8197.930     FROM HESSE     STATUS=OK           323 CALLS     2540 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    38.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10121E-03    32.409        .13504       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.0244        .24832E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.336        29.941        .11905E-03   -1.5034    
   5  Prefactor     .10000E-03    6.0747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.3113        2.6391        .12442E-03   -1.5344    
   7  Prefactor     1.5093        3.3278        .23209E-03   -1.5462    
   8  Prefactor     22.847        35.829        .83805E-04   -1.4752    
   9  norm          2.8243        2.4653        .12847E-03   -1.5372    
  10  Prefactor     33.272        45.205        .69468E-04   -1.4554    
  11  norm          2.8427        10.832        .24122E-03   -1.5371    
  12  norm          2.4420        1.5221        .42446E-03   -1.5395    
  13  norm          6.4649        15.114        .15785E-03   -1.5199    
  14  norm          .10001E-03    48.811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.2657        17.792        .16032E-03   -1.5207    
  16  Prefactor     .10000E-03    37.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    103.83        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10004E-03    41.358        .42368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.8643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .97495        .28426        .38294E-03   -.93874    
  21  Prefactor     1.0574        .12477        .16969E-03   -.90839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27401e-09
Minuit parameter uncertainties:
  1  0.000225039
  2  0.012518
  3  2.12926e-06
  4  29.9808
  5  1.88559e-06
  6  2.63919
  7  3.32818
  8  35.8631
  9  2.46539
  10  45.2515
  11  10.8395
  12  1.52208
  13  15.1225
  14  0.00113342
  15  17.8075
  16  0.00031163
  17  0.000233947
  18  0.00268897
  19  2.12559e-05
  20  0.284698
  21  0.124804
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  2.442e+00  1.522e+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.248e-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.750e-01  2.847e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.25
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 3.01e-08 +/- 1.88e-08
Energy Flux (Fixed Index): 6.82e-05 +/- 4.25e-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) = 8196.85037025
delta logL = 1.0798426067

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8196.84231187
delta logL = 1.08790098734

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0685       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2466       1.0000          .0000       5.0000    
     3 'Normalizat'    .92712       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0653       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=   8196.842     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      272 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0687        1.4593        .28725E-04    .55409E-04
   2  alpha         2.2465        .49311        .93528E-02   -.26370E-04
   3  Normalizat    .92712        .27118        .39140E-03   -.13780E-03
   4  Prefactor     1.0653        .12373        .16895E-03   -.30406E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.06866
  alpha      = 2.24655
  Normalizat = 0.927116
  Prefactor  = 1.06535
 **********
 **   18 **HESSE 
 **********

 FCN=   8196.842     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0687        1.3949        .11490E-05   -1.5420    
   2  alpha         2.2465        .47107        .37411E-03   -.10155    
   3  Normalizat    .92712        .27087        .15656E-04   -.95514    
   4  Prefactor     1.0653        .12372        .33791E-04   -.90582    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.25364e-11
Minuit parameter uncertainties:
  1  1.39496
  2  0.473937
  3  0.271272
  4  0.123753
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866208': 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) = 8196.84231164
delta logL = 1.08790121785

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  2.069e+00  1.395e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  2.247e+00  4.739e-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.065e+00  1.238e-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.271e-01  2.713e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.41
Ra Dec: 238.931 11.188
Photon Index (Free Index): 2.25 +/- 0.47
Photon Flux (Free Index): 7.94e-08 +/- 5.58e-08
Energy Flux (Free Index): 3.65e-05 +/- 2.06e-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/866208/cmap_HighResolution_618019201_618278401_4FGL_J1555.7+1111_daily_bin1461.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.01e-08', energy_flux2='3.65e-05', photon_flux_error='1.88e-08', dlogl='1.09e+00', energy_flux='6.82e-05', photon_flux2='7.94e-08', job_status='DONE', time_completed='2021-09-12 22:34:00.965018', photon_index_error2='0.47', photon_index2='2.25', ts='6.25', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='2.06e-05', EG='0.97', time_epoch_completed='1631511240.97', return_code='0', job_id='866208', GAL2='1.07', EG2='0.93', return_code2='0', energy_flux_error='4.25e-05', photon_flux_error2='5.58e-08', ts2='8.41', photon_index='1.54' WHERE bin_id='1461' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:34:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 866208: <4FGL_J1555.7+1111_daily_bin1461> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin1461> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 22:20:24 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 22:20:52 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 22:20:52 2021
Terminated at Sun Sep 12 22:34:01 2021
Results reported at Sun Sep 12 22:34:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1461 238.931 11.1884 618019201 618278401 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 :                                   620.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            817 sec.

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

