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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1498
RA = 238.931, Dec = 11.1884
tmin = 627609601, tmax = 627868801
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='866262', job_status='RUN', time_executed='2021-09-12 22:25:10.648834', time_epoch_executed='1631510710.65' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1498'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866262

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866262/ft1_4FGL_J1555.7+1111_daily_bin1498.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866262/ft2_4FGL_J1555.7+1111_daily_bin1498.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866262/ft1_4FGL_J1555.7+1111_daily_bin1498.fits outfile=/scratch/kocevski/866262/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1498.fits ra=238.931 dec=11.1884 rad=12.0 tmin=627609601.0 tmax=627868801.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 2.60
user 2.35
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866262/ft1_filtered_4FGL_J1555.7+1111_daily_bin1498.fits" evtable="EVENTS" scfile=/scratch/kocevski/866262/ft2_4FGL_J1555.7+1111_daily_bin1498.fits sctable="SC_DATA" outfile=/scratch/kocevski/866262/ltcube_627609601_627868801_4FGL_J1555.7+1111_daily_bin1498.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/866262/ft2_4FGL_J1555.7+1111_daily_bin1498.fits
.....................!
real 14.08
user 13.51
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866262/ft1_filtered_4FGL_J1555.7+1111_daily_bin1498.fits evtable="EVENTS" scfile=/scratch/kocevski/866262/ft2_4FGL_J1555.7+1111_daily_bin1498.fits sctable="SC_DATA" expcube=/scratch/kocevski/866262/ltcube_627609601_627868801_4FGL_J1555.7+1111_daily_bin1498.fits outfile=/scratch/kocevski/866262/expmap_627609601_627868801_4FGL_J1555.7+1111_daily_bin1498.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/866262/ltcube_627609601_627868801_4FGL_J1555.7+1111_daily_bin1498.fits
.....................!
real 190.84
user 185.14
sys 5.36

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/866262/ft1_filtered_4FGL_J1555.7+1111_daily_bin1498.fits scfile=/scratch/kocevski/866262/ft2_4FGL_J1555.7+1111_daily_bin1498.fits outfile=/scratch/kocevski/866262/cmap_627609601_627868801_4FGL_J1555.7+1111_daily_bin1498.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/866262/ft1_filtered_4FGL_J1555.7+1111_daily_bin1498.fits scfile=/scratch/kocevski/866262/ft2_4FGL_J1555.7+1111_daily_bin1498.fits outfile=/scratch/kocevski/866262/cmap_HighResolution_627609601_627868801_4FGL_J1555.7+1111_daily_bin1498.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/866262/ft1_filtered_4FGL_J1555.7+1111_daily_bin1498.fits evtable="EVENTS" scfile=/scratch/kocevski/866262/ft2_4FGL_J1555.7+1111_daily_bin1498.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866262/Model_4FGL_J1555.7+1111_daily_bin1498.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/866262/ft1_filtered_4FGL_J1555.7+1111_daily_bin1498.fits....................!
real 78.60
user 77.26
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4480       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.2771       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .91396E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    11.955       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.8458       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.7940       1.0000         .10000E-03   10000.    
    13 'norm      '    25.452       1.0000         .10000E-03   10000.    
    14 'norm      '    33.285       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .29149       1.0000         .10000E-03   10000.    
    16 'Prefactor '    62.139       1.0000         .10000E-03   10000.    
    17 'Prefactor '    27.353       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .31619E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.4983       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .98663       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=   10037.76     FROM MIGRAD    STATUS=CONVERGED    453 CALLS     2236 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5963        100.36       -.38881E-05   -.33733E-05
   2  Prefactor     .10000E-03    8.7208       -.14342E-06** at limit **
   3  Prefactor     4.2772        4.2283       -.11216E-07    .23144E-04
   4  Prefactor     .10000E-03    93.274       -.46683E-06** at limit **
   5  Prefactor     .10000E-03    10.575       -.12714E-07** at limit **
   6  norm          11.955        3.4428        .42355E-07    .26333E-03
   7  Prefactor     .10000E-03    2.2076       -.65879E-07** at limit **
   8  Prefactor     .10000E-03    9.4374       -.13106E-06** at limit **
   9  norm          2.8464        2.9992        .13878E-05    .10891E-02
  10  Prefactor     .10000E-03    65.657       -.70609E-06** at limit **
  11  norm          .10000E-03    4.2960       -.31303E-06** at limit **
  12  norm          4.7942        1.7364       -.25739E-07   -.30477E-04
  13  norm          25.462        18.396       -.15748E-06    .33396E-04
  14  norm          33.317        88.337        .36104E-06    .54666E-05
  15  Prefactor     .37055        8.7768        .20381E-05   -.67923E-03
  16  Prefactor     62.185        110.37        .45440E-06    .97069E-05
  17  Prefactor     27.361        24.324        .40982E-06    .34332E-04
  18  Prefactor     .10044E-03    5.2402        .47853E-06** at limit **
  19  Prefactor     .10000E-03    8.9689       -.42753E-06** at limit **
  20  Normalizat    1.4984        .24791        .33901E-05    .92142E-04
  21  Prefactor     .98643        .11240       -.11306E-05    .35514E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.59626
  Prefactor  = 0.0001
  Prefactor  = 4.27717
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.9548
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.84638
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.79423
  norm       = 25.4618
  norm       = 33.3172
  Prefactor  = 0.37055
  Prefactor  = 62.1854
  Prefactor  = 27.3607
  Prefactor  = 0.000100436
  Prefactor  = 0.0001
  Normalizat = 1.49841
  Prefactor  = 0.986429
 **********
 **   18 **HESSE 
 **********

 FCN=   10037.76     FROM HESSE     STATUS=OK           323 CALLS     2559 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5963        98.693        .14696E-03   -1.5157    
   2  Prefactor     .10000E-03    8.7280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.2772        4.2326        .19481E-03   -1.5294    
   4  Prefactor     .10000E-03    96.228        .36481E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          11.955        3.4444        .96263E-04   -1.5016    
   7  Prefactor     .10000E-03    2.2208        .14539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.4443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.8464        3.0203        .87296E-03   -1.5371    
  10  Prefactor     .10000E-03    65.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.3438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.7942        1.7377        .77215E-04   -1.5270    
  13  norm          25.462        18.427        .79402E-04   -1.4698    
  14  norm          33.317        88.376        .69456E-04   -1.4553    
  15  Prefactor     .37055        78.033        .48084E-02   -1.5586    
  16  Prefactor     62.185        110.58        .50903E-04   -1.4129    
  17  Prefactor     27.361        24.311        .76600E-04   -1.4661    
  18  Prefactor     .10044E-03    6.7698        .76136E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    9.1486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.4984        .28588        .36457E-03   -.77823    
  21  Prefactor     .98643        .13070        .19906E-03   -.93183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32395e-08
