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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin853
RA = 177.656, Dec = 41.9096
tmin = 460425601, tmax = 460684801
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='112248', job_status='RUN', time_executed='2021-09-04 13:16:55.948402', time_epoch_executed='1630786615.95' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='853'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/112248

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/112248/ft1_4FGL_J1150.6+4154_daily_bin853.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/112248/ft2_4FGL_J1150.6+4154_daily_bin853.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/112248/ft1_4FGL_J1150.6+4154_daily_bin853.fits outfile=/scratch/kocevski/112248/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin853.fits ra=177.656 dec=41.9096 rad=12.0 tmin=460425601.0 tmax=460684801.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.36
user 3.13
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/112248/ft2_4FGL_J1150.6+4154_daily_bin853.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/112248/ft2_4FGL_J1150.6+4154_daily_bin853.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/112248/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin853.fits evtable="EVENTS" outfile="/scratch/kocevski/112248/ft1_filtered_4FGL_J1150.6+4154_daily_bin853.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.50
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/112248/ft1_filtered_4FGL_J1150.6+4154_daily_bin853.fits" evtable="EVENTS" scfile=/scratch/kocevski/112248/ft2_4FGL_J1150.6+4154_daily_bin853.fits sctable="SC_DATA" outfile=/scratch/kocevski/112248/ltcube_460425601_460684801_4FGL_J1150.6+4154_daily_bin853.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/112248/ft2_4FGL_J1150.6+4154_daily_bin853.fits
.....................!
real 11.67
user 11.32
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/112248/ft1_filtered_4FGL_J1150.6+4154_daily_bin853.fits evtable="EVENTS" scfile=/scratch/kocevski/112248/ft2_4FGL_J1150.6+4154_daily_bin853.fits sctable="SC_DATA" expcube=/scratch/kocevski/112248/ltcube_460425601_460684801_4FGL_J1150.6+4154_daily_bin853.fits outfile=/scratch/kocevski/112248/expmap_460425601_460684801_4FGL_J1150.6+4154_daily_bin853.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/112248/ltcube_460425601_460684801_4FGL_J1150.6+4154_daily_bin853.fits
.....................!
real 191.11
user 186.02
sys 4.63

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

