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


Performing analysis on: 4FGL_J1153.4+4931_daily_bin651
RA = 178.35, Dec = 49.5169
tmin = 408067201, tmax = 408326401
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='152720', job_status='RUN', time_executed='2021-09-04 15:15:18.754587', time_epoch_executed='1630793718.75' WHERE source_name='4FGL J1153.4+4931' and cadence='daily' and bin_id='651'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/152720

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/152720/ft1_4FGL_J1153.4+4931_daily_bin651.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/152720/ft2_4FGL_J1153.4+4931_daily_bin651.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/152720/ft1_4FGL_J1153.4+4931_daily_bin651.fits outfile=/scratch/kocevski/152720/ft1_filteredMKT_4FGL_J1153.4+4931_daily_bin651.fits ra=178.35 dec=49.5169 rad=12.0 tmin=408067201.0 tmax=408326401.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.88
user 3.63
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/152720/ft2_4FGL_J1153.4+4931_daily_bin651.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/152720/ft2_4FGL_J1153.4+4931_daily_bin651.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/152720/ft1_filteredMKT_4FGL_J1153.4+4931_daily_bin651.fits evtable="EVENTS" outfile="/scratch/kocevski/152720/ft1_filtered_4FGL_J1153.4+4931_daily_bin651.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.30
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/152720/ft1_filtered_4FGL_J1153.4+4931_daily_bin651.fits" evtable="EVENTS" scfile=/scratch/kocevski/152720/ft2_4FGL_J1153.4+4931_daily_bin651.fits sctable="SC_DATA" outfile=/scratch/kocevski/152720/ltcube_408067201_408326401_4FGL_J1153.4+4931_daily_bin651.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/152720/ft2_4FGL_J1153.4+4931_daily_bin651.fits
.....................!
real 11.52
user 11.17
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/152720/ft1_filtered_4FGL_J1153.4+4931_daily_bin651.fits evtable="EVENTS" scfile=/scratch/kocevski/152720/ft2_4FGL_J1153.4+4931_daily_bin651.fits sctable="SC_DATA" expcube=/scratch/kocevski/152720/ltcube_408067201_408326401_4FGL_J1153.4+4931_daily_bin651.fits outfile=/scratch/kocevski/152720/expmap_408067201_408326401_4FGL_J1153.4+4931_daily_bin651.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/152720/ltcube_408067201_408326401_4FGL_J1153.4+4931_daily_bin651.fits
.....................!
real 190.34
user 185.51
sys 4.47

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

