/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 90 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 = 7364
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1312
RA = 177.656, Dec = 41.9096
tmin = 579398401, tmax = 579657601
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='113860', job_status='RUN', time_executed='2021-09-04 13:23:26.308537', time_epoch_executed='1630787006.31' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1312'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/113860

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/113860/ft1_4FGL_J1150.6+4154_daily_bin1312.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/113860/ft2_4FGL_J1150.6+4154_daily_bin1312.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/113860/ft1_4FGL_J1150.6+4154_daily_bin1312.fits outfile=/scratch/kocevski/113860/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1312.fits ra=177.656 dec=41.9096 rad=12.0 tmin=579398401.0 tmax=579657601.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.51
user 3.23
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/113860/ft1_filtered_4FGL_J1150.6+4154_daily_bin1312.fits evtable="EVENTS" scfile=/scratch/kocevski/113860/ft2_4FGL_J1150.6+4154_daily_bin1312.fits sctable="SC_DATA" expcube=/scratch/kocevski/113860/ltcube_579398401_579657601_4FGL_J1150.6+4154_daily_bin1312.fits outfile=/scratch/kocevski/113860/expmap_579398401_579657601_4FGL_J1150.6+4154_daily_bin1312.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/113860/ltcube_579398401_579657601_4FGL_J1150.6+4154_daily_bin1312.fits
.....................!
real 190.28
user 185.26
sys 4.55

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/113860/ft1_filtered_4FGL_J1150.6+4154_daily_bin1312.fits scfile=/scratch/kocevski/113860/ft2_4FGL_J1150.6+4154_daily_bin1312.fits outfile=/scratch/kocevski/113860/cmap_579398401_579657601_4FGL_J1150.6+4154_daily_bin1312.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/113860/ft1_filtered_4FGL_J1150.6+4154_daily_bin1312.fits scfile=/scratch/kocevski/113860/ft2_4FGL_J1150.6+4154_daily_bin1312.fits outfile=/scratch/kocevski/113860/cmap_HighResolution_579398401_579657601_4FGL_J1150.6+4154_daily_bin1312.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2181       1.0000         .10000E-03   10000.    
     2 'norm      '    .81362       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10183E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    27.950       1.0000         .10000E-03   10000.    
     7 'norm      '    .10657E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .59264       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10248E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.2217       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.7363       1.0000         .10000E-03   10000.    
    13 'norm      '    5.0649       1.0000         .10000E-03   10000.    
    14 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13039E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .36742E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .20095       1.0000         .10000E-03   10000.    
    18 'Prefactor '    48.071       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.5294       1.0000         .10000E-03   10000.    
    21 'norm      '    6.6091       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10248E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .97909       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94827       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=   6332.120     FROM MIGRAD    STATUS=CONVERGED   1049 CALLS     2869 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2234        91.822        .16099E-03   -.51552E-05
   2  norm          .81356        .25333        .21628E-04    .11722E-03
   3  Prefactor     .10000E-03    8.9092        .18142E-02** at limit **
   4  Prefactor     .10000E-03    11.592        .18142E-02** at limit **
   5  Prefactor     .10000E-03    106.28        .18142E-02** at limit **
   6  norm          27.961        13.874        .75778E-04    .95567E-04
   7  norm          .10000E-03    118.13        .18142E-02** at limit **
   8  Prefactor     .59732        1.4587        .15258E-02    .48796E-02
   9  Prefactor     .10000E-03    30.658        .18142E-02** at limit **
  10  norm          2.2161        2.5071        .12170E-03   -.29733E-03
  11  Prefactor     .10000E-03    4.6022        .32855E-03** at limit **
  12  Prefactor     1.7832        499.07        .31847E-02    .55296E-05
  13  norm          5.0672        1.7701        .46597E-04    .10089E-02
  14  norm          .10000E-03    3.1510        .13786E-02** at limit **
  15  Prefactor     .10000E-03    13.778        .18142E-02** at limit **
  16  Prefactor     .10000E-03    20.763        .18919E-02** at limit **
  17  Prefactor     .10006E-03    42.655        .14817    ** at limit **
  18  Prefactor     48.073        22.895        .57835E-04    .26734E-04
  19  Prefactor     .10000E-03    9.9471        .18142E-02** at limit **
  20  Prefactor     2.5325        5.6495        .12841E-02    .74172E-04
  21  norm          6.6152        6.1381        .78048E-03    .31070E-04
  22  Prefactor     .10000E-03    6.7701        .18142E-02** at limit **
  23  Normalizat    .97898        .18933        .23086E-03    .58601E-04
  24  Prefactor     .94842        .22021        .28328E-03    .17798E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.22343
  norm       = 0.813556
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 27.9613
  norm       = 0.0001
  Prefactor  = 0.597315
  Prefactor  = 0.0001
  norm       = 2.21613
  Prefactor  = 0.0001
  Prefactor  = 1.78322
  norm       = 5.06721
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100064
  Prefactor  = 48.0733
  Prefactor  = 0.0001
  Prefactor  = 2.53251
  norm       = 6.6152
  Prefactor  = 0.0001
  Normalizat = 0.978982
  Prefactor  = 0.948418
 **********
 **   18 **HESSE 
 **********

 FCN=   6332.120     FROM HESSE     STATUS=OK           391 CALLS     3260 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2234        91.728        .64394E-05   -1.5209    
   2  norm          .81356        .25333        .86512E-06   -1.5528    
   3  Prefactor     .10000E-03    8.9132        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.599        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    106.29        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          27.961        13.872        .30311E-05   -1.4650    
   7  norm          .10000E-03    118.19        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .59732        1.4552        .30515E-03   -1.5553    
   9  Prefactor     .10000E-03    30.660        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.2161        2.4917        .48682E-05   -1.5410    
  11  Prefactor     .10000E-03    4.6024        .65710E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.7832        464.97        .12739E-03   -1.5441    
  13  norm          5.0672        1.7261        .18639E-05   -1.5258    
  14  norm          .10000E-03    3.1511        .27573E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    13.780        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    20.976        .37838E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10006E-03    42.407        .14884       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     48.073        22.852        .23134E-05   -1.4320    
  19  Prefactor     .10000E-03    9.9479        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.5325        5.6473        .51365E-04   -1.5390    
  21  norm          6.6152        6.1371        .31219E-04   -1.5194    
  22  Prefactor     .10000E-03    6.7703        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .97898        .18911        .92345E-05   -.93738    
  24  Prefactor     .94842        .22037        .11331E-04   -.94469    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18578e-10
