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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1325
RA = 238.931, Dec = 11.1884
tmin = 582768001, tmax = 583027201
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='864907', job_status='RUN', time_executed='2021-09-12 22:21:17.611637', time_epoch_executed='1631510477.61' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1325'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/864907

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/864907/ft1_4FGL_J1555.7+1111_daily_bin1325.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/864907/ft2_4FGL_J1555.7+1111_daily_bin1325.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/864907/ft1_4FGL_J1555.7+1111_daily_bin1325.fits outfile=/scratch/kocevski/864907/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1325.fits ra=238.931 dec=11.1884 rad=12.0 tmin=582768001.0 tmax=583027201.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.56
user 3.35
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/864907/ft1_filtered_4FGL_J1555.7+1111_daily_bin1325.fits" evtable="EVENTS" scfile=/scratch/kocevski/864907/ft2_4FGL_J1555.7+1111_daily_bin1325.fits sctable="SC_DATA" outfile=/scratch/kocevski/864907/ltcube_582768001_583027201_4FGL_J1555.7+1111_daily_bin1325.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/864907/ft2_4FGL_J1555.7+1111_daily_bin1325.fits
.....................!
real 17.32
user 16.79
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/864907/ft1_filtered_4FGL_J1555.7+1111_daily_bin1325.fits evtable="EVENTS" scfile=/scratch/kocevski/864907/ft2_4FGL_J1555.7+1111_daily_bin1325.fits sctable="SC_DATA" expcube=/scratch/kocevski/864907/ltcube_582768001_583027201_4FGL_J1555.7+1111_daily_bin1325.fits outfile=/scratch/kocevski/864907/expmap_582768001_583027201_4FGL_J1555.7+1111_daily_bin1325.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/864907/ltcube_582768001_583027201_4FGL_J1555.7+1111_daily_bin1325.fits
.....................!
real 192.62
user 186.24
sys 5.73

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/864907/ft1_filtered_4FGL_J1555.7+1111_daily_bin1325.fits scfile=/scratch/kocevski/864907/ft2_4FGL_J1555.7+1111_daily_bin1325.fits outfile=/scratch/kocevski/864907/cmap_582768001_583027201_4FGL_J1555.7+1111_daily_bin1325.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/864907/ft1_filtered_4FGL_J1555.7+1111_daily_bin1325.fits scfile=/scratch/kocevski/864907/ft2_4FGL_J1555.7+1111_daily_bin1325.fits outfile=/scratch/kocevski/864907/cmap_HighResolution_582768001_583027201_4FGL_J1555.7+1111_daily_bin1325.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/864907/ft1_filtered_4FGL_J1555.7+1111_daily_bin1325.fits evtable="EVENTS" scfile=/scratch/kocevski/864907/ft2_4FGL_J1555.7+1111_daily_bin1325.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/864907/Model_4FGL_J1555.7+1111_daily_bin1325.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/864907/ft1_filtered_4FGL_J1555.7+1111_daily_bin1325.fits.....................!
real 62.83
user 61.42
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.961       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.0628       1.0000         .10000E-03   10000.    
     4 'Prefactor '    45.864       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .18891E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    6.5644       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.9112       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.1111       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.6509       1.0000         .10000E-03   10000.    
    12 'norm      '    5.9056       1.0000         .10000E-03   10000.    
    13 'norm      '    4.2699       1.0000         .10000E-03   10000.    
    14 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.190       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    27.922       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.8964       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0596       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1197       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=   8306.475     FROM MIGRAD    STATUS=CONVERGED    458 CALLS     2296 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.120        .11904E-07** at limit **
   2  Prefactor     11.960        30.178        .61709E-06    .35516E-06
   3  Prefactor     2.0630        6.2918        .84253E-06   -.19055E-03
   4  Prefactor     45.866        33.174       -.31572E-06   -.76992E-04
   5  Prefactor     .10018E-03    26.970       -.40790E-06** at limit **
   6  norm          6.5644        2.9342        .36612E-07    .18662E-04
   7  Prefactor     3.9105        4.1251       -.11346E-08   -.10978E-03
   8  Prefactor     .10000E-03    12.974        .49082E-07** at limit **
   9  norm          3.1103        3.1334       -.35318E-07   -.10897E-04
  10  Prefactor     .10001E-03    31.989        .62092E-05** at limit **
  11  norm          5.6513        8.9408       -.27696E-06   -.14383E-03
  12  norm          5.9056        2.2792       -.16646E-07   -.34448E-04
  13  norm          4.2702        11.611        .48420E-05   -.61270E-03
  14  norm          .10000E-03    56.066        .32463E-06** at limit **
  15  Prefactor     10.190        14.249        .43692E-06    .22118E-04
  16  Prefactor     .10001E-03    32.297       -.65130E-05** at limit **
  17  Prefactor     27.916        22.327        .23970E-05    .42298E-03
  18  Prefactor     4.8966        8.5261       -.24413E-06   -.10213E-03
  19  Prefactor     .10000E-03    2.0355       -.57315E-08** at limit **
  20  Normalizat    1.0596        .26078       -.69968E-06   -.35237E-04
  21  Prefactor     1.1197        .11642       -.28911E-06   -.31881E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 11.9604
  Prefactor  = 2.06299
  Prefactor  = 45.866
  Prefactor  = 0.000100176
  norm       = 6.56443
  Prefactor  = 3.9105
  Prefactor  = 0.0001
  norm       = 3.11031
  Prefactor  = 0.000100011
  norm       = 5.65131
  norm       = 5.90557
  norm       = 4.2702
  norm       = 0.0001
  Prefactor  = 10.1902
  Prefactor  = 0.000100012
  Prefactor  = 27.9158
  Prefactor  = 4.89659
  Prefactor  = 0.0001
  Normalizat = 1.05962
  Prefactor  = 1.11971
 **********
 **   18 **HESSE 
 **********

 FCN=   8306.475     FROM HESSE     STATUS=OK           329 CALLS     2625 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.960        30.326        .11583E-03   -1.5016    
   3  Prefactor     2.0630        6.3095        .28770E-03   -1.5421    
   4  Prefactor     45.866        33.340        .59203E-04   -1.4352    
   5  Prefactor     .10018E-03    27.030        .13709       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.5644        2.9323        .10039E-03   -1.5195    
   7  Prefactor     3.9105        4.1023        .17810E-03   -1.5312    
   8  Prefactor     .10000E-03    12.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.1103        3.1320        .15503E-03   -1.5355    
  10  Prefactor     .10001E-03    33.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.6513        8.9385        .16899E-03   -1.5232    
  12  norm          5.9056        2.2791        .81861E-04   -1.5222    
  13  norm          4.2702        13.353        .97489E-03   -1.5295    
  14  norm          .10000E-03    56.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.190        14.258        .12553E-03   -1.5069    
  16  Prefactor     .10001E-03    34.098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     27.916        22.956        .75817E-04   -1.4651    
  18  Prefactor     4.8966        8.5456        .18177E-03   -1.5265    
  19  Prefactor     .10000E-03    2.0374        .12697E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0596        .30501        .39664E-03   -.91059    
  21  Prefactor     1.1197        .13674        .18109E-03   -.88839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74176e-09