Setting source of interest to:
4FGL J1153.4+4931 @ 178.35 49.5169

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/152720/ft1_filtered_4FGL_J1153.4+4931_daily_bin651.fits scfile=/scratch/kocevski/152720/ft2_4FGL_J1153.4+4931_daily_bin651.fits outfile=/scratch/kocevski/152720/cmap_408067201_408326401_4FGL_J1153.4+4931_daily_bin651.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.35 yref=49.5169 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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/152720/ft1_filtered_4FGL_J1153.4+4931_daily_bin651.fits scfile=/scratch/kocevski/152720/ft2_4FGL_J1153.4+4931_daily_bin651.fits outfile=/scratch/kocevski/152720/cmap_HighResolution_408067201_408326401_4FGL_J1153.4+4931_daily_bin651.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.35 yref=49.5169 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.54
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/152720/ft1_filtered_4FGL_J1153.4+4931_daily_bin651.fits evtable="EVENTS" scfile=/scratch/kocevski/152720/ft2_4FGL_J1153.4+4931_daily_bin651.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/152720/Model_4FGL_J1153.4+4931_daily_bin651.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/152720/ft1_filtered_4FGL_J1153.4+4931_daily_bin651.fits........................!
real 17.81
user 16.51
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/152720/ft1_filtered_4FGL_J1153.4+4931_daily_bin651.fits', '/scratch/kocevski/152720/ft2_4FGL_J1153.4+4931_daily_bin651.fits', expMap='/scratch/kocevski/152720/expmap_408067201_408326401_4FGL_J1153.4+4931_daily_bin651.fits', expCube='/scratch/kocevski/152720/ltcube_408067201_408326401_4FGL_J1153.4+4931_daily_bin651.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/152720/Model_4FGL_J1153.4+4931_daily_bin651.xml', optimizer='MINUIT')

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

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  3.122e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
363        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  7.717e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/152720/ft1_filtered_4FGL_J1153.4+4931_daily_bin651.fits
Spacecraft file(s): /scratch/kocevski/152720/ft2_4FGL_J1153.4+4931_daily_bin651.fits
Exposure map: /scratch/kocevski/152720/expmap_408067201_408326401_4FGL_J1153.4+4931_daily_bin651.fits
Exposure cube: /scratch/kocevski/152720/ltcube_408067201_408326401_4FGL_J1153.4+4931_daily_bin651.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/152720/Model_4FGL_J1153.4+4931_daily_bin651.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 602.989538689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 600.51468733

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4027       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.7572       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.3274       1.0000         .10000E-03   10000.    
     4 'norm      '    2.5251       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.1701       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.7144       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .93804       1.0000         .10000E-03   10000.    
     8 'norm      '    2.9859       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.9060       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.7272       1.0000         .10000E-03   10000.    
    11 'norm      '    12.067       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .60611E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    2.0568       1.0000         .10000E-03   10000.    
    14 'norm      '    10.465       1.0000         .10000E-03   10000.    
    15 'norm      '    21.189       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.7257       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10925E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    1.8412       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .31114E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.2788       1.0000         .10000E-03   10000.    
    21 'norm      '    .41684E-01   1.0000         .10000E-03   10000.    
    22 'norm      '    .23730E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    215.60       1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.1042       1.0000         .10000E-03   10000.    
    25 'norm      '    3.6111       1.0000         .10000E-03   10000.    
    26 'Prefactor '    173.62       1.0000         .10000E-03   10000.    
    27 'norm      '    .10246E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .12250       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .96365       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   600.4765     FROM MIGRAD    STATUS=CONVERGED    256 CALLS      534 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .51387E-02    1270.9        .36852E-02    .26712E-02
   2  Prefactor     5.7572        1.0038         .0000         .0000    
   3  Prefactor     178.67        4.6007        .68831E-04    .18331E-02
   4  norm          2.5251        1.0211         .0000         .0000    
   5  Prefactor     5.4238        .77036       -.63295E-05    .69568E-02
   6  Prefactor     2.7144        1.0181         .0000         .0000    
   7  Prefactor     .12680E-03    .41892        .60631E-04** at limit **
   8  norm          .18678E-03    .86245E-01   -.10270E-04** at limit **
   9  Prefactor     1.9060        1.0394         .0000         .0000    
  10  Prefactor     9.7272        1.0013         .0000         .0000    
  11  norm          11.936        .99542        .16031E-06   -.35875E-03
  12  Prefactor     .10000E-03    .22384       -.36596E-06** at limit **
  13  norm          2.0568        1.0331         .0000         .0000    
  14  norm          10.582        1.0067        .54188E-06   -.47946E-03
  15  norm          21.193        1.0004       -.84051E-06   -.10430E-03
  16  Prefactor     6.7133        1.0019       -.76516E-05   -.72554E-05
  17  Prefactor     .10000E-03    .20600        .10141E-05** at limit **
  18  norm          1.8412        1.0427         .0000         .0000    
  19  Prefactor     .10000E-03    .28554        .23770E-05** at limit **
  20  Prefactor     3.2788        1.0121         .0000         .0000    
  21  norm          .10000E-03    .21295       -.51565E-06** at limit **
  22  norm          .10000E-03    .25173       -.12233E-06** at limit **
  23  Prefactor     220.22        1.0104        .31987E-05   -.37639E-01
  24  Prefactor     1.1042        1.1851         .0000         .0000    
  25  norm          3.6111        1.0099         .0000         .0000    
  26  Prefactor     179.37        1.0161        .31226E-05   -.11759E-01
  27  norm          .10000E-03    .20571       -.83408E-07** at limit **
  28  Normalizat    .40403E-01    .28297       -.27033E-03   -.39456E-04
  29  Prefactor     1.0097        1.3325        .38800E-04   -.18903E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0051387
  Prefactor  = 5.75724
  Prefactor  = 178.671
  norm       = 2.52509
  Prefactor  = 5.42379
  Prefactor  = 2.71437
  Prefactor  = 0.000126799
  norm       = 0.00018678
  Prefactor  = 1.90603
  Prefactor  = 9.72722
  norm       = 11.9361
  Prefactor  = 0.0001
  norm       = 2.05675
  norm       = 10.5822
  norm       = 21.1931
  Prefactor  = 6.71331
  Prefactor  = 0.0001
  norm       = 1.84122
  Prefactor  = 0.0001
  Prefactor  = 3.27881
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 220.224
  Prefactor  = 1.10422
  norm       = 3.61115
  Prefactor  = 179.374
  norm       = 0.0001
  Normalizat = 0.0404034
  Prefactor  = 1.00967
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   600.4765     FROM HESSE     STATUS=FAILED        13 CALLS      547 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .51387E-02    1270.9        .36852E-02   -1.5694    
   2  Prefactor     524.20        518.40         .0000       -1.5228    
   3  Prefactor     178.67        4.6007        .68831E-04   -1.3027    
   4  norm          2.5251        1.0211         .0000       -1.5390    
   5  Prefactor     5.4238        .77036       -.63295E-05   -1.5242    
   6  Prefactor     2.7144        1.0181         .0000       -1.5378    
   7  Prefactor     .12680E-03    .41892        .60631E-04   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .18678E-03    .86245E-01   -.10270E-04   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.9060        1.0394         .0000       -1.5432    
  10  Prefactor     9.7272        1.0013         .0000       -1.5084    
  11  norm          11.936        .99542        .16031E-06   -1.5017    
  12  Prefactor     .10000E-03    .22384       -.36596E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.0568        1.0331         .0000       -1.5421    
  14  norm          10.582        1.0067        .54188E-06   -1.5057    
  15  norm          21.193        1.0004       -.84051E-06   -1.4787    
  16  Prefactor     6.7133        1.0019       -.76516E-05   -1.5190    
  17  Prefactor     .10000E-03    .20600        .10141E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.8412        1.0427         .0000       -1.5437    
  19  Prefactor     .10000E-03    .28554        .23770E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.2788        1.0121         .0000       -1.5346    
  21  norm          .10000E-03    .21295       -.51565E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    .25173       -.12233E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     220.22        1.0104        .31987E-05   -1.2729    
  24  Prefactor     1.1042        1.1851         .0000       -1.5498    
  25  norm          3.6111        1.0099         .0000       -1.5328    
  26  Prefactor     179.37        1.0161        .31226E-05   -1.3021    
  27  norm          .10000E-03    .20571       -.83408E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .40403E-01    .28297       -.27033E-03   -1.4604    
  29  Prefactor     1.0097        1.3325        .38800E-04   -.92408    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.28905e-09
