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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1506
RA = 238.931, Dec = 11.1884
tmin = 629683201, tmax = 629942401
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='866275', job_status='RUN', time_executed='2021-09-12 22:21:26.952651', time_epoch_executed='1631510486.95' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1506'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866275

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866275/ft1_4FGL_J1555.7+1111_daily_bin1506.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866275/ft2_4FGL_J1555.7+1111_daily_bin1506.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866275/ft1_4FGL_J1555.7+1111_daily_bin1506.fits outfile=/scratch/kocevski/866275/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1506.fits ra=238.931 dec=11.1884 rad=12.0 tmin=629683201.0 tmax=629942401.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.54
user 3.29
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/866275/ft2_4FGL_J1555.7+1111_daily_bin1506.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/866275/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1506.fits evtable="EVENTS" outfile="/scratch/kocevski/866275/ft1_filtered_4FGL_J1555.7+1111_daily_bin1506.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/866275/ft1_filtered_4FGL_J1555.7+1111_daily_bin1506.fits" evtable="EVENTS" scfile=/scratch/kocevski/866275/ft2_4FGL_J1555.7+1111_daily_bin1506.fits sctable="SC_DATA" outfile=/scratch/kocevski/866275/ltcube_629683201_629942401_4FGL_J1555.7+1111_daily_bin1506.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/866275/ft2_4FGL_J1555.7+1111_daily_bin1506.fits
.....................!
real 14.17
user 13.16
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866275/ft1_filtered_4FGL_J1555.7+1111_daily_bin1506.fits evtable="EVENTS" scfile=/scratch/kocevski/866275/ft2_4FGL_J1555.7+1111_daily_bin1506.fits sctable="SC_DATA" expcube=/scratch/kocevski/866275/ltcube_629683201_629942401_4FGL_J1555.7+1111_daily_bin1506.fits outfile=/scratch/kocevski/866275/expmap_629683201_629942401_4FGL_J1555.7+1111_daily_bin1506.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/866275/ltcube_629683201_629942401_4FGL_J1555.7+1111_daily_bin1506.fits
.....................!
real 193.37
user 187.71
sys 5.24

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/866275/ft1_filtered_4FGL_J1555.7+1111_daily_bin1506.fits scfile=/scratch/kocevski/866275/ft2_4FGL_J1555.7+1111_daily_bin1506.fits outfile=/scratch/kocevski/866275/cmap_629683201_629942401_4FGL_J1555.7+1111_daily_bin1506.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/866275/ft1_filtered_4FGL_J1555.7+1111_daily_bin1506.fits scfile=/scratch/kocevski/866275/ft2_4FGL_J1555.7+1111_daily_bin1506.fits outfile=/scratch/kocevski/866275/cmap_HighResolution_629683201_629942401_4FGL_J1555.7+1111_daily_bin1506.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/866275/ft1_filtered_4FGL_J1555.7+1111_daily_bin1506.fits evtable="EVENTS" scfile=/scratch/kocevski/866275/ft2_4FGL_J1555.7+1111_daily_bin1506.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866275/Model_4FGL_J1555.7+1111_daily_bin1506.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/866275/ft1_filtered_4FGL_J1555.7+1111_daily_bin1506.fits.....................!
real 59.87
user 58.44
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .17398E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    59.670       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .50270       1.0000         .10000E-03   10000.    
     6 'norm      '    4.6086       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11372E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.4343       1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.386       1.0000         .10000E-03   10000.    
    11 'norm      '    8.9388       1.0000         .10000E-03   10000.    
    12 'norm      '    5.3766       1.0000         .10000E-03   10000.    
    13 'norm      '    24.179       1.0000         .10000E-03   10000.    
    14 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.4435       1.0000         .10000E-03   10000.    
    16 'Prefactor '    88.552       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.2195       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.8736       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .87025       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0793       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=   7780.809     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     2288 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.836        .15289E-06** at limit **
   2  Prefactor     .10000E-03    20.641       -.11590E-05** at limit **
   3  Prefactor     .10000E-03    2.6516       -.26560E-06** at limit **
   4  Prefactor     59.707        37.112       -.22857E-05   -.23722E-03
   5  Prefactor     .34909        13.611        .25248E-06   -.10710E-04
   6  norm          4.6085        2.6685        .18169E-07   -.12173E-03
   7  Prefactor     .10000E-03    1.1771       -.13748E-06** at limit **
   8  Prefactor     .10000E-03    31.465        .55904E-05** at limit **
   9  norm          6.4399        4.9888        .76710E-06    .32260E-03
  10  Prefactor     16.499        108.04       -.35960E-04   -.14429E-03
  11  norm          8.9389        10.441        .91749E-06    .93863E-04
  12  norm          5.3764        2.1092        .17478E-06    .35712E-03
  13  norm          24.178        16.787        .33656E-06    .83321E-04
  14  norm          .10000E-03    36.215       -.46530E-05** at limit **
  15  Prefactor     4.4434        9.2124        .43538E-07   -.19805E-04
  16  Prefactor     88.554        78.555       -.22862E-06    .13499E-04
  17  Prefactor     .10000E-03    6.7620       -.74688E-07** at limit **
  18  Prefactor     1.2139        16.359        .28675E-04   -.27433E-03
  19  Prefactor     1.8739        7.3202       -.43703E-05   -.10022E-03
  20  Normalizat    .86995        .24955       -.17165E-05   -.93319E-05
  21  Prefactor     1.0795        .11283        .83163E-06    .79071E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 59.707
  Prefactor  = 0.349093
  norm       = 4.60846
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 6.43987
  Prefactor  = 16.4986
  norm       = 8.93894
  norm       = 5.37643
  norm       = 24.1783
  norm       = 0.000100001
  Prefactor  = 4.44342
  Prefactor  = 88.5543
  Prefactor  = 0.0001
  Prefactor  = 1.21388
  Prefactor  = 1.87388
  Normalizat = 0.869945
  Prefactor  = 1.07947
 **********
 **   18 **HESSE 
 **********

 FCN=   7780.809     FROM HESSE     STATUS=OK           325 CALLS     2613 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.187        .27826E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     59.707        37.299        .51939E-04   -1.4161    
   5  Prefactor     .34909        18.633        .12216       -1.5590    
   6  norm          4.6085        2.6666        .10533E-03   -1.5279    
   7  Prefactor     .10000E-03    1.1819        .93433E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    31.600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.4399        4.9865        .15823E-03   -1.5200    
  10  Prefactor     16.499        108.65        .98942E-04   -1.4895    
  11  norm          8.9389        10.430        .13406E-03   -1.5110    
  12  norm          5.3764        2.1092        .76655E-04   -1.5244    
  13  norm          24.178        16.793        .81462E-04   -1.4724    
  14  norm          .10000E-03    36.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.4434        9.1987        .19103E-03   -1.5286    
  16  Prefactor     88.554        78.548        .42697E-04   -1.3823    
  17  Prefactor     .10000E-03    6.7648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.2139        16.629        .20428E-02   -1.5488    
  19  Prefactor     1.8739        7.3169        .30424E-03   -1.5434    
  20  Normalizat    .86995        .28699        .39593E-03   -.97524    
  21  Prefactor     1.0795        .13213        .17175E-03   -.90126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28948e-09
