/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 1 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7618
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1153.4+4931_daily_bin676
RA = 178.35, Dec = 49.5169
tmin = 414547201, tmax = 414806401
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='152762', job_status='RUN', time_executed='2021-09-04 15:11:30.218743', time_epoch_executed='1630793490.22' WHERE source_name='4FGL J1153.4+4931' and cadence='daily' and bin_id='676'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/152762

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/152762/ft1_4FGL_J1153.4+4931_daily_bin676.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/152762/ft2_4FGL_J1153.4+4931_daily_bin676.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/152762/ft1_4FGL_J1153.4+4931_daily_bin676.fits outfile=/scratch/kocevski/152762/ft1_filteredMKT_4FGL_J1153.4+4931_daily_bin676.fits ra=178.35 dec=49.5169 rad=12.0 tmin=414547201.0 tmax=414806401.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 5.84
user 5.56
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/152762/ft1_filtered_4FGL_J1153.4+4931_daily_bin676.fits" evtable="EVENTS" scfile=/scratch/kocevski/152762/ft2_4FGL_J1153.4+4931_daily_bin676.fits sctable="SC_DATA" outfile=/scratch/kocevski/152762/ltcube_414547201_414806401_4FGL_J1153.4+4931_daily_bin676.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/152762/ft2_4FGL_J1153.4+4931_daily_bin676.fits
.....................!
real 11.94
user 11.60
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/152762/ft1_filtered_4FGL_J1153.4+4931_daily_bin676.fits evtable="EVENTS" scfile=/scratch/kocevski/152762/ft2_4FGL_J1153.4+4931_daily_bin676.fits sctable="SC_DATA" expcube=/scratch/kocevski/152762/ltcube_414547201_414806401_4FGL_J1153.4+4931_daily_bin676.fits outfile=/scratch/kocevski/152762/expmap_414547201_414806401_4FGL_J1153.4+4931_daily_bin676.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/152762/ltcube_414547201_414806401_4FGL_J1153.4+4931_daily_bin676.fits
.....................!
real 191.31
user 185.91
sys 5.05

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/152762/ft1_filtered_4FGL_J1153.4+4931_daily_bin676.fits scfile=/scratch/kocevski/152762/ft2_4FGL_J1153.4+4931_daily_bin676.fits outfile=/scratch/kocevski/152762/cmap_414547201_414806401_4FGL_J1153.4+4931_daily_bin676.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/152762/ft1_filtered_4FGL_J1153.4+4931_daily_bin676.fits scfile=/scratch/kocevski/152762/ft2_4FGL_J1153.4+4931_daily_bin676.fits outfile=/scratch/kocevski/152762/cmap_HighResolution_414547201_414806401_4FGL_J1153.4+4931_daily_bin676.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.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/152762/ft1_filtered_4FGL_J1153.4+4931_daily_bin676.fits', '/scratch/kocevski/152762/ft2_4FGL_J1153.4+4931_daily_bin676.fits', expMap='/scratch/kocevski/152762/expmap_414547201_414806401_4FGL_J1153.4+4931_daily_bin676.fits', expCube='/scratch/kocevski/152762/ltcube_414547201_414806401_4FGL_J1153.4+4931_daily_bin676.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/152762/Model_4FGL_J1153.4+4931_daily_bin676.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/152762/ft1_filtered_4FGL_J1153.4+4931_daily_bin676.fits
Spacecraft file(s): /scratch/kocevski/152762/ft2_4FGL_J1153.4+4931_daily_bin676.fits
Exposure map: /scratch/kocevski/152762/expmap_414547201_414806401_4FGL_J1153.4+4931_daily_bin676.fits
Exposure cube: /scratch/kocevski/152762/ltcube_414547201_414806401_4FGL_J1153.4+4931_daily_bin676.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/152762/Model_4FGL_J1153.4+4931_daily_bin676.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) = 5663.3072577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.388       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.177       1.0000         .10000E-03   10000.    
     4 'norm      '    3.9620       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.2695       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.603       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    36.198       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.3244       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .98479       1.0000         .10000E-03   10000.    
    12 'Prefactor '    80.149       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    12.433       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.8672       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.6097       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.4154       1.0000         .10000E-03   10000.    
    22 'norm      '    5.3097       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.3010       1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    8.2364       1.0000         .10000E-03   10000.    
    27 'norm      '    7.1016       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .95967       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0170       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5663.298     FROM MIGRAD    STATUS=CONVERGED    699 CALLS     3664 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.393        62.341       -.43417E-06    .84553E-05
   2  Prefactor     .10000E-03    35.561       -.37343E-06** at limit **
   3  Prefactor     18.177        66.188        .68058E-07    .57154E-06
   4  norm          3.9620        2.1563       -.32159E-07    .79497E-04
   5  Prefactor     5.2133        146.97       -.17798E-05   -.27977E-04
   6  Prefactor     12.605        24.198       -.15706E-06    .14410E-04
   7  Prefactor     .10000E-03    21.251       -.15853E-06** at limit **
   8  norm          36.191        49.169        .90908E-07   -.12388E-04
   9  Prefactor     3.3234        7.2412        .47412E-06   -.27987E-04
  10  Prefactor     .10000E-03    8.5984        .96008E-07** at limit **
  11  norm          .98212        5.9958        .19774E-05    .10853E-03
  12  Prefactor     80.165        81.133       -.63621E-05   -.16865E-04
  13  norm          .10000E-03    7.9902        .57572E-07** at limit **
  14  norm          12.434        2.4001       -.79615E-08   -.27788E-03
  15  norm          .10000E-03    3.4145        .42644E-07** at limit **
  16  Prefactor     1.8667        3.0112        .30655E-06   -.73982E-04
  17  Prefactor     .10000E-03    25.367        .29726E-06** at limit **
  18  norm          3.6095        3.2699        .35543E-07   -.68872E-05
  19  Prefactor     .10000E-03    9.0599        .23949E-07** at limit **
  20  Prefactor     .10000E-03    2.8604        .64172E-07** at limit **
  21  norm          1.4151        1.8940        .15418E-06   -.74702E-04
  22  norm          5.3094        5.8077        .85079E-07   -.23292E-04
  23  Prefactor     .10000E-03    7.7939        .36769E-07** at limit **
  24  Prefactor     3.3008        4.4358        .13901E-06   -.36852E-07
  25  norm          .10000E-03    1.0424        .73574E-07** at limit **
  26  Prefactor     8.2345        11.487        .65654E-06   -.65098E-04
  27  norm          7.1014        3.1096        .18698E-07   -.18364E-04
  28  Normalizat    .95980        .18902        .80342E-06   -.14006E-03
  29  Prefactor     1.0169        .22746       -.23418E-05    .70562E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.3934
  Prefactor  = 0.0001
  Prefactor  = 18.1768
  norm       = 3.96196
  Prefactor  = 5.21325
  Prefactor  = 12.6054
  Prefactor  = 0.0001
  norm       = 36.1908
  Prefactor  = 3.32338
  Prefactor  = 0.0001
  norm       = 0.982115
  Prefactor  = 80.1651
  norm       = 0.0001
  norm       = 12.4343
  norm       = 0.0001
  Prefactor  = 1.86673
  Prefactor  = 0.0001
  norm       = 3.60953
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.41514
  norm       = 5.30938
  Prefactor  = 0.0001
  Prefactor  = 3.30076
  norm       = 0.0001
  Prefactor  = 8.23453
  norm       = 7.10145
  Normalizat = 0.959795
  Prefactor  = 1.01695
 **********
 **   18 **HESSE 
 **********

 FCN=   5663.298     FROM HESSE     STATUS=OK           557 CALLS     4221 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.393        62.301        .86608E-04   -1.4783    
   2  Prefactor     .10000E-03    35.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.177        66.201        .93942E-04   -1.4855    
   4  norm          3.9620        2.1552        .77734E-04   -1.5310    
   5  Prefactor     5.2133        147.87        .17510E-03   -1.5251    
   6  Prefactor     12.605        24.194        .11283E-03   -1.4998    
   7  Prefactor     .10000E-03    21.247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          36.191        49.185        .66611E-04   -1.4504    
   9  Prefactor     3.3234        7.2332        .22201E-03   -1.5343    
  10  Prefactor     .10000E-03    8.6070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .98212        10.526        .29405E-02   -1.5510    
  12  Prefactor     80.165        82.375        .44861E-04   -1.3915    
  13  norm          .10000E-03    8.0034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          12.434        2.4114        .43911E-04   -1.5003    
  15  norm          .10000E-03    3.4168        .13582E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8667        2.9895        .15752E-03   -1.5435    
  17  Prefactor     .10000E-03    25.379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.6095        3.2682        .12568E-03   -1.5328    
  19  Prefactor     .10000E-03    9.0765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.8710        .12427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.4151        1.8713        .11382E-03   -1.5470    
  22  norm          5.3094        5.8041        .17442E-03   -1.5247    
  23  Prefactor     .10000E-03    7.8047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.3008        4.4235        .17821E-03   -1.5345    
  25  norm          .10000E-03    1.0433        .74977E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     8.2345        11.467        .69847E-03   -1.5134    
  27  norm          7.1014        3.1101        .85063E-04   -1.5175    
  28  Normalizat    .95980        .22489        .24030E-03   -.94390    
  29  Prefactor     1.0169        .26539        .29821E-03   -.92167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.13524e-10