Minuit parameter uncertainties:
  1  5.17486
  2  1.00382
  3  4.60075
  4  1.02109
  5  0.770356
  6  1.01806
  7  0.00670132
  8  0.00547152
  9  1.03938
  10  1.00133
  11  0.995419
  12  1.31119e-06
  13  1.03311
  14  1.00674
  15  1.00038
  16  1.00187
  17  1.82654e-06
  18  1.04267
  19  2.71145e-06
  20  1.01213
  21  5.47828e-06
  22  4.3229e-06
  23  1.01043
  24  1.18513
  25  1.00992
  26  1.01614
  27  2.02878e-06
  28  0.186686
  29  1.38023
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 600.476458642

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  6.713e+00  1.002e+00  1.000e-04  1.000e+04 ( 1.000e-12)
363        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  7.717e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
702    Prefactor:  1.010e+00  1.380e+00  0.000e+00  1.000e+01 ( 1.000e+00)
703        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
704        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
701   Normalization:  4.040e-02  1.867e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 178.350 49.517
Photon Flux Upper Limit: 1.15e-06 ph cm-2 s-1
Energy Flux Upper Limit: 8.92e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/152720/likelihoodResults_408067201_408326401_4FGL_J1153.4+4931_daily_bin651.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) = 600.383635804
delta logL = 0.0928228381351

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 600.347635724
delta logL = 0.128822917591

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   600.3476     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      240 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.466        31.610        .26364E-02    .10504E-03
   2  Index         1.6403        1.0557        .16428       -.44796E-05
   3  Normalizat    .92376E-01    1.5649        .33444E-01    .13904E-04
   4  Prefactor     .93471        .82160        .45445E-01   -.12037E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.4656
  Index      = 1.64034
  Normalizat = 0.092376
  Prefactor  = 0.934713
 **********
 **   18 **HESSE 
 **********

 FCN=   600.3476     FROM HESSE     STATUS=OK            33 CALLS      273 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.466        31.966        .52729E-03   -1.4947    
   2  Index         1.6403        1.1441        .67415E-02   -.73681    
   3  Normalizat    .92376E-01    1.2880        .79259E-03   -1.3889    
   4  Prefactor     .93471        .74207        .27315E-03   -.94938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.89746e-11
Minuit parameter uncertainties:
  1  32.004
  2  1.16309
  3  0.669396
  4  0.750354
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/152720': 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) = 600.347634674
delta logL = 0.128823968143

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  1.447e+01  3.200e+01  1.000e-04  1.000e+04 ( 1.000e-12)
363        Index:  1.640e+00  1.163e+00  0.000e+00  1.000e+01 (-1.000e+00)
364        Scale:  7.717e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
702    Prefactor:  9.347e-01  7.504e-01  0.000e+00  1.000e+01 ( 1.000e+00)
703        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
704        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
701   Normalization:  9.238e-02  6.694e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 178.350 49.517

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/152720/cmap_HighResolution_408067201_408326401_4FGL_J1153.4+4931_daily_bin651.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.92e-02', job_status='DONE', photon_flux_upper_limit='1.15e-06', time_completed='2021-09-04 15:21:02.676564', job_id='152720', GAL2='0.93', fit_tolerance='1e-08', EG2='0.09', EG='0.04', time_epoch_completed='1630794062.68', return_code2='0', ts='0.06', comment='SUCCESS', return_code='101', GAL='1.01', dlogl='1.29e-01', ts2='0.34', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='651' AND source_name='4FGL J1153.4+4931' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:21:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 152720: <4FGL_J1153.4+4931_daily_bin651> in cluster <slac> Done

Job <4FGL_J1153.4+4931_daily_bin651> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 15:11:16 2021
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 15:11:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 15:11:18 2021
Terminated at Sat Sep  4 15:21:03 2021
Results reported at Sat Sep  4 15:21:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.4+4931_daily_bin651 178.35 49.5169 408067201 408326401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1153.4+4931 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   342.31 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   584 sec.
    Turnaround time :                            587 sec.

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

