/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 129 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 = 7405
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1153.0+8056_daily_bin93
RA = 178.266, Dec = 80.9357
tmin = 263433601, tmax = 263692801
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='124903', job_status='RUN', time_executed='2021-09-04 13:54:47.691536', time_epoch_executed='1630788887.69' WHERE source_name='4FGL J1153.0+8056' and cadence='daily' and bin_id='93'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/124903

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/124903/ft1_4FGL_J1153.0+8056_daily_bin93.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/124903/ft2_4FGL_J1153.0+8056_daily_bin93.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/124903/ft1_4FGL_J1153.0+8056_daily_bin93.fits outfile=/scratch/kocevski/124903/ft1_filteredMKT_4FGL_J1153.0+8056_daily_bin93.fits ra=178.266 dec=80.9357 rad=12.0 tmin=263433601.0 tmax=263692801.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.72
user 2.48
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/124903/ft2_4FGL_J1153.0+8056_daily_bin93.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/124903/ft2_4FGL_J1153.0+8056_daily_bin93.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/124903/ft1_filteredMKT_4FGL_J1153.0+8056_daily_bin93.fits evtable="EVENTS" outfile="/scratch/kocevski/124903/ft1_filtered_4FGL_J1153.0+8056_daily_bin93.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.48
user 0.26
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/124903/ft1_filtered_4FGL_J1153.0+8056_daily_bin93.fits" evtable="EVENTS" scfile=/scratch/kocevski/124903/ft2_4FGL_J1153.0+8056_daily_bin93.fits sctable="SC_DATA" outfile=/scratch/kocevski/124903/ltcube_263433601_263692801_4FGL_J1153.0+8056_daily_bin93.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/124903/ft2_4FGL_J1153.0+8056_daily_bin93.fits
.....................!
real 9.28
user 8.91
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/124903/ft1_filtered_4FGL_J1153.0+8056_daily_bin93.fits evtable="EVENTS" scfile=/scratch/kocevski/124903/ft2_4FGL_J1153.0+8056_daily_bin93.fits sctable="SC_DATA" expcube=/scratch/kocevski/124903/ltcube_263433601_263692801_4FGL_J1153.0+8056_daily_bin93.fits outfile=/scratch/kocevski/124903/expmap_263433601_263692801_4FGL_J1153.0+8056_daily_bin93.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/124903/ltcube_263433601_263692801_4FGL_J1153.0+8056_daily_bin93.fits
.....................!
real 145.74
user 141.83
sys 3.56

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 223 point sources and 0 extended sources

Setting source of interest to:
4FGL J1153.0+8056 @ 178.266 80.9357

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/124903/ft1_filtered_4FGL_J1153.0+8056_daily_bin93.fits scfile=/scratch/kocevski/124903/ft2_4FGL_J1153.0+8056_daily_bin93.fits outfile=/scratch/kocevski/124903/cmap_263433601_263692801_4FGL_J1153.0+8056_daily_bin93.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=178.266 yref=80.9357 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.61
user 0.29
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/124903/ft1_filtered_4FGL_J1153.0+8056_daily_bin93.fits scfile=/scratch/kocevski/124903/ft2_4FGL_J1153.0+8056_daily_bin93.fits outfile=/scratch/kocevski/124903/cmap_HighResolution_263433601_263692801_4FGL_J1153.0+8056_daily_bin93.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=178.266 yref=80.9357 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.57
user 0.29
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/124903/ft1_filtered_4FGL_J1153.0+8056_daily_bin93.fits evtable="EVENTS" scfile=/scratch/kocevski/124903/ft2_4FGL_J1153.0+8056_daily_bin93.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/124903/Model_4FGL_J1153.0+8056_daily_bin93.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/124903/ft1_filtered_4FGL_J1153.0+8056_daily_bin93.fits.....................!
real 72.10
user 70.86
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/124903/ft1_filtered_4FGL_J1153.0+8056_daily_bin93.fits', '/scratch/kocevski/124903/ft2_4FGL_J1153.0+8056_daily_bin93.fits', expMap='/scratch/kocevski/124903/expmap_263433601_263692801_4FGL_J1153.0+8056_daily_bin93.fits', expCube='/scratch/kocevski/124903/ltcube_263433601_263692801_4FGL_J1153.0+8056_daily_bin93.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/124903/Model_4FGL_J1153.0+8056_daily_bin93.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1153.0+8056'

4FGL J1153.0+8056
   Spectrum: PowerLaw