Setting source of interest to:
4FGL J1150.6+4154 @ 177.656 41.9096

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/112248/ft1_filtered_4FGL_J1150.6+4154_daily_bin853.fits scfile=/scratch/kocevski/112248/ft2_4FGL_J1150.6+4154_daily_bin853.fits outfile=/scratch/kocevski/112248/cmap_460425601_460684801_4FGL_J1150.6+4154_daily_bin853.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=177.656 yref=41.9096 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/112248/ft1_filtered_4FGL_J1150.6+4154_daily_bin853.fits scfile=/scratch/kocevski/112248/ft2_4FGL_J1150.6+4154_daily_bin853.fits outfile=/scratch/kocevski/112248/cmap_HighResolution_460425601_460684801_4FGL_J1150.6+4154_daily_bin853.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=177.656 yref=41.9096 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/112248/ft1_filtered_4FGL_J1150.6+4154_daily_bin853.fits evtable="EVENTS" scfile=/scratch/kocevski/112248/ft2_4FGL_J1150.6+4154_daily_bin853.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/112248/Model_4FGL_J1150.6+4154_daily_bin853.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/112248/ft1_filtered_4FGL_J1150.6+4154_daily_bin853.fits.....................!
real 59.70
user 58.34
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/112248/ft1_filtered_4FGL_J1150.6+4154_daily_bin853.fits', '/scratch/kocevski/112248/ft2_4FGL_J1150.6+4154_daily_bin853.fits', expMap='/scratch/kocevski/112248/expmap_460425601_460684801_4FGL_J1150.6+4154_daily_bin853.fits', expCube='/scratch/kocevski/112248/ltcube_460425601_460684801_4FGL_J1150.6+4154_daily_bin853.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/112248/Model_4FGL_J1150.6+4154_daily_bin853.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1150.6+4154'

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  5.203e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.619e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
331         beta:  1.025e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/112248/ft1_filtered_4FGL_J1150.6+4154_daily_bin853.fits
Spacecraft file(s): /scratch/kocevski/112248/ft2_4FGL_J1150.6+4154_daily_bin853.fits
Exposure map: /scratch/kocevski/112248/expmap_460425601_460684801_4FGL_J1150.6+4154_daily_bin853.fits
Exposure cube: /scratch/kocevski/112248/ltcube_460425601_460684801_4FGL_J1150.6+4154_daily_bin853.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/112248/Model_4FGL_J1150.6+4154_daily_bin853.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) = 6884.98023848

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.294       1.0000         .10000E-03   10000.    
     2 'norm      '    1.7837       1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.624       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.5259       1.0000         .10000E-03   10000.    
     5 'Prefactor '    44.823       1.0000         .10000E-03   10000.    
     6 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    20.844       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.8541       1.0000         .10000E-03   10000.    
    12 'Prefactor '    36.256       1.0000         .10000E-03   10000.    
    13 'norm      '    .60746       1.0000         .10000E-03   10000.    
    14 'norm      '    7.0482       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.813       1.0000         .10000E-03   10000.    
    18 'Prefactor '    39.159       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.8575       1.0000         .10000E-03   10000.    
    21 'norm      '    .86747       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10240E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3538       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .64774       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6884.973     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2687 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.296        79.550        .96778E-06    .15558E-05
   2  norm          1.7837        .37262       -.19190E-07   -.29894E-04
   3  Prefactor     30.630        17.441        .93473E-06    .64644E-04
   4  Prefactor     6.5255        10.547       -.15902E-06   -.22319E-04
   5  Prefactor     44.825        47.734        .40387E-06    .54141E-05
   6  norm          .10000E-03    9.4910        .22585E-06** at limit **
   7  norm          20.843        27.482       -.99658E-07   -.33524E-05
   8  Prefactor     .10000E-03    .97667        .58105E-07** at limit **
   9  Prefactor     .10000E-03    12.770        .36200E-06** at limit **
  10  norm          .10000E-03    .59568        .48777E-07** at limit **
  11  Prefactor     3.8543        3.9062       -.10365E-06   -.11034E-03
  12  Prefactor     36.267        39.283        .10150E-05    .25559E-04
  13  norm          .60743        .82932        .43234E-06    .30427E-03
  14  norm          7.0479        7.3875       -.74819E-07   -.10759E-04
  15  Prefactor     .10000E-03    17.691        .48561E-07** at limit **
  16  Prefactor     .10000E-03    2.3789       -.36992E-06** at limit **
  17  Prefactor     14.813        32.095       -.10746E-05   -.14206E-04
  18  Prefactor     39.150        20.749       -.11102E-05   -.95907E-04
  19  Prefactor     .10000E-03    12.205       -.37128E-06** at limit **
  20  Prefactor     6.8584        6.1020        .19246E-07   -.13727E-04
  21  norm          .86539        4.8013        .15517E-05   -.16570E-03
  22  Prefactor     .10000E-03    17.669       -.52672E-06** at limit **
  23  Normalizat    1.3536        .16385       -.76325E-06   -.44396E-05
  24  Prefactor     .64798        .18587        .46345E-06   -.55825E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.2964
  norm       = 1.78374
  Prefactor  = 30.6303
  Prefactor  = 6.5255
  Prefactor  = 44.8245
  norm       = 0.0001
  norm       = 20.8433
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.85432
  Prefactor  = 36.2674
  norm       = 0.607431
  norm       = 7.0479
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.8134
  Prefactor  = 39.1502
  Prefactor  = 0.0001
  Prefactor  = 6.85843
  norm       = 0.865388
  Prefactor  = 0.0001
  Normalizat = 1.35356
  Prefactor  = 0.647982
 **********
 **   18 **HESSE 
 **********

 FCN=   6884.973     FROM HESSE     STATUS=OK           397 CALLS     3084 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.296        79.870        .58930E-04   -1.4346    
   2  norm          1.7837        .37417        .21675E-04   -1.5441    
   3  Prefactor     30.630        17.531        .72403E-04   -1.4601    
   4  Prefactor     6.5255        10.552        .15710E-03   -1.5197    
   5  Prefactor     44.825        47.743        .59884E-04   -1.4368    
   6  norm          .10000E-03    9.5303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          20.843        27.482        .87731E-04   -1.4795    
   8  Prefactor     .10000E-03    1.0003        .15995E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .59931        .62492E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.8543        3.9122        .15952E-03   -1.5315    
  12  Prefactor     36.267        38.767        .66558E-04   -1.4503    
  13  norm          .60743        .78269        .81820E-03   -1.5552    
  14  norm          7.0479        7.3851        .15110E-03   -1.5177    
  15  Prefactor     .10000E-03    17.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.4055        .24757E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.813        31.935        .10407E-03   -1.4938    
  18  Prefactor     39.150        20.934        .64052E-04   -1.4456    
  19  Prefactor     .10000E-03    12.229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.8584        6.1087        .15321E-03   -1.5184    
  21  norm          .86539        4.9789        .35981E-03   -1.5522    
  22  Prefactor     .10000E-03    17.800        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3536        .18911        .21425E-03   -.81981    
  24  Prefactor     .64798        .21238        .34918E-03   -1.0560    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59619e-10
