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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin812
RA = 238.931, Dec = 11.1884
tmin = 449798401, tmax = 450057601
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='859787', job_status='RUN', time_executed='2021-09-12 22:02:57.517406', time_epoch_executed='1631509377.52' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='812'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/859787

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/859787/ft1_4FGL_J1555.7+1111_daily_bin812.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/859787/ft2_4FGL_J1555.7+1111_daily_bin812.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/859787/ft1_4FGL_J1555.7+1111_daily_bin812.fits outfile=/scratch/kocevski/859787/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin812.fits ra=238.931 dec=11.1884 rad=12.0 tmin=449798401.0 tmax=450057601.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 4.45
user 4.19
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/859787/ft2_4FGL_J1555.7+1111_daily_bin812.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/859787/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin812.fits evtable="EVENTS" outfile="/scratch/kocevski/859787/ft1_filtered_4FGL_J1555.7+1111_daily_bin812.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/859787/ft1_filtered_4FGL_J1555.7+1111_daily_bin812.fits" evtable="EVENTS" scfile=/scratch/kocevski/859787/ft2_4FGL_J1555.7+1111_daily_bin812.fits sctable="SC_DATA" outfile=/scratch/kocevski/859787/ltcube_449798401_450057601_4FGL_J1555.7+1111_daily_bin812.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/859787/ft2_4FGL_J1555.7+1111_daily_bin812.fits
.....................!
real 14.70
user 14.31
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/859787/ft1_filtered_4FGL_J1555.7+1111_daily_bin812.fits evtable="EVENTS" scfile=/scratch/kocevski/859787/ft2_4FGL_J1555.7+1111_daily_bin812.fits sctable="SC_DATA" expcube=/scratch/kocevski/859787/ltcube_449798401_450057601_4FGL_J1555.7+1111_daily_bin812.fits outfile=/scratch/kocevski/859787/expmap_449798401_450057601_4FGL_J1555.7+1111_daily_bin812.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/859787/ltcube_449798401_450057601_4FGL_J1555.7+1111_daily_bin812.fits
.....................!
real 193.07
user 187.94
sys 4.50

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/859787/ft1_filtered_4FGL_J1555.7+1111_daily_bin812.fits scfile=/scratch/kocevski/859787/ft2_4FGL_J1555.7+1111_daily_bin812.fits outfile=/scratch/kocevski/859787/cmap_449798401_450057601_4FGL_J1555.7+1111_daily_bin812.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/859787/ft1_filtered_4FGL_J1555.7+1111_daily_bin812.fits scfile=/scratch/kocevski/859787/ft2_4FGL_J1555.7+1111_daily_bin812.fits outfile=/scratch/kocevski/859787/cmap_HighResolution_449798401_450057601_4FGL_J1555.7+1111_daily_bin812.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.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/859787/ft1_filtered_4FGL_J1555.7+1111_daily_bin812.fits evtable="EVENTS" scfile=/scratch/kocevski/859787/ft2_4FGL_J1555.7+1111_daily_bin812.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/859787/Model_4FGL_J1555.7+1111_daily_bin812.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/859787/ft1_filtered_4FGL_J1555.7+1111_daily_bin812.fits.....................!
real 75.49
user 74.12
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11961E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    53.761       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.3806       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10275E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.1800       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.8116       1.0000         .10000E-03   10000.    
    10 'Prefactor '    30.665       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.7231       1.0000         .10000E-03   10000.    
    13 'norm      '    34.401       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.986       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.151       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0653       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .96730       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=   10145.14     FROM MIGRAD    STATUS=CONVERGED    462 CALLS     2221 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    97.481        .52281E-06** at limit **
   2  Prefactor     53.784        37.543        .45552E-06    .15494E-03
   3  Prefactor     2.3810        3.8744        .50961E-05   -.19002E-03
   4  Prefactor     .10002E-03    62.270        .14654E-05** at limit **
   5  Prefactor     .10000E-03    5.8821       -.59082E-07** at limit **
   6  norm          .10000E-03    1.0428        .26435E-07** at limit **
   7  Prefactor     1.1802        3.2597       -.42878E-06   -.15608E-03
   8  Prefactor     .10000E-03    8.0364        .44809E-07** at limit **
   9  norm          3.8118        2.8576        .94805E-08    .11378E-04
  10  Prefactor     30.672        42.679       -.10020E-06    .12905E-04
  11  norm          .10000E-03    2.8934        .15939E-07** at limit **
  12  norm          5.7232        1.7655        .22066E-07    .94706E-04
  13  norm          34.407        14.018        .20302E-06    .46712E-04
  14  norm          .10000E-03    28.329       -.20418E-05** at limit **
  15  Prefactor     19.993        14.362        .37715E-06    .64697E-04
  16  Prefactor     .10000E-03    30.082        .23412E-05** at limit **
  17  Prefactor     11.152        23.984        .35591E-06    .61780E-05
  18  Prefactor     .10000E-03    2.7391       -.61624E-07** at limit **
  19  Prefactor     .10000E-03    5.5743       -.21899E-06** at limit **
  20  Normalizat    1.0644        .21935       -.45649E-05   -.43225E-04
  21  Prefactor     .96768        .94332E-01    .14749E-05    .34423E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  Prefactor  = 53.7844
  Prefactor  = 2.38096
  Prefactor  = 0.000100022
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.18023
  Prefactor  = 0.0001
  norm       = 3.81177
  Prefactor  = 30.672
  norm       = 0.0001
  norm       = 5.72321
  norm       = 34.4067
  norm       = 0.0001
  Prefactor  = 19.9931
  Prefactor  = 0.0001
  Prefactor  = 11.1522
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.06437
  Prefactor  = 0.967685
 **********
 **   18 **HESSE 
 **********

 FCN=   10145.14     FROM HESSE     STATUS=OK           311 CALLS     2532 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    98.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     53.784        37.895        .54703E-04   -1.4240    
   3  Prefactor     2.3810        3.8947        .12084E-02   -1.5399    
   4  Prefactor     .10002E-03    64.809        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.8836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.0729        .20082E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.1802        3.2352        .28227E-03   -1.5491    
   8  Prefactor     .10000E-03    8.0395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.8118        2.8487        .14187E-03   -1.5317    
  10  Prefactor     30.672        42.686        .72354E-04   -1.4600    
  11  norm          .10000E-03    2.9053        .16728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.7232        1.7660        .72168E-04   -1.5229    
  13  norm          34.407        14.026        .68323E-04   -1.4534    
  14  norm          .10000E-03    28.411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     19.993        14.389        .89592E-04   -1.4813    
  16  Prefactor     .10000E-03    30.187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.152        23.989        .11997E-03   -1.5040    
  18  Prefactor     .10000E-03    2.7448        .16276E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.6650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0644        .26313        .36954E-03   -.90904    
  21  Prefactor     .96768        .11501        .17479E-03   -.93815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.64807e-10