Minuit parameter uncertainties:
  1  1.50757e-05
  2  0.000130632
  3  0.000114043
  4  37.3134
  5  5.10176
  6  2.66667
  7  8.34878e-06
  8  0.00066137
  9  4.98685
  10  84.9032
  11  10.4321
  12  2.10926
  13  16.796
  14  0.000379015
  15  9.20166
  16  78.6408
  17  1.73302e-05
  18  8.98823
  19  7.32039
  20  0.287498
  21  0.132166
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  5.376e+00  2.109e+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.079e+00  1.322e-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:  8.699e-01  2.875e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 59.23
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 6.63e-08 +/- 2.60e-08
Energy Flux (Fixed Index): 1.50e-04 +/- 5.89e-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) = 7780.53888049
delta logL = 0.269879379529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7780.49115005
delta logL = 0.317609817486

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5730       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2713       1.0000          .0000       5.0000    
     3 'Normalizat'    .88243       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0806       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=   7780.491     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      208 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5730        1.8994        .47059E-02   -.40464E-02
   2  alpha         1.2715        .26846        .24417       -.39132E-04
   3  Normalizat    .88242        .23252        .88881E-01    .17968E-04
   4  Prefactor     1.0806        .11159        .38375E-01    .78718E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.57299
  alpha      = 1.27146
  Normalizat = 0.882424
  Prefactor  = 1.08059
 **********
 **   18 **HESSE 
 **********

 FCN=   7780.491     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5730        2.2966        .74879E-04   -1.5280    
   2  alpha         1.2715        .33604        .10373E-01   -.51372    
   3  Normalizat    .88242        .26807        .39362E-03   -.97081    
   4  Prefactor     1.0806        .12931        .17181E-03   -.90089    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57004e-09
Minuit parameter uncertainties:
  1  2.2966
  2  0.337391
  3  0.268478
  4  0.12935
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866275': 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) = 7780.49114994
delta logL = 0.317609930664

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  4.573e+00  2.297e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.271e+00  3.374e-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.081e+00  1.294e-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:  8.824e-01  2.685e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 59.87
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.27 +/- 0.34
Photon Flux (Free Index): 4.53e-08 +/- 2.77e-08
Energy Flux (Free Index): 2.20e-04 +/- 1.39e-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/866275/cmap_HighResolution_629683201_629942401_4FGL_J1555.7+1111_daily_bin1506.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.63e-08', energy_flux2='2.20e-04', photon_flux_error='2.60e-08', dlogl='3.18e-01', energy_flux='1.50e-04', photon_flux2='4.53e-08', job_status='DONE', time_completed='2021-09-12 22:32:01.392129', photon_index_error2='0.34', photon_index2='1.27', ts='59.23', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='1.39e-04', EG='0.87', time_epoch_completed='1631511121.39', return_code='0', job_id='866275', GAL2='1.08', EG2='0.88', return_code2='0', energy_flux_error='5.89e-05', photon_flux_error2='2.77e-08', ts2='59.87', photon_index='1.54' WHERE bin_id='1506' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:32:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0300>
Subject: Job 866275: <4FGL_J1555.7+1111_daily_bin1506> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin1506> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 22:20:29 2021
Job was executed on host(s) <bullet0300>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 22:21:15 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:21:15 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_bin1506 238.931 11.1884 629683201 629942401 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.47 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   648 sec.
    Turnaround time :                            693 sec.

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

