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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1354
RA = 238.931, Dec = 11.1884
tmin = 590284801, tmax = 590544001
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='864950', job_status='RUN', time_executed='2021-09-12 22:20:46.767229', time_epoch_executed='1631510446.77' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1354'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/864950

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/864950/ft1_4FGL_J1555.7+1111_daily_bin1354.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/864950/ft2_4FGL_J1555.7+1111_daily_bin1354.fits


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

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

Done.
real 3.70
user 3.46
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/864950/ft1_filtered_4FGL_J1555.7+1111_daily_bin1354.fits" evtable="EVENTS" scfile=/scratch/kocevski/864950/ft2_4FGL_J1555.7+1111_daily_bin1354.fits sctable="SC_DATA" outfile=/scratch/kocevski/864950/ltcube_590284801_590544001_4FGL_J1555.7+1111_daily_bin1354.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/864950/ft2_4FGL_J1555.7+1111_daily_bin1354.fits
.....................!
real 13.62
user 13.18
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/864950/ft1_filtered_4FGL_J1555.7+1111_daily_bin1354.fits evtable="EVENTS" scfile=/scratch/kocevski/864950/ft2_4FGL_J1555.7+1111_daily_bin1354.fits sctable="SC_DATA" expcube=/scratch/kocevski/864950/ltcube_590284801_590544001_4FGL_J1555.7+1111_daily_bin1354.fits outfile=/scratch/kocevski/864950/expmap_590284801_590544001_4FGL_J1555.7+1111_daily_bin1354.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/864950/ltcube_590284801_590544001_4FGL_J1555.7+1111_daily_bin1354.fits
.....................!
real 191.96
user 185.63
sys 5.67

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/864950/ft1_filtered_4FGL_J1555.7+1111_daily_bin1354.fits scfile=/scratch/kocevski/864950/ft2_4FGL_J1555.7+1111_daily_bin1354.fits outfile=/scratch/kocevski/864950/cmap_590284801_590544001_4FGL_J1555.7+1111_daily_bin1354.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/864950/ft1_filtered_4FGL_J1555.7+1111_daily_bin1354.fits scfile=/scratch/kocevski/864950/ft2_4FGL_J1555.7+1111_daily_bin1354.fits outfile=/scratch/kocevski/864950/cmap_HighResolution_590284801_590544001_4FGL_J1555.7+1111_daily_bin1354.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97304E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.462       1.0000         .10000E-03   10000.    
     5 'Prefactor '    28.746       1.0000         .10000E-03   10000.    
     6 'norm      '    10.802       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10365E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.6387       1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.797       1.0000         .10000E-03   10000.    
    11 'norm      '    9.5526       1.0000         .10000E-03   10000.    
    12 'norm      '    5.1889       1.0000         .10000E-03   10000.    
    13 'norm      '    30.130       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.776       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14582E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.700       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.5802       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2174       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .85668       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=   8953.304     FROM MIGRAD    STATUS=CONVERGED    465 CALLS     1926 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10010E-03    262.83        .94984E-02** at limit **
   2  Prefactor     .10000E-03    15.551        .90712E-02** at limit **
   3  Prefactor     .10000E-03    2.9403        .90712E-02** at limit **
   4  Prefactor     10.463        14.407        .30968E-02   -.26029E-03
   5  Prefactor     28.744        22.825        .18681E-02   -.31002E-03
   6  norm          10.802        3.5809        .30476E-02   -.19570E-04
   7  Prefactor     .10000E-03    1.9866        .42895E-01** at limit **
   8  Prefactor     .10000E-03    9.8011        .90712E-02** at limit **
   9  norm          1.6387        2.6726        .82532E-02    .83446E-03
  10  Prefactor     19.787        29.492        .22504E-02   -.55041E-03
  11  norm          9.5537        10.053        .32415E-02    .14036E-02
  12  norm          5.1890        1.9419        .44119E-02    .60861E-03
  13  norm          30.133        18.133        .18248E-02   -.36308E-03
  14  norm          .10000E-03    38.376        .90712E-02** at limit **
  15  Prefactor     .10000E-03    11.350        .90712E-02** at limit **
  16  Prefactor     12.779        45.597        .28017E-02   -.39523E-04
  17  Prefactor     .10000E-03    67.956        .90712E-02** at limit **
  18  Prefactor     17.708        13.052        .23800E-02    .75102E-03
  19  Prefactor     1.5823        4.9151        .84469E-02    .11594E-02
  20  Normalizat    1.2174        .21957        .78691E-01   -.99090E-05
  21  Prefactor     .85666        .97492E-01    .44450E-01    .18212E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100096
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.4626
  Prefactor  = 28.744
  norm       = 10.8021
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.63866
  Prefactor  = 19.7872
  norm       = 9.5537
  norm       = 5.18895
  norm       = 30.1331
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 12.779
  Prefactor  = 0.000100001
  Prefactor  = 17.7084
  Prefactor  = 1.58232
  Normalizat = 1.21737
  Prefactor  = 0.856663
 **********
 **   18 **HESSE 
 **********

 FCN=   8953.304     FROM HESSE     STATUS=OK           313 CALLS     2239 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10010E-03    273.43        .37994E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.9985        .15832E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.463        14.405        .12387E-03   -1.5061    
   5  Prefactor     28.744        22.762        .74724E-04   -1.4635    
   6  norm          10.802        3.5787        .98014E-04   -1.5051    
   7  Prefactor     .10000E-03    4.0952        .25586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.8093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.6387        2.6391        .18901E-03   -1.5452    
  10  Prefactor     19.787        29.488        .90017E-04   -1.4818    
  11  norm          9.5537        10.038        .12966E-03   -1.5090    
  12  norm          5.1890        1.9414        .77200E-04   -1.5252    
  13  norm          30.133        18.155        .72992E-04   -1.4610    
  14  norm          .10000E-03    38.382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.779        45.596        .11207E-03   -1.4993    
  17  Prefactor     .10000E-03    68.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.708        12.965        .95199E-04   -1.4866    
  19  Prefactor     1.5823        4.8516        .33787E-03   -1.5456    
  20  Normalizat    1.2174        .26342        .34832E-03   -.86068    
  21  Prefactor     .85666        .11732        .18319E-03   -.97672    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.82046e-09
