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


Performing analysis on: 4FGL_J1153.0+8056_daily_bin75
RA = 178.266, Dec = 80.9357
tmin = 258768001, tmax = 259027201
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='124833', job_status='RUN', time_executed='2021-09-04 13:54:29.593746', time_epoch_executed='1630788869.59' WHERE source_name='4FGL J1153.0+8056' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/124833

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/124833/ft1_4FGL_J1153.0+8056_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/124833/ft2_4FGL_J1153.0+8056_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/124833/ft1_4FGL_J1153.0+8056_daily_bin75.fits outfile=/scratch/kocevski/124833/ft1_filteredMKT_4FGL_J1153.0+8056_daily_bin75.fits ra=178.266 dec=80.9357 rad=12.0 tmin=258768001.0 tmax=259027201.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 0.99
user 0.74
sys 0.14

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/124833/ft2_4FGL_J1153.0+8056_daily_bin75.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/124833/ft1_filteredMKT_4FGL_J1153.0+8056_daily_bin75.fits evtable="EVENTS" outfile="/scratch/kocevski/124833/ft1_filtered_4FGL_J1153.0+8056_daily_bin75.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.82
user 0.25
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/124833/ft1_filtered_4FGL_J1153.0+8056_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/124833/ft2_4FGL_J1153.0+8056_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/124833/ltcube_258768001_259027201_4FGL_J1153.0+8056_daily_bin75.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/124833/ft2_4FGL_J1153.0+8056_daily_bin75.fits
.....................!
real 7.57
user 6.75
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/124833/ft1_filtered_4FGL_J1153.0+8056_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/124833/ft2_4FGL_J1153.0+8056_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/124833/ltcube_258768001_259027201_4FGL_J1153.0+8056_daily_bin75.fits outfile=/scratch/kocevski/124833/expmap_258768001_259027201_4FGL_J1153.0+8056_daily_bin75.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/124833/ltcube_258768001_259027201_4FGL_J1153.0+8056_daily_bin75.fits
.....................!
real 150.37
user 146.49
sys 3.61

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/124833/ft1_filtered_4FGL_J1153.0+8056_daily_bin75.fits scfile=/scratch/kocevski/124833/ft2_4FGL_J1153.0+8056_daily_bin75.fits outfile=/scratch/kocevski/124833/cmap_258768001_259027201_4FGL_J1153.0+8056_daily_bin75.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 1.31
user 0.31
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/124833/ft1_filtered_4FGL_J1153.0+8056_daily_bin75.fits scfile=/scratch/kocevski/124833/ft2_4FGL_J1153.0+8056_daily_bin75.fits outfile=/scratch/kocevski/124833/cmap_HighResolution_258768001_259027201_4FGL_J1153.0+8056_daily_bin75.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.77
user 0.30
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/124833/ft1_filtered_4FGL_J1153.0+8056_daily_bin75.fits', '/scratch/kocevski/124833/ft2_4FGL_J1153.0+8056_daily_bin75.fits', expMap='/scratch/kocevski/124833/expmap_258768001_259027201_4FGL_J1153.0+8056_daily_bin75.fits', expCube='/scratch/kocevski/124833/ltcube_258768001_259027201_4FGL_J1153.0+8056_daily_bin75.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/124833/Model_4FGL_J1153.0+8056_daily_bin75.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/124833/ft1_filtered_4FGL_J1153.0+8056_daily_bin75.fits
Spacecraft file(s): /scratch/kocevski/124833/ft2_4FGL_J1153.0+8056_daily_bin75.fits
Exposure map: /scratch/kocevski/124833/expmap_258768001_259027201_4FGL_J1153.0+8056_daily_bin75.fits
Exposure cube: /scratch/kocevski/124833/ltcube_258768001_259027201_4FGL_J1153.0+8056_daily_bin75.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/124833/Model_4FGL_J1153.0+8056_daily_bin75.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) = 4985.58381204

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10039E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    42.760       1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.754       1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.423       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.9728       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .88695       1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.7655       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.887       1.0000         .10000E-03   10000.    
    18 'norm      '    .10161E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.5922       1.0000         .10000E-03   10000.    
    20 'Prefactor '    39.341       1.0000         .10000E-03   10000.    
    21 'Prefactor '    36.098       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.1764       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    15.141       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .11101E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0638       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .81396       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=   4985.553     FROM MIGRAD    STATUS=CONVERGED    708 CALLS     4199 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.855        .65875E-05** at limit **
   2  norm          .10000E-03    17.327       -.18347E-05** at limit **
   3  Prefactor     42.780        51.015        .22620E-04   -.16952E-04
   4  Prefactor     25.752        14.600        .46089E-06   -.18465E-03
   5  Prefactor     35.425        19.001        .70391E-06   -.13170E-03
   6  Prefactor     .10000E-03    42.244        .22335E-04** at limit **
   7  Prefactor     .10000E-03    37.241       -.14873E-05** at limit **
   8  Prefactor     .10000E-03    60.832        .19502E-04** at limit **
   9  norm          1.9730        4.9245       -.19128E-05   -.99525E-03
  10  Prefactor     .10000E-03    2.8325       -.91452E-07** at limit **
  11  norm          .88697        .68572        .13270E-07   -.40463E-03
  12  norm          .10000E-03    1.4290        .35333E-07** at limit **
  13  Prefactor     .10000E-03    7.5259       -.48997E-06** at limit **
  14  Prefactor     .10000E-03    2.5198        .81912E-07** at limit **
  15  Prefactor     9.7669        6.1323        .48099E-06    .99527E-03
  16  Prefactor     .10000E-03    5.6618        .40899E-07** at limit **
  17  Prefactor     23.896        103.04        .17116E-04   -.64927E-05
  18  norm          .10000E-03    11.127       -.60150E-05** at limit **
  19  norm          3.5925        3.4557       -.72939E-07   -.21111E-03
  20  Prefactor     39.357        56.761        .17667E-04   -.15120E-04
  21  Prefactor     36.097        22.904        .38014E-06   -.59664E-04
  22  Prefactor     .10000E-03    9.5004        .31559E-05** at limit **
  23  Prefactor     9.1845        32.949        .79451E-05   -.42587E-04
  24  Prefactor     .10000E-03    63.377        .11487E-04** at limit **
  25  Prefactor     15.136        76.216       -.11654E-04    .41913E-05
  26  Prefactor     .10000E-03    74.943       -.40351E-04** at limit **
  27  Prefactor     .10000E-03    33.847       -.17867E-04** at limit **
  28  Normalizat    1.0635        .21209       -.48017E-05    .36289E-04
  29  Prefactor     .81416        .12545        .93357E-07   -.25028E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 42.7801
  Prefactor  = 25.7519
  Prefactor  = 35.4247
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.97304
  Prefactor  = 0.0001
  norm       = 0.886973
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.76694
  Prefactor  = 0.0001
  Prefactor  = 23.8962
  norm       = 0.0001
  norm       = 3.59248
  Prefactor  = 39.3568
  Prefactor  = 36.0966
  Prefactor  = 0.0001
  Prefactor  = 9.18446
  Prefactor  = 0.0001
  Prefactor  = 15.1356
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.06353
  Prefactor  = 0.814161
 **********
 **   18 **HESSE 
 **********

 FCN=   4985.553     FROM HESSE     STATUS=OK           547 CALLS     4746 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    17.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     42.780        51.003        .61306E-04   -1.4399    
   4  Prefactor     25.752        14.610        .78937E-04   -1.4693    
   5  Prefactor     35.425        18.981        .67333E-04   -1.4517    
   6  Prefactor     .10000E-03    43.256        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    37.260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    60.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.9730        4.9368        .23557E-03   -1.5427    
  10  Prefactor     .10000E-03    2.8576        .11591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .88697        .67028        .49459E-04   -1.5520    
  12  norm          .10000E-03    1.4604        .82339E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.5336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.5261        .10944E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.7669        6.1490        .64116E-03   -1.5083    
  16  Prefactor     .10000E-03    5.6761        .16403E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     23.896        104.05        .81958E-04   -1.4730    
  18  norm          .10000E-03    11.536        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.5925        3.4486        .12439E-03   -1.5329    
  20  Prefactor     39.357        56.628        .63904E-04   -1.4452    
  21  Prefactor     36.097        22.926        .66704E-04   -1.4506    
  22  Prefactor     .10000E-03    9.5604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.1845        33.063        .13230E-03   -1.5102    
  24  Prefactor     .10000E-03    63.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     15.136        76.810        .10293E-03   -1.4930    
  26  Prefactor     .10000E-03    74.762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    33.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.0635        .23943        .27277E-03   -.90932    
  29  Prefactor     .81416        .14084        .20170E-03   -.99208    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10839e-09