Minuit parameter uncertainties:
  1  80.0555
  2  0.374174
  3  17.534
  4  10.5547
  5  47.7838
  6  2.4449e-05
  7  27.4989
  8  2.07834e-06
  9  4.3679e-06
  10  1.94841e-06
  11  3.91245
  12  38.7936
  13  0.782707
  14  7.38605
  15  1.15453e-05
  16  2.90211e-05
  17  31.972
  18  20.9376
  19  8.52852e-06
  20  6.10927
  21  4.15174
  22  7.60197e-06
  23  0.189204
  24  0.212642
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  7.048e+00  7.386e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.619e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
331         beta:  1.025e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  6.480e-01  2.126e-01  0.000e+00  1.000e+01 ( 1.000e+00)
673        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
674        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
671   Normalization:  1.354e+00  1.892e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.65
Ra Dec: 177.656 41.910
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 8.97e-09 +/- 9.40e-09
Energy Flux (Fixed Index): 1.59e-05 +/- 1.66e-05

TS (Fixed Index): 2.65
Ra Dec: 177.656 41.910
Photon Flux Upper Limit: 3.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.64e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/112248/likelihoodResults_460425601_460684801_4FGL_J1150.6+4154_daily_bin853.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) = 6884.79499818
delta logL = 0.178449191812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6884.79319748
delta logL = 0.180249883271

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.6775       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0779       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3495       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64605       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+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=   6884.793     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      255 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.6788        7.1131        .15528E-03    .68014E-04
   2  alpha         2.0778        .73677        .16606E-01    .17319E-03
   3  Normalizat    1.3495        .17971        .21447E-03   -.16760E-03
   4  Prefactor     .64606        .21057        .34947E-03   -.89884E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.67879
  alpha      = 2.07776
  Normalizat = 1.34946
  Prefactor  = 0.646059
 **********
 **   18 **HESSE 
 **********

 FCN=   6884.793     FROM HESSE     STATUS=OK            25 CALLS      280 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.6788        6.9485        .62114E-05   -1.5191    
   2  alpha         2.0778        .72030        .33212E-02   -.16971    
   3  Normalizat    1.3495        .17977        .42895E-04   -.82102    
   4  Prefactor     .64606        .21068        .13979E-04   -1.0568    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.72427e-11
Minuit parameter uncertainties:
  1  6.94934
  2  0.730978
  3  0.179849
  4  0.210939
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/112248': 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) = 6884.79319745
delta logL = 0.18024991988

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  6.679e+00  6.949e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  2.078e+00  7.310e-01  0.000e+00  5.000e+00 ( 1.000e+00)
331         beta:  1.025e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
332           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  6.461e-01  2.109e-01  0.000e+00  1.000e+01 ( 1.000e+00)
673        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
674        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
671   Normalization:  1.349e+00  1.798e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.01
Ra Dec: 177.656 41.910
Photon Index (Free Index): 2.08 +/- 0.73
Photon Flux (Free Index): 1.71e-08 +/- 2.18e-08
Energy Flux (Free Index): 1.12e-05 +/- 1.16e-05

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/112248/cmap_HighResolution_460425601_460684801_4FGL_J1150.6+4154_daily_bin853.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.64e-05', comment='SUCCESS', photon_flux='8.97e-09', energy_flux2='1.12e-05', photon_flux_error='9.40e-09', dlogl='1.80e-01', energy_flux='1.59e-05', photon_flux2='1.71e-08', job_status='DONE', time_completed='2021-09-04 13:30:31.368807', photon_index_error2='0.73', photon_index2='2.08', ts='2.65', fit_tolerance='1e-08', GAL='0.65', photon_index_error='0.00', photon_flux_upper_limit='3.75e-08', energy_flux_error2='1.16e-05', EG='1.35', time_epoch_completed='1630787431.37', return_code='0', job_id='112248', GAL2='0.65', EG2='1.35', return_code2='0', energy_flux_error='1.66e-05', photon_flux_error2='2.18e-08', ts2='3.01', photon_index='1.62' WHERE bin_id='853' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:30:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 112248: <4FGL_J1150.6+4154_daily_bin853> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin853> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Sep  4 13:16:39 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:16:41 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:16:41 2021
Terminated at Sat Sep  4 13:30:32 2021
Results reported at Sat Sep  4 13:30:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin853 177.656 41.9096 460425601 460684801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1150.6+4154 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   813.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            833 sec.

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