Minuit parameter uncertainties:
  1  0.0102902
  2  6.42628e-06
  3  1.31864e-05
  4  14.4098
  5  22.7686
  6  3.57882
  7  2.64463e-05
  8  7.9795e-05
  9  2.6393
  10  29.5101
  11  10.0393
  12  1.9414
  13  18.1582
  14  0.000445299
  15  0.000127103
  16  45.7212
  17  0.000473208
  18  12.9666
  19  4.85279
  20  0.263704
  21  0.117359
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  5.189e+00  1.941e+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:  8.567e-01  1.174e-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.217e+00  2.637e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 47.35
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 6.39e-08 +/- 2.39e-08
Energy Flux (Fixed Index): 1.45e-04 +/- 5.42e-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) = 8953.22467824
delta logL = 0.0793098777649

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8953.20051197
delta logL = 0.103476148146

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7788       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3862       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2258       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85690       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=   8953.201     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      202 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7788        1.8313        .46011E-02    .85964E-03
   2  alpha         1.3862        .26996        .27012        .17084E-04
   3  Normalizat    1.2258        .21481        .78497E-01    .60395E-03
   4  Prefactor     .85692        .96788E-01    .44453E-01    .12128E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 4.77878
  alpha      = 1.38617
  Normalizat = 1.22575
  Prefactor  = 0.856919
 **********
 **   18 **HESSE 
 **********

 FCN=   8953.201     FROM HESSE     STATUS=OK            29 CALLS      231 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7788        2.1408        .76896E-04   -1.5271    
   2  alpha         1.3862        .34005        .11005E-01   -.46177    
   3  Normalizat    1.2258        .25794        .34746E-03   -.85811    
   4  Prefactor     .85692        .11669        .18326E-03   -.97663    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.1134e-10
Minuit parameter uncertainties:
  1  2.14088
  2  0.341369
  3  0.258211
  4  0.116728
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/864950': 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) = 8953.20051196
delta logL = 0.103476155924

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  4.779e+00  2.141e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.386e+00  3.414e-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:  8.569e-01  1.167e-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.226e+00  2.582e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 47.57
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.39 +/- 0.34
Photon Flux (Free Index): 5.09e-08 +/- 3.19e-08
Energy Flux (Free Index): 1.79e-04 +/- 1.09e-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/864950/cmap_HighResolution_590284801_590544001_4FGL_J1555.7+1111_daily_bin1354.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.39e-08', energy_flux2='1.79e-04', photon_flux_error='2.39e-08', dlogl='1.03e-01', energy_flux='1.45e-04', photon_flux2='5.09e-08', job_status='DONE', time_completed='2021-09-12 22:31:08.892842', photon_index_error2='0.34', photon_index2='1.39', ts='47.35', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.09e-04', EG='1.22', time_epoch_completed='1631511068.89', return_code='0', job_id='864950', GAL2='0.86', EG2='1.23', return_code2='0', energy_flux_error='5.42e-05', photon_flux_error2='3.19e-08', ts2='47.57', photon_index='1.54' WHERE bin_id='1354' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:31:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 864950: <4FGL_J1555.7+1111_daily_bin1354> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1354 238.931 11.1884 590284801 590544001 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 :                                   612.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             283.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            933 sec.

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