Minuit parameter uncertainties:
  1  1.00067e-05
  2  0.000209706
  3  51.0551
  4  14.6116
  5  18.9843
  6  0.000117321
  7  3.52574e-05
  8  3.61388e-05
  9  4.93781
  10  1.26389e-06
  11  0.67029
  12  2.9298e-06
  13  4.08145e-05
  14  2.17395e-06
  15  6.14937
  16  4.10356e-06
  17  100.02
  18  0.000140349
  19  3.44876
  20  56.7054
  21  22.9319
  22  1.49915e-05
  23  33.1293
  24  4.4551e-06
  25  68.3323
  26  0.000281485
  27  5.42021e-05
  28  0.239677
  29  0.1409
Done.

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

Extracting fit parameters...

4FGL J1153.0+8056
   Spectrum: PowerLaw
372    Prefactor:  1.000e-04  4.104e-06  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:  8.142e-01  1.409e-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.064e+00  2.397e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 178.266 80.936
Photon Flux Upper Limit: 9.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/124833/likelihoodResults_258768001_259027201_4FGL_J1153.0+8056_daily_bin75.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): 102
logL (Free Index) = 4985.5535423
delta logL = -0.000838680583001

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4985.55270384
delta logL = -2.17265551328e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8579       1.0000          .0000       10.000    
     3 'Normalizat'    1.0634       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81426       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4985.553     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      251 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    57.430        .16494E-01** at limit **
   2  Index         2.3785        8.0603        .50000        .21926E-06
   3  Normalizat    1.0635        .16325E-01    .27278E-03   -.25590E-04
   4  Prefactor     .81416        .10766E-01    .20170E-03   -.29760E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.37848
  Normalizat = 1.06352
  Prefactor  = 0.814163
 **********
 **   18 **HESSE 
 **********

 FCN=   4985.553     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      280 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    577.15        .17515E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3785        6.5919        .50000       -.55190    
   3  Normalizat    1.0635        .57913E-01    .10911E-04   -.90932    
   4  Prefactor     .81416        .38195E-01    .80681E-05   -.99208    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.3325e-09
