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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1117
RA = 177.656, Dec = 41.9096
tmin = 528854401, tmax = 529113601
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='113576', job_status='RUN', time_executed='2021-09-04 13:23:58.526670', time_epoch_executed='1630787038.53' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1117'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/113576

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/113576/ft1_4FGL_J1150.6+4154_daily_bin1117.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/113576/ft2_4FGL_J1150.6+4154_daily_bin1117.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/113576/ft1_4FGL_J1150.6+4154_daily_bin1117.fits outfile=/scratch/kocevski/113576/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1117.fits ra=177.656 dec=41.9096 rad=12.0 tmin=528854401.0 tmax=529113601.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.43
user 3.22
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/113576/ft1_filtered_4FGL_J1150.6+4154_daily_bin1117.fits" evtable="EVENTS" scfile=/scratch/kocevski/113576/ft2_4FGL_J1150.6+4154_daily_bin1117.fits sctable="SC_DATA" outfile=/scratch/kocevski/113576/ltcube_528854401_529113601_4FGL_J1150.6+4154_daily_bin1117.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/113576/ft2_4FGL_J1150.6+4154_daily_bin1117.fits
.....................!
real 12.67
user 12.32
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/113576/ft1_filtered_4FGL_J1150.6+4154_daily_bin1117.fits evtable="EVENTS" scfile=/scratch/kocevski/113576/ft2_4FGL_J1150.6+4154_daily_bin1117.fits sctable="SC_DATA" expcube=/scratch/kocevski/113576/ltcube_528854401_529113601_4FGL_J1150.6+4154_daily_bin1117.fits outfile=/scratch/kocevski/113576/expmap_528854401_529113601_4FGL_J1150.6+4154_daily_bin1117.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/113576/ltcube_528854401_529113601_4FGL_J1150.6+4154_daily_bin1117.fits
.....................!
real 190.34
user 185.44
sys 4.52

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/113576/ft1_filtered_4FGL_J1150.6+4154_daily_bin1117.fits scfile=/scratch/kocevski/113576/ft2_4FGL_J1150.6+4154_daily_bin1117.fits outfile=/scratch/kocevski/113576/cmap_528854401_529113601_4FGL_J1150.6+4154_daily_bin1117.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/113576/ft1_filtered_4FGL_J1150.6+4154_daily_bin1117.fits scfile=/scratch/kocevski/113576/ft2_4FGL_J1150.6+4154_daily_bin1117.fits outfile=/scratch/kocevski/113576/cmap_HighResolution_528854401_529113601_4FGL_J1150.6+4154_daily_bin1117.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.53
user 0.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/113576/ft1_filtered_4FGL_J1150.6+4154_daily_bin1117.fits evtable="EVENTS" scfile=/scratch/kocevski/113576/ft2_4FGL_J1150.6+4154_daily_bin1117.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/113576/Model_4FGL_J1150.6+4154_daily_bin1117.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/113576/ft1_filtered_4FGL_J1150.6+4154_daily_bin1117.fits.....................!
real 59.84
user 58.39
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/113576/ft1_filtered_4FGL_J1150.6+4154_daily_bin1117.fits', '/scratch/kocevski/113576/ft2_4FGL_J1150.6+4154_daily_bin1117.fits', expMap='/scratch/kocevski/113576/expmap_528854401_529113601_4FGL_J1150.6+4154_daily_bin1117.fits', expCube='/scratch/kocevski/113576/ltcube_528854401_529113601_4FGL_J1150.6+4154_daily_bin1117.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/113576/Model_4FGL_J1150.6+4154_daily_bin1117.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/113576/ft1_filtered_4FGL_J1150.6+4154_daily_bin1117.fits
Spacecraft file(s): /scratch/kocevski/113576/ft2_4FGL_J1150.6+4154_daily_bin1117.fits
Exposure map: /scratch/kocevski/113576/expmap_528854401_529113601_4FGL_J1150.6+4154_daily_bin1117.fits
Exposure cube: /scratch/kocevski/113576/ltcube_528854401_529113601_4FGL_J1150.6+4154_daily_bin1117.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/113576/Model_4FGL_J1150.6+4154_daily_bin1117.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) = 6961.96719615

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    1.3194       1.0000         .10000E-03   10000.    
     3 'Prefactor '    37.081       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15452E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    16.925       1.0000         .10000E-03   10000.    
     7 'norm      '    24.622       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11644E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.3124       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .45910       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.6132       1.0000         .10000E-03   10000.    
    14 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.187       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.1265       1.0000         .10000E-03   10000.    
    17 'Prefactor '    58.105       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.4145       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.5515       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .56722       1.0000         .10000E-03   10000.    
    21 'norm      '    .80211       1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.184       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2244       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .70653       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=   6961.957     FROM MIGRAD    STATUS=CONVERGED    580 CALLS     2800 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    43.701       -.52909E-04** at limit **
   2  norm          1.3195        .32361       -.69702E-07   -.80681E-02
   3  Prefactor     37.086        18.445       -.58383E-07   -.73988E-03
   4  Prefactor     .10000E-03    37.205        .46648E-04** at limit **
   5  Prefactor     .10000E-03    235.44       -.62915E-04** at limit **
   6  norm          16.924        17.095        .72367E-06   -.20222E-03
   7  norm          24.614        37.682       -.17276E-05    .15461E-04
   8  Prefactor     .10000E-03    1.4056       -.24235E-07** at limit **
   9  Prefactor     .10000E-03    29.781       -.88904E-05** at limit **
  10  norm          5.3106        3.2880       -.72203E-07   -.78584E-03
  11  Prefactor     .46354        2.5145       -.55723E-06   -.23861E-03
  12  Prefactor     .10000E-03    90.904        .38075E-04** at limit **
  13  norm          7.6122        1.7204       -.21911E-06   -.13432E-02
  14  norm          .10000E-03    13.364       -.35110E-06** at limit **
  15  Prefactor     10.185        29.355       -.11139E-05    .19217E-04
  16  Prefactor     4.1266        2.7978        .24452E-07   -.12313E-04
  17  Prefactor     58.118        55.550        .80745E-05   -.33744E-04
  18  Prefactor     4.4152        16.610       -.42087E-06   -.48449E-04
  19  Prefactor     7.5598        33.756        .79323E-06    .26552E-04
  20  Prefactor     .55947        5.6864       -.15665E-05   -.20108E-03
  21  norm          .79895        6.1705       -.18724E-05   -.33995E-03
  22  Prefactor     15.175        20.820        .90548E-06    .18905E-03
  23  Normalizat    1.2242        .16961        .22697E-06    .13265E-03
  24  Prefactor     .70658        .19420       -.76992E-07    .62211E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.31954
  Prefactor  = 37.0858
  Prefactor  = 0.000100004
  Prefactor  = 0.000100001
  norm       = 16.924
  norm       = 24.6143
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.31061
  Prefactor  = 0.463541
  Prefactor  = 0.0001
  norm       = 7.61215
  norm       = 0.0001
  Prefactor  = 10.1854
  Prefactor  = 4.12661
  Prefactor  = 58.1177
  Prefactor  = 4.41524
  Prefactor  = 7.55982
  Prefactor  = 0.559466
  norm       = 0.798946
  Prefactor  = 15.1745
  Normalizat = 1.22422
  Prefactor  = 0.706582
 **********
 **   18 **HESSE 
 **********

 FCN=   6961.957     FROM HESSE     STATUS=OK           405 CALLS     3205 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    43.744        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.3195        .32451        .22348E-04   -1.5478    
   3  Prefactor     37.086        18.451        .65815E-04   -1.4489    
   4  Prefactor     .10000E-03    37.571        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    236.78        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          16.924        16.955        .97355E-04   -1.4885    
   7  norm          24.614        37.722        .80727E-04   -1.4715    
   8  Prefactor     .10000E-03    6.1972        .17645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    29.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.3106        3.1430        .10664E-03   -1.5247    
  11  Prefactor     .46354        8.0631        .24449E-02   -1.5572    
  12  Prefactor     .10000E-03    91.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.6122        1.7276        .46659E-04   -1.5156    
  14  norm          .10000E-03    13.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.185        29.051        .12554E-03   -1.5070    
  16  Prefactor     4.1266        2.7835        .10299E-03   -1.5302    
  17  Prefactor     58.118        55.630        .52630E-04   -1.4182    
  18  Prefactor     4.4152        16.501        .19167E-03   -1.5288    
  19  Prefactor     7.5598        33.016        .14594E-03   -1.5158    
  20  Prefactor     .55947        16.975        .37622E-02   -1.5558    
  21  norm          .79895        12.567        .33947E-02   -1.5529    
  22  Prefactor     15.175        20.579        .10279E-03   -1.4929    
  23  Normalizat    1.2242        .19988        .22897E-03   -.85858    
  24  Prefactor     .70658        .22697        .34554E-03   -1.0327    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19851e-08
