aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 202 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1756
RA = 177.656, Dec = 41.9096
tmin = 694483201, tmax = 694742401
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='11735', job_status='RUN', time_executed='2023-01-07 00:49:51.726670', time_epoch_executed='1673081391.73' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/11735

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/11735/ft1_4FGL_J1150.6+4154_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/11735/ft2_4FGL_J1150.6+4154_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/11735/ft1_4FGL_J1150.6+4154_daily_bin1756.fits outfile=/scratch/kocevski/11735/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1756.fits ra=177.656 dec=41.9096 rad=12.0 tmin=694483201.0 tmax=694742401.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 2.99
user 2.73
sys 0.21

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

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

Number of photons that the gtmktime cut: 710

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/11735/ft1_filtered_4FGL_J1150.6+4154_daily_bin1756.fits" evtable="EVENTS" scfile=/scratch/kocevski/11735/ft2_4FGL_J1150.6+4154_daily_bin1756.fits sctable="SC_DATA" outfile=/scratch/kocevski/11735/ltcube_694483201_694742401_4FGL_J1150.6+4154_daily_bin1756.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/11735/ft2_4FGL_J1150.6+4154_daily_bin1756.fits
.....................!
real 16.30
user 15.78
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/11735/ft1_filtered_4FGL_J1150.6+4154_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/11735/ft2_4FGL_J1150.6+4154_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/11735/ltcube_694483201_694742401_4FGL_J1150.6+4154_daily_bin1756.fits outfile=/scratch/kocevski/11735/expmap_694483201_694742401_4FGL_J1150.6+4154_daily_bin1756.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/11735/ltcube_694483201_694742401_4FGL_J1150.6+4154_daily_bin1756.fits
.....................!
real 193.08
user 187.55
sys 4.96

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/11735/ft1_filtered_4FGL_J1150.6+4154_daily_bin1756.fits scfile=/scratch/kocevski/11735/ft2_4FGL_J1150.6+4154_daily_bin1756.fits outfile=/scratch/kocevski/11735/cmap_694483201_694742401_4FGL_J1150.6+4154_daily_bin1756.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/11735/ft1_filtered_4FGL_J1150.6+4154_daily_bin1756.fits scfile=/scratch/kocevski/11735/ft2_4FGL_J1150.6+4154_daily_bin1756.fits outfile=/scratch/kocevski/11735/cmap_HighResolution_694483201_694742401_4FGL_J1150.6+4154_daily_bin1756.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.56
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/11735/ft1_filtered_4FGL_J1150.6+4154_daily_bin1756.fits', '/scratch/kocevski/11735/ft2_4FGL_J1150.6+4154_daily_bin1756.fits', expMap='/scratch/kocevski/11735/expmap_694483201_694742401_4FGL_J1150.6+4154_daily_bin1756.fits', expCube='/scratch/kocevski/11735/ltcube_694483201_694742401_4FGL_J1150.6+4154_daily_bin1756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/11735/Model_4FGL_J1150.6+4154_daily_bin1756.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  0.000e+00  1.000e+06 ( 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 -5.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/11735/ft1_filtered_4FGL_J1150.6+4154_daily_bin1756.fits
Spacecraft file(s): /scratch/kocevski/11735/ft2_4FGL_J1150.6+4154_daily_bin1756.fits
Exposure map: /scratch/kocevski/11735/expmap_694483201_694742401_4FGL_J1150.6+4154_daily_bin1756.fits
Exposure cube: /scratch/kocevski/11735/ltcube_694483201_694742401_4FGL_J1150.6+4154_daily_bin1756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/11735/Model_4FGL_J1150.6+4154_daily_bin1756.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) = 7698.12591715

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65878E-02   1.0000          .0000       .10000E+07
     2 'norm      '    2.8783       1.0000          .0000       .10000E+07
     3 'Prefactor '    34.742       1.0000          .0000       .10000E+07
     4 'Prefactor '    .60524E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .36035       1.0000          .0000       .10000E+07
     6 'norm      '    3.9288       1.0000          .0000       .10000E+07
     7 'norm      '    .12398E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .22304E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    55.291       1.0000          .0000       .10000E+07
    10 'norm      '    .19560E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .65666       1.0000          .0000       .10000E+07
    12 'Prefactor '    .44487E-02   1.0000          .0000       .10000E+07
    13 'norm      '    1.9248       1.0000          .0000       .10000E+07
    14 'norm      '    10.595       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.6077       1.0000          .0000       .10000E+07
    16 'Prefactor '    24.235       1.0000          .0000       .10000E+07
    17 'Prefactor '    26.209       1.0000          .0000       .10000E+07
    18 'Prefactor '    .20419E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .84229       1.0000          .0000       .10000E+07
    20 'Prefactor '    .25169E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0082       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0984       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7698.091     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1751 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .52736E-08    30.139       -.47085E-07** at limit **
   2  norm          2.8778        .50427       -.13122E-07    .46150E-02
   3  Prefactor     34.740        3.3691        .38293E-07    .64798E-01
   4  Prefactor     .11213E-07    8.1056        .20209E-06** at limit **
   5  Prefactor     .59047E-06    4.9929        .91755E-07** at limit **
   6  norm          3.9081        7.8387       -.74514E-07   -.96031E-03
   7  norm          .27756E-09    13.151       -.14363E-06** at limit **
   8  Prefactor     .22204E-09    1.9979        .43061E-07** at limit **
   9  Prefactor     56.282        46.434        .12057E-05   -.34263E-02
  10  norm          .39968E-07    10.519       -.14542E-06** at limit **
  11  Prefactor     .64777        13.025       -.70399E-07   -.13345E-02
  12  Prefactor     .10497E-06    47.646        .19423E-05** at limit **
  13  norm          1.9164        .98574        .80457E-08   -.63852E-03
  14  norm          10.560        8.0277       -.28817E-07    .61470E-03
  15  Prefactor     1.6108        2.3479        .32231E-07    .27167E-03
  16  Prefactor     25.441        8.9067       -.29278E-06   -.15500E-01
  17  Prefactor     26.181        3.2414       -.58083E-07   -.50736E-01
  18  Prefactor     .25535E-08    6.6445        .92788E-07** at limit **
  19  norm          .82283        4.5075       -.23089E-06    .65256E-03
  20  Prefactor     .16653E-09    10.625       -.45615E-06** at limit **
  21  Normalizat    1.0080        .18476        .53893E-06   -.11155E-04
  22  Prefactor     1.0982        .22119       -.11387E-05    .19980E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.27356e-09
  norm       = 2.87783
  Prefactor  = 34.7404
  Prefactor  = 1.12133e-08
  Prefactor  = 5.90472e-07
  norm       = 3.9081
  norm       = 2.77556e-10
  Prefactor  = 2.22045e-10
  Prefactor  = 56.282
  norm       = 3.9968e-08
  Prefactor  = 0.647766
  Prefactor  = 1.04972e-07
  norm       = 1.91645
  norm       = 10.5595
  Prefactor  = 1.61079
  Prefactor  = 25.4406
  Prefactor  = 26.1814
  Prefactor  = 2.55351e-09
  norm       = 0.822832
  Prefactor  = 1.66533e-10
  Normalizat = 1.00802
  Prefactor  = 1.09823
 **********
 **   18 **HESSE 
 **********

 FCN=   7698.091     FROM HESSE     STATUS=OK           392 CALLS     2143 TOTAL
                     EDM=   .62E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .52736E-08    30.184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.8778        .51387        .57227E-03   -1.5674    
   3  Prefactor     34.740        19.185        .16968E-03   -1.5590    
   4  Prefactor     .11213E-07    8.1869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .59047E-06    69.026        .94232E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.9081        7.9037        .50872E-03   -1.5668    
   7  norm          .27756E-09    14.053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-09    1.9746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     56.282        50.021        .13449E-03   -1.5558    
  10  norm          .39968E-07    2.1006        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .64777        13.323        .64298E-03   -1.5692    
  12  Prefactor     .10497E-06    51.051        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.9164        1.0114        .74854E-03   -1.5680    
  14  norm          10.560        8.0748        .30757E-03   -1.5643    
  15  Prefactor     1.6108        2.5291        .83529E-03   -1.5683    
  16  Prefactor     25.441        33.908        .20318E-03   -1.5607    
  17  Prefactor     26.181        19.158        .19537E-03   -1.5606    
  18  Prefactor     .25535E-08    6.6400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .82283        4.5182        .49834E-03   -1.5690    
  20  Prefactor     .16653E-09    10.597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0080        .15859        .46270E-01   -.92762    
  22  Prefactor     1.0982        .18823        .66391E-01   -.89523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.17275e-07