372    Prefactor:  3.014e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
373        Index:  2.870e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  4.561e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/124903/ft1_filtered_4FGL_J1153.0+8056_daily_bin93.fits
Spacecraft file(s): /scratch/kocevski/124903/ft2_4FGL_J1153.0+8056_daily_bin93.fits
Exposure map: /scratch/kocevski/124903/expmap_263433601_263692801_4FGL_J1153.0+8056_daily_bin93.fits
Exposure cube: /scratch/kocevski/124903/ltcube_263433601_263692801_4FGL_J1153.0+8056_daily_bin93.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/124903/Model_4FGL_J1153.0+8056_daily_bin93.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) = 7254.67697128

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10107E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    49.306       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.308       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    48.021       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.2865       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .61678       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.6852       1.0000         .10000E-03   10000.    
    17 'Prefactor '    64.550       1.0000         .10000E-03   10000.    
    18 'norm      '    3.3283       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    21.974       1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.564       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .80487       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .22624E-02   1.0000         .10000E-03   10000.    
    27 'Prefactor '    22.151       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.2351       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .75479       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7254.663     FROM MIGRAD    STATUS=CONVERGED    726 CALLS     3724 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.4219       -.70781E-06** at limit **
   2  norm          .10000E-03    17.883       -.16274E-05** at limit **
   3  Prefactor     49.313        44.240        .18170E-05    .94809E-06
   4  Prefactor     11.309        10.365        .30230E-07   -.64294E-04
   5  Prefactor     .10000E-03    5.3252        .29512E-06** at limit **
   6  Prefactor     .10000E-03    5.8111       -.43090E-06** at limit **
   7  Prefactor     48.014        26.084        .46659E-05    .73914E-06
   8  Prefactor     .10000E-03    9.4831       -.13996E-05** at limit **
   9  norm          7.2839        5.2011       -.19017E-05   -.34134E-03
  10  Prefactor     .10000E-03    .95167       -.26105E-07** at limit **
  11  norm          .10000E-03    .22150        .38304E-07** at limit **
  12  norm          .61732        1.5066       -.43619E-06   -.17271E-02
  13  Prefactor     .10000E-03    11.879        .30648E-06** at limit **
  14  Prefactor     .10000E-03    1.7934        .11606E-06** at limit **
  15  Prefactor     .10000E-03    1.2290       -.10160E-07** at limit **
  16  Prefactor     5.6896        10.388       -.33803E-05   -.17426E-03
  17  Prefactor     64.560        57.855        .58635E-05   -.49653E-05
  18  norm          3.3288        3.4995        .42763E-07   -.51548E-04
  19  norm          .10000E-03    3.0895       -.13310E-07** at limit **
  20  Prefactor     21.977        36.322       -.46141E-06   -.92201E-05
  21  Prefactor     12.555        17.198        .17654E-04    .92125E-05
  22  Prefactor     .77592        7.9969        .42063E-06   -.47761E-03
  23  Prefactor     .10000E-03    9.1701        .20659E-05** at limit **
  24  Prefactor     .10000E-03    24.275       -.18357E-05** at limit **
  25  Prefactor     .10000E-03    17.540        .27329E-05** at limit **
  26  Prefactor     .10000E-03    367.24       -.49814E-04** at limit **
  27  Prefactor     22.147        40.241       -.10640E-05   -.77399E-05
  28  Normalizat    1.2349        .16868       -.15433E-05    .11641E-03
  29  Prefactor     .75481        .10350       -.95088E-06    .43980E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 49.313
  Prefactor  = 11.3095
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 48.0136
  Prefactor  = 0.0001
  norm       = 7.28394
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.617315
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.68963
  Prefactor  = 64.5596
  norm       = 3.3288
  norm       = 0.0001
  Prefactor  = 21.9769
  Prefactor  = 12.5552
  Prefactor  = 0.77592
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.1468
  Normalizat = 1.23492
  Prefactor  = 0.754813
 **********
 **   18 **HESSE 
 **********

 FCN=   7254.663     FROM HESSE     STATUS=OK           557 CALLS     4281 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.4287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    17.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     49.313        44.357        .57109E-04   -1.4302    
   4  Prefactor     11.309        10.373        .11914E-03   -1.5035    
   5  Prefactor     .10000E-03    5.3370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.8216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     48.014        26.040        .28932E-03   -1.4321    
   8  Prefactor     .10000E-03    9.4845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.2839        5.1983        .14859E-03   -1.5168    
  10  Prefactor     .10000E-03    .95448        .81105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.8382        .77569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .61732        1.4039        .15797E-02   -1.5551    
  13  Prefactor     .10000E-03    11.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.7999        .11127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.2314        .92211E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.6896        10.357        .16847E-03   -1.5231    
  17  Prefactor     64.560        57.874        .49950E-04   -1.4099    
  18  norm          3.3288        3.5008        .15883E-03   -1.5343    
  19  norm          .10000E-03    3.1883        .29111E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     21.977        36.353        .85448E-04   -1.4770    
  21  Prefactor     12.555        17.007        .11301E-03   -1.4999    
  22  Prefactor     .77592        30.833        .44600E-02   -1.5532    
  23  Prefactor     .10000E-03    9.1872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    24.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    17.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    373.35        .20115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     22.147        40.285        .85105E-04   -1.4766    
  28  Normalizat    1.2349        .18925        .25267E-03   -.85530    
  29  Prefactor     .75481        .11594        .20651E-03   -1.0142    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.31343e-09