Minuit parameter uncertainties:
  1  47.8736
  2  0.253326
  3  1.74428e-05
  4  1.49229e-05
  5  9.6959e-05
  6  13.8734
  7  0.000194063
  8  1.45524
  9  0.000139641
  10  2.49186
  11  1.77502e-05
  12  58.0495
  13  1.72611
  14  4.43622e-06
  15  1.04385e-05
  16  1.28044e-05
  17  0.00330635
  18  22.8561
  19  3.67683e-06
  20  5.64844
  21  6.13773
  22  1.63578e-06
  23  0.189236
  24  0.220583
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  4.436e-06  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:  9.484e-01  2.206e-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:  9.790e-01  1.892e-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: 2.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.79e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/113860/likelihoodResults_579398401_579657601_4FGL_J1150.6+4154_daily_bin1312.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) = 6332.12123177
delta logL = -0.00147899638614

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6332.11975271
delta logL = 6.64404069539e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6291       1.0000          .0000       5.0000    
     3 'Normalizat'    .97898       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94841       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=   6332.120     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      189 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.8942        .90712E-02** at limit **
   2  alpha         1.6398        3.3122        .44862       -.15269E-04
   3  Normalizat    .97898        .15561        .45903E-01   -.40558E-05
   4  Prefactor     .94842        .18915        .45619E-01   -.11622E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.6398
  Normalizat = 0.978984
  Prefactor  = 0.948415
 **********
 **   18 **HESSE 
 **********

 FCN=   6332.120     FROM HESSE     STATUS=OK            33 CALLS      222 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.2008        .13846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6398        3.2910        .50000       -.35126    
   3  Normalizat    .97898        .17904        .23086E-03   -.93738    
   4  Prefactor     .94842        .21762        .28329E-03   -.94469    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35627e-10
Minuit parameter uncertainties:
  1  1.25219e-08
  2  2.35704
  3  0.17915
  4  0.217819
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/113860': 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) = 6332.11975264
delta logL = 1.37886672746e-07

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  1.252e-08  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.640e+00  2.357e+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:  9.484e-01  2.178e-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:  9.790e-01  1.791e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/113860/cmap_HighResolution_579398401_579657601_4FGL_J1150.6+4154_daily_bin1312.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.79e-05', job_status='DONE', photon_flux_upper_limit='2.14e-08', time_completed='2021-09-04 13:36:21.753885', job_id='113860', GAL2='0.95', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1630787781.75', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.38e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1312' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:36:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 113860: <4FGL_J1150.6+4154_daily_bin1312> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin1312> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep  4 13:21:31 2021
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:21:32 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:32 2021
Terminated at Sat Sep  4 13:36:22 2021
Results reported at Sat Sep  4 13:36:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1312 177.656 41.9096 579398401 579657601 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 :                                   774.33 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             321.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            891 sec.

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