Minuit parameter uncertainties:
  1  0.000145428
  2  1495.26
  3  0.0579163
  4  0.0381962
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/124833': 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): 102
logL (Free Index) = 4985.55270251
delta logL = 1.11001827463e-06

Extracting fit parameters...

4FGL J1153.0+8056
   Spectrum: PowerLaw
372    Prefactor:  1.000e-04  1.454e-04  1.000e-04  1.000e+04 ( 1.000e-12)
373        Index:  2.378e+00  1.495e+03  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:  8.142e-01  3.820e-02  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.064e+00  5.792e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 178.266 80.936

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/124833/cmap_HighResolution_258768001_259027201_4FGL_J1153.0+8056_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.70e-03', job_status='DONE', photon_flux_upper_limit='9.70e-08', time_completed='2021-09-04 14:06:09.690609', job_id='124833', GAL2='0.81', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1630789569.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.11e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.87' WHERE bin_id='75' AND source_name='4FGL J1153.0+8056' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 14:06:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 124833: <4FGL_J1153.0+8056_daily_bin75> in cluster <slac> Done

Job <4FGL_J1153.0+8056_daily_bin75> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep  4 13:52:19 2021
Job was executed on host(s) <bullet0095>, 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:06:10 2021
Results reported at Sat Sep  4 14:06:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.0+8056_daily_bin75 178.266 80.9357 258768001 259027201 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 :                                   696.45 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             306.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            831 sec.

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