Minuit parameter uncertainties:
  1  2.40312e-06
  2  30.3651
  3  6.31155
  4  33.3537
  5  0.00436939
  6  2.93241
  7  4.10256
  8  1.0942e-05
  9  3.13217
  10  0.00121163
  11  8.94059
  12  2.27912
  13  13.3621
  14  8.34767e-05
  15  14.2626
  16  0.00127476
  17  22.9628
  18  8.54769
  19  1.10662e-08
  20  0.305512
  21  0.136785
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  5.906e+00  2.279e+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.120e+00  1.368e-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.060e+00  3.055e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 33.81
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 7.28e-08 +/- 2.81e-08
Energy Flux (Fixed Index): 1.65e-04 +/- 6.37e-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) = 8306.45683395
delta logL = 0.0185374726279

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8306.4558034
delta logL = 0.0195680163724

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9751       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6022       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0548       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1199       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=   8306.456     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      193 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9751        5.4458        .41067E-02    .15492E-02
   2  alpha         1.6022        .64866        .25961        .11240E-04
   3  Normalizat    1.0548        .25835        .89725E-01    .28033E-04
   4  Prefactor     1.1199        .11673        .36875E-01   -.19744E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.97508
  alpha      = 1.60219
  Normalizat = 1.05483
  Prefactor  = 1.11994
 **********
 **   18 **HESSE 
 **********

 FCN=   8306.456     FROM HESSE     STATUS=OK            31 CALLS      224 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9751        2.2400        .80895E-04   -1.5219    
   2  alpha         1.6022        .30558        .99892E-02   -.36733    
   3  Normalizat    1.0548        .28581        .39738E-03   -.91216    
   4  Prefactor     1.1199        .13431        .18104E-03   -.88832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49114e-10
Minuit parameter uncertainties:
  1  2.24002
  2  0.306464
  3  0.286232
  4  0.134347
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/864907': 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) = 8306.45580333
delta logL = 0.0195680897341

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  5.975e+00  2.240e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.602e+00  3.065e-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.120e+00  1.343e-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.055e+00  2.862e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 33.84
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.60 +/- 0.31
Photon Flux (Free Index): 7.91e-08 +/- 4.32e-08
Energy Flux (Free Index): 1.51e-04 +/- 8.80e-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/864907/cmap_HighResolution_582768001_583027201_4FGL_J1555.7+1111_daily_bin1325.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.28e-08', energy_flux2='1.51e-04', photon_flux_error='2.81e-08', dlogl='1.96e-02', energy_flux='1.65e-04', photon_flux2='7.91e-08', job_status='DONE', time_completed='2021-09-12 22:32:02.073010', photon_index_error2='0.31', photon_index2='1.60', ts='33.81', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='8.80e-05', EG='1.06', time_epoch_completed='1631511122.07', return_code='0', job_id='864907', GAL2='1.12', EG2='1.05', return_code2='0', energy_flux_error='6.37e-05', photon_flux_error2='4.32e-08', ts2='33.84', photon_index='1.54' WHERE bin_id='1325' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:32:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 864907: <4FGL_J1555.7+1111_daily_bin1325> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1325 238.931 11.1884 582768001 583027201 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 :                                   633.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   876 sec.
    Turnaround time :                            989 sec.

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