Minuit parameter uncertainties:
  1  54.8723
  2  1.64537e-05
  3  4.23286
  4  0.000323097
  5  1.0025e-05
  6  3.44444
  7  6.10656e-06
  8  1.64094e-05
  9  3.02047
  10  0.000214018
  11  2.22909e-05
  12  1.73771
  13  18.4312
  14  88.7266
  15  10.7674
  16  110.952
  17  24.3198
  18  0.00343682
  19  4.19436e-05
  20  0.286188
  21  0.130737
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  4.794e+00  1.738e+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.864e-01  1.307e-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.498e+00  2.862e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 39.28
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 5.91e-08 +/- 2.14e-08
Energy Flux (Fixed Index): 1.34e-04 +/- 4.86e-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) = 10037.5607288
delta logL = 0.201108496714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10037.5007994
delta logL = 0.261037875078

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4438       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3423       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5047       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98780       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=   10037.50     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      208 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4441        1.6561        .47756E-02   -.19216E-03
   2  alpha         1.3423        .23884        .25052       -.33650E-04
   3  Normalizat    1.5047        .23030        .82239E-01    .12564E-04
   4  Prefactor     .98782        .10543        .46114E-01    .21798E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.44407
  alpha      = 1.3423
  Normalizat = 1.50466
  Prefactor  = 0.987816
 **********
 **   18 **HESSE 
 **********

 FCN=   10037.50     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .43E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4441        1.8006        .76487E-04   -1.5286    
   2  alpha         1.3423        .27352        .10490E-01   -.48147    
   3  Normalizat    1.5047        .27898        .36404E-03   -.77648    
   4  Prefactor     .98782        .12805        .19902E-03   -.93137    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.3131e-13
Minuit parameter uncertainties:
  1  1.80063
  2  0.274222
  3  0.279265
  4  0.128092
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866262': 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) = 10037.5007994
delta logL = 0.26103790552

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  4.444e+00  1.801e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.342e+00  2.742e-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.878e-01  1.281e-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.505e+00  2.793e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 39.80
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.34 +/- 0.27
Photon Flux (Free Index): 4.58e-08 +/- 2.32e-08
Energy Flux (Free Index): 1.83e-04 +/- 1.04e-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/866262/cmap_HighResolution_627609601_627868801_4FGL_J1555.7+1111_daily_bin1498.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.91e-08', energy_flux2='1.83e-04', photon_flux_error='2.14e-08', dlogl='2.61e-01', energy_flux='1.34e-04', photon_flux2='4.58e-08', job_status='DONE', time_completed='2021-09-12 22:36:30.249330', photon_index_error2='0.27', photon_index2='1.34', ts='39.28', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='1.04e-04', EG='1.50', time_epoch_completed='1631511390.25', return_code='0', job_id='866262', GAL2='0.99', EG2='1.50', return_code2='0', energy_flux_error='4.86e-05', photon_flux_error2='2.32e-08', ts2='39.80', photon_index='1.54' WHERE bin_id='1498' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:36:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 866262: <4FGL_J1555.7+1111_daily_bin1498> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin1498> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 22:20:28 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 22:21:13 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:13 2021
Terminated at Sun Sep 12 22:36:31 2021
Results reported at Sun Sep 12 22:36:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1498 238.931 11.1884 627609601 627868801 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 :                                   671.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             271.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            963 sec.

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