Minuit parameter uncertainties:
  1  62.4917
  2  1.48996e-05
  3  66.4708
  4  2.15529
  5  55.6806
  6  24.2128
  7  4.10364e-05
  8  49.2401
  9  7.23507
  10  7.44568e-06
  11  6.43157
  12  82.4929
  13  4.31924e-06
  14  2.41144
  15  1.96723e-06
  16  2.98976
  17  0.000104633
  18  3.26839
  19  1.13378e-05
  20  8.51752e-07
  21  1.87141
  22  5.80469
  23  9.28796e-06
  24  4.4239
  25  1.24968e-06
  26  11.4705
  27  3.11017
  28  0.225109
  29  0.265736
Done.

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

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  1.867e+00  2.990e+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.017e+00  2.657e-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.598e-01  2.251e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.52
Ra Dec: 178.350 49.517
Photon Flux Upper Limit: 8.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.95e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/152762/likelihoodResults_414547201_414806401_4FGL_J1153.4+4931_daily_bin676.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) = 5663.282053
delta logL = 0.0154528193789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5663.27938501
delta logL = 0.0181208158983

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5663.279     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      239 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6503        3.2235        .14082E-03   -.74194E-04
   2  Index         2.6348        1.2790        .10815E-01    .13121E-04
   3  Normalizat    .95438        .20805        .24092E-03   -.73238E-04
   4  Prefactor     1.0212        .26329        .29768E-03   -.70578E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.65031
  Index      = 2.63478
  Normalizat = 0.954379
  Prefactor  = 1.02118
 **********
 **   18 **HESSE 
 **********

 FCN=   5663.279     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6503        3.0043        .56327E-05   -1.5451    
   2  Index         2.6348        1.1933        .43261E-03   -.49274    
   3  Normalizat    .95438        .20807        .96367E-05   -.94575    
   4  Prefactor     1.0212        .26329        .11907E-04   -.92027    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53645e-11