Minuit parameter uncertainties:
  1  1.81699e-05
  2  0.324508
  3  18.4535
  4  0.000750587
  5  0.000704499
  6  16.9601
  7  37.7588
  8  5.25434e-07
  9  4.01045e-06
  10  3.14311
  11  3.86676
  12  0.000246512
  13  1.72757
  14  8.59557e-05
  15  29.0912
  16  2.78358
  17  55.6802
  18  16.5185
  19  31.6262
  20  6.16475
  21  6.33838
  22  20.5882
  23  0.20001
  24  0.227264
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  8.596e-05  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:  7.066e-01  2.273e-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.224e+00  2.000e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/113576/likelihoodResults_528854401_529113601_4FGL_J1150.6+4154_daily_bin1117.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) = 6961.95745002
delta logL = -0.000349251551597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6961.95710111
delta logL = -3.44521140505e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11899E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5748       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2242       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70662       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.

 FCN=   6961.957     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      205 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    17.389        .90712E-02** at limit **
   2  alpha         1.5164        3.2449        .45444        .20850E-04
   3  Normalizat    1.2242        .16154        .51789E-01    .51776E-05
   4  Prefactor     .70658        .19117        .78044E-01    .39079E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100009
  alpha      = 1.51642
  Normalizat = 1.22422
  Prefactor  = 0.706583
 **********
 **   18 **HESSE 
 **********

 FCN=   6961.957     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    17.308        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5164        3.2410        .50000       -.40436    
   3  Normalizat    1.2242        .18846        .22897E-03   -.85858    
   4  Prefactor     .70658        .22258        .34554E-03   -1.0327    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.30933e-10
Minuit parameter uncertainties:
  1  0.000790936
  2  2.29859
  3  0.188565
  4  0.222863
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/113576': 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) = 6961.95709998
delta logL = 7.91903403297e-07

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  7.909e-04  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.516e+00  2.299e+00  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:  7.066e-01  2.229e-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.224e+00  1.886e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 177.656 41.910

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/113576/cmap_HighResolution_528854401_529113601_4FGL_J1150.6+4154_daily_bin1117.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-05', job_status='DONE', photon_flux_upper_limit='3.24e-08', time_completed='2021-09-04 13:37:30.221074', job_id='113576', GAL2='0.71', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1630787850.22', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='7.92e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1117' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:37:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 113576: <4FGL_J1150.6+4154_daily_bin1117> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin1117> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep  4 13:21:10 2021
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:21:12 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:21:12 2021
Terminated at Sat Sep  4 13:37:30 2021
Results reported at Sat Sep  4 13:37:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1117 177.656 41.9096 528854401 529113601 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 :                                   811.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            980 sec.

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