Minuit parameter uncertainties:
  1  0.00165305
  2  37.9115
  3  3.89512
  4  0.00236832
  5  4.85171e-06
  6  1.06866e-06
  7  3.23567
  8  1.08446e-05
  9  2.84878
  10  42.7281
  11  2.67604e-06
  12  1.76599
  13  14.0275
  14  7.04616e-05
  15  14.3911
  16  0.000155133
  17  24.0094
  18  5.25151e-06
  19  3.74713e-05
  20  0.263452
  21  0.115042
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  5.723e+00  1.766e+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:  9.677e-01  1.150e-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.064e+00  2.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 75.58
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 7.05e-08 +/- 2.18e-08
Energy Flux (Fixed Index): 1.60e-04 +/- 4.93e-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) = 10144.0355053
delta logL = 1.10344237801

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10143.9487405
delta logL = 1.19020721141

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0088       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1930       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0808       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96709       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=   10143.95     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      209 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0081        1.6147        .44920E-02   -.18157E-03
   2  alpha         1.1929        .19310        .20332       -.44236E-04
   3  Normalizat    1.0807        .20350        .82926E-01    .28609E-04
   4  Prefactor     .96712        .92745E-01    .45854E-01   -.16794E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.00813
  alpha      = 1.19291
  Normalizat = 1.08069
  Prefactor  = 0.967115
 **********
 **   18 **HESSE 
 **********

 FCN=   10143.95     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0081        1.8038        .69888E-04   -1.5260    
   2  alpha         1.1929        .22052        .87834E-02   -.55018    
   3  Normalizat    1.0807        .24586        .36715E-03   -.90374    
   4  Prefactor     .96712        .11238        .17492E-03   -.93834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49398e-10
Minuit parameter uncertainties:
  1  1.80383
  2  0.220915
  3  0.246125
  4  0.112403
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/859787': 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) = 10143.9487402
delta logL = 1.19020745046

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  5.008e+00  1.804e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.193e+00  2.209e-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:  9.671e-01  1.124e-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.081e+00  2.461e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 77.95
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.19 +/- 0.22
Photon Flux (Free Index): 4.81e-08 +/- 1.88e-08
Energy Flux (Free Index): 2.90e-04 +/- 1.41e-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/859787/cmap_HighResolution_449798401_450057601_4FGL_J1555.7+1111_daily_bin812.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.05e-08', energy_flux2='2.90e-04', photon_flux_error='2.18e-08', dlogl='1.19e+00', energy_flux='1.60e-04', photon_flux2='4.81e-08', job_status='DONE', time_completed='2021-09-12 22:14:31.149552', photon_index_error2='0.22', photon_index2='1.19', ts='75.58', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.41e-04', EG='1.06', time_epoch_completed='1631510071.15', return_code='0', job_id='859787', GAL2='0.97', EG2='1.08', return_code2='0', energy_flux_error='4.93e-05', photon_flux_error2='1.88e-08', ts2='77.95', photon_index='1.54' WHERE bin_id='812' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:14:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 859787: <4FGL_J1555.7+1111_daily_bin812> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin812> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 12 22:00:27 2021
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 22:02:48 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:02:48 2021
Terminated at Sun Sep 12 22:14:32 2021
Results reported at Sun Sep 12 22:14:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin812 238.931 11.1884 449798401 450057601 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 :                                   691.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             306.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   703 sec.
    Turnaround time :                            845 sec.

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