Minuit parameter uncertainties:
  1  3.00457
  2  1.2084
  3  0.208248
  4  0.263619
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/152762': 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) = 5663.27938416
delta logL = 0.0181216561878

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  1.650e+00  3.005e+00  1.000e-04  1.000e+04 ( 1.000e-12)
363        Index:  2.635e+00  1.208e+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:  1.021e+00  2.636e-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.544e-01  2.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.52
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/152762/cmap_HighResolution_414547201_414806401_4FGL_J1153.4+4931_daily_bin676.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.95e-03', job_status='DONE', photon_flux_upper_limit='8.99e-08', time_completed='2021-09-04 15:26:14.998283', job_id='152762', GAL2='1.02', fit_tolerance='1e-08', EG2='0.95', EG='0.96', time_epoch_completed='1630794375.0', return_code2='0', ts='0.52', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.81e-02', ts2='0.55', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='676' AND source_name='4FGL J1153.4+4931' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:26:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 152762: <4FGL_J1153.4+4931_daily_bin676> in cluster <slac> Done

Job <4FGL_J1153.4+4931_daily_bin676> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 15:11:20 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 15:11:21 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:21 2021
Terminated at Sat Sep  4 15:26:17 2021
Results reported at Sat Sep  4 15:26:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.4+4931_daily_bin676 178.35 49.5169 414547201 414806401 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 :                                   882.07 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             305.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   894 sec.
    Turnaround time :                            897 sec.

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