Minuit parameter uncertainties:
  1  0.000797508
  2  0.513871
  3  19.1846
  4  0.000605464
  5  0.0127686
  6  7.90377
  7  0.00012192
  8  3.94002e-05
  9  50.0209
  10  0.000579335
  11  5.87549
  12  0.00462984
  13  1.01136
  14  8.07485
  15  2.52909
  16  33.908
  17  19.1582
  18  0.000259184
  19  3.85626
  20  8.52347e-05
  21  0.158662
  22  0.188339
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.056e+01  8.075e+00  0.000e+00  1.000e+06 ( 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 -5.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:  1.098e+00  1.883e-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.008e+00  1.587e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.97
Ra Dec: 177.656 41.910
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 1.34e-08 +/- 1.03e-08
Energy Flux (Fixed Index): 2.38e-05 +/- 1.82e-05

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) = 7698.06150178
delta logL = 0.0293093121918

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7698.06092577
delta logL = 0.029885313289

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.337       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7576       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0068       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0978       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=   7698.061     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      265 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.337        7.9739        .12456E-04    .12231E-03
   2  alpha         1.7571        .56797        .16671E-01    .61354E-05
   3  Normalizat    1.0068        .18031        .25134E-03    .36050E-04
   4  Prefactor     1.0978        .21990        .29370E-03    .26399E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.3372
  alpha      = 1.75712
  Normalizat = 1.00679
  Prefactor  = 1.09784
 **********
 **   18 **HESSE 
 **********

 FCN=   7698.061     FROM HESSE     STATUS=OK            25 CALLS      290 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.337        7.9052        .49823E-06   -1.5644    
   2  alpha         1.7571        .56325        .66685E-03   -.30171    
   3  Normalizat    1.0068        .18046        .10054E-04   -.92803    
   4  Prefactor     1.0978        .22011        .11748E-04   -.89536    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28021e-12