Minuit parameter uncertainties:
  1  8.8839e-06
  2  1.12558e-06
  3  44.3871
  4  10.3746
  5  4.51305e-05
  6  2.38863e-05
  7  26.046
  8  6.55501e-06
  9  5.19867
  10  2.27102e-08
  11  3.28505e-06
  12  1.40398
  13  0.000256912
  14  5.28882e-06
  15  1.28645e-06
  16  10.3607
  17  57.9248
  18  3.50098
  19  5.31736e-06
  20  36.3894
  21  17.0132
  22  9.78726
  23  1.3151e-06
  24  6.83159e-06
  25  8.67439e-06
  26  0.00080336
  27  40.3348
  28  0.189355
  29  0.115974
Done.

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

Extracting fit parameters...

4FGL J1153.0+8056
   Spectrum: PowerLaw
372    Prefactor:  5.690e+00  1.036e+01  1.000e-04  1.000e+04 ( 1.000e-12)
373        Index:  2.870e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  4.561e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  7.548e-01  1.160e-01  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.235e+00  1.894e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.39
Ra Dec: 178.266 80.936
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/124903/likelihoodResults_263433601_263692801_4FGL_J1153.0+8056_daily_bin93.txt

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) = 7254.65244655
delta logL = 0.0109244440628

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7254.65114177
delta logL = 0.012229220496

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1582       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6511       1.0000          .0000       10.000    
     3 'Normalizat'    1.2381       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75337       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7254.651     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      295 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1434        10.913        .80889E-03    .92345E-04
   2  Index         2.6477        1.3393        .12261E-01    .26983E-06
   3  Normalizat    1.2383        .17341        .25238E-03   -.50001E-05
   4  Prefactor     .75343        .11283        .20668E-03   -.63808E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.1434
  Index      = 2.64768
  Normalizat = 1.23825
  Prefactor  = 0.753425
 **********
 **   18 **HESSE 
 **********

 FCN=   7254.651     FROM HESSE     STATUS=OK            27 CALLS      322 TOTAL
                     EDM=   .90E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1434        10.844        .16178E-03   -1.5212    
   2  Index         2.6477        1.3311        .49042E-03   -.48982    
   3  Normalizat    1.2383        .17353        .10095E-04   -.85429    
   4  Prefactor     .75343        .11288        .82671E-05   -1.0147    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.96329e-14
Minuit parameter uncertainties:
  1  10.8474
  2  1.35215
  3  0.173614
  4  0.11291
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/124903': 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) = 7254.65113591
delta logL = 0.0122350873553

Extracting fit parameters...

4FGL J1153.0+8056
   Spectrum: PowerLaw
372    Prefactor:  6.143e+00  1.085e+01  1.000e-04  1.000e+04 ( 1.000e-12)
373        Index:  2.648e+00  1.352e+00  0.000e+00  1.000e+01 (-1.000e+00)
374        Scale:  4.561e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
712    Prefactor:  7.534e-01  1.129e-01  0.000e+00  1.000e+01 ( 1.000e+00)
713        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
714        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
711   Normalization:  1.238e+00  1.736e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.39
Ra Dec: 178.266 80.936

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/124903/cmap_HighResolution_263433601_263692801_4FGL_J1153.0+8056_daily_bin93.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.58e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-09-04 14:08:41.161034', job_id='124903', GAL2='0.75', fit_tolerance='1e-08', EG2='1.24', EG='1.23', time_epoch_completed='1630789721.16', return_code2='0', ts='0.39', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.22e-02', ts2='0.41', photon_index_error='0.00', photon_index='2.87' WHERE bin_id='93' AND source_name='4FGL J1153.0+8056' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 14:08:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0135>
Subject: Job 124903: <4FGL_J1153.0+8056_daily_bin93> in cluster <slac> Done

Job <4FGL_J1153.0+8056_daily_bin93> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep  4 13:52:22 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:52:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 13:52:26 2021
Terminated at Sat Sep  4 14:08:41 2021
Results reported at Sat Sep  4 14:08:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.0+8056_daily_bin93 178.266 80.9357 263433601 263692801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1153.0+8056 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   830.46 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             340.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   975 sec.
    Turnaround time :                            979 sec.

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