Minuit parameter uncertainties:
  1  7.90523
  2  0.568609
  3  0.180568
  4  0.220296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/11735': 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) = 7698.06092493
delta logL = 0.0298861623542

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.034e+01  7.905e+00  0.000e+00  1.000e+06 ( 1.000e-13)
330        alpha:  1.757e+00  5.686e-01  0.000e+00  5.000e+00 ( 1.000e+00)
331         beta:  1.025e-01  0.000e+00 -5.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:  1.098e+00  2.203e-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.007e+00  1.806e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.03
Ra Dec: 177.656 41.910
Photon Index (Free Index): 1.76 +/- 0.57
Photon Flux (Free Index): 1.58e-08 +/- 1.55e-08
Energy Flux (Free Index): 2.00e-05 +/- 2.03e-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/11735/cmap_HighResolution_694483201_694742401_4FGL_J1150.6+4154_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.34e-08', energy_flux2='2.00e-05', photon_flux_error='1.03e-08', dlogl='2.99e-02', energy_flux='2.38e-05', photon_flux2='1.58e-08', job_status='DONE', time_completed='2023-01-07 01:00:53.386376', photon_index_error2='0.57', photon_index2='1.76', ts='7.97', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='2.03e-05', EG='1.01', time_epoch_completed='1673082053.39', return_code='0', job_id='11735', GAL2='1.10', EG2='1.01', return_code2='0', energy_flux_error='1.82e-05', photon_flux_error2='1.55e-08', ts2='8.03', photon_index='1.62' WHERE bin_id='1756' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 01:00:53 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 11735: <4FGL_J1150.6+4154_daily_bin1756> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin1756> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Jan  7 00:45:21 2023
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 00:46:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 00:46:21 2023
Terminated at Sat Jan  7 01:00:54 2023
Results reported at Sat Jan  7 01:00:54 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1756 177.656 41.9096 694483201 694742401 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 :                                   663.60 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             258.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            933 sec.

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

