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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1007
RA = 177.656, Dec = 41.9096
tmin = 500342401, tmax = 500601601
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='112471', job_status='RUN', time_executed='2021-09-04 13:18:38.750065', time_epoch_executed='1630786718.75' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1007'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/112471

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/112471/ft1_4FGL_J1150.6+4154_daily_bin1007.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/112471/ft2_4FGL_J1150.6+4154_daily_bin1007.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/112471/ft1_4FGL_J1150.6+4154_daily_bin1007.fits outfile=/scratch/kocevski/112471/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1007.fits ra=177.656 dec=41.9096 rad=12.0 tmin=500342401.0 tmax=500601601.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 4.68
user 4.43
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/112471/ft2_4FGL_J1150.6+4154_daily_bin1007.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/112471/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1007.fits evtable="EVENTS" outfile="/scratch/kocevski/112471/ft1_filtered_4FGL_J1150.6+4154_daily_bin1007.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.60
user 0.32
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/112471/ft1_filtered_4FGL_J1150.6+4154_daily_bin1007.fits evtable="EVENTS" scfile=/scratch/kocevski/112471/ft2_4FGL_J1150.6+4154_daily_bin1007.fits sctable="SC_DATA" expcube=/scratch/kocevski/112471/ltcube_500342401_500601601_4FGL_J1150.6+4154_daily_bin1007.fits outfile=/scratch/kocevski/112471/expmap_500342401_500601601_4FGL_J1150.6+4154_daily_bin1007.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/112471/ltcube_500342401_500601601_4FGL_J1150.6+4154_daily_bin1007.fits
.....................!
real 190.51
user 186.01
sys 4.14

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/112471/ft1_filtered_4FGL_J1150.6+4154_daily_bin1007.fits scfile=/scratch/kocevski/112471/ft2_4FGL_J1150.6+4154_daily_bin1007.fits outfile=/scratch/kocevski/112471/cmap_500342401_500601601_4FGL_J1150.6+4154_daily_bin1007.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.58
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/112471/ft1_filtered_4FGL_J1150.6+4154_daily_bin1007.fits scfile=/scratch/kocevski/112471/ft2_4FGL_J1150.6+4154_daily_bin1007.fits outfile=/scratch/kocevski/112471/cmap_HighResolution_500342401_500601601_4FGL_J1150.6+4154_daily_bin1007.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.59
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    97.241       1.0000         .10000E-03   10000.    
     2 'norm      '    1.4551       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .62809       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.5343       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.1730       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.748       1.0000         .10000E-03   10000.    
    13 'norm      '    1.8636       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    46.676       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.1253       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .20225E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    17.731       1.0000         .10000E-03   10000.    
    22 'Prefactor '    26.863       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0363       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95498       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=   5526.225     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2711 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     97.249        82.808        .65994E-05   -.47184E-08
   2  norm          1.4553        .36603       -.19045E-08    .38834E-03
   3  Prefactor     .10000E-03    21.760       -.99783E-06** at limit **
   4  Prefactor     .10000E-03    9.9108        .77994E-08** at limit **
   5  Prefactor     .10000E-03    36.776        .61241E-05** at limit **
   6  norm          .10000E-03    14.905       -.95354E-07** at limit **
   7  norm          .10000E-03    37.490       -.18774E-05** at limit **
   8  Prefactor     .62645        1.9822       -.29624E-06   -.79448E-03
   9  Prefactor     .10000E-03    62.177       -.23906E-04** at limit **
  10  norm          3.5319        2.8968       -.40399E-06    .18180E-03
  11  Prefactor     7.1755        7.6689        .51152E-06    .21142E-04
  12  Prefactor     15.765        56.848        .25926E-04   -.67097E-05
  13  norm          1.8622        1.4423       -.91422E-06   -.15989E-02
  14  norm          .10000E-03    3.8125       -.81468E-07** at limit **
  15  Prefactor     46.652        34.592       -.65820E-05    .12302E-03
  16  Prefactor     2.1262        2.9851       -.16799E-06   -.51097E-03
  17  Prefactor     .10000E-03    89.953        .54182E-04** at limit **
  18  Prefactor     .10000E-03    10.664       -.85311E-07** at limit **
  19  Prefactor     .10002E-03    139.55       -.33515E-04** at limit **
  20  Prefactor     .10000E-03    2.6537        .15164E-07** at limit **
  21  norm          17.732        9.8376        .14006E-06   -.18368E-04
  22  Prefactor     26.865        25.701       -.47761E-07   -.60988E-05
  23  Normalizat    1.0361        .18721       -.67821E-07    .12200E-03
  24  Prefactor     .95512        .21817       -.45085E-06    .70498E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 97.2494
  norm       = 1.45529
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.626453
  Prefactor  = 0.0001
  norm       = 3.53185
  Prefactor  = 7.17549
  Prefactor  = 15.7649
  norm       = 1.86221
  norm       = 0.0001
  Prefactor  = 46.6519
  Prefactor  = 2.12624
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 0.0001
  norm       = 17.7319
  Prefactor  = 26.8648
  Normalizat = 1.03613
  Prefactor  = 0.955116
 **********
 **   18 **HESSE 
 **********

 FCN=   5526.225     FROM HESSE     STATUS=OK           397 CALLS     3108 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     97.249        82.789        .20381E-03   -1.3732    
   2  norm          1.4553        .36620        .21786E-04   -1.5467    
   3  Prefactor     .10000E-03    22.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.9326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    36.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    15.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    37.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .62645        1.8945        .16505E-03   -1.5550    
   9  Prefactor     .10000E-03    62.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.5319        2.8081        .10304E-03   -1.5332    
  11  Prefactor     7.1755        7.5216        .14977E-03   -1.5172    
  12  Prefactor     15.765        56.798        .10093E-03   -1.4914    
  13  norm          1.8622        1.4363        .67883E-04   -1.5435    
  14  norm          .10000E-03    3.8148        .14176E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     46.652        34.471        .58689E-04   -1.4341    
  16  Prefactor     2.1262        2.9683        .14548E-03   -1.5416    
  17  Prefactor     .10000E-03    90.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    10.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10002E-03    142.38        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.6566        .11826E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          17.732        9.8429        .95116E-04   -1.4866    
  22  Prefactor     26.865        25.730        .77294E-04   -1.4671    
  23  Normalizat    1.0361        .21760        .24338E-03   -.91830    
  24  Prefactor     .95512        .25376        .30112E-03   -.94241    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.88289e-10
Minuit parameter uncertainties:
  1  82.8871
  2  0.3662
  3  1.34632e-05
  4  1.10843e-06
  5  2.56365e-06
  6  1.71654e-05
  7  6.28792e-06
  8  1.89471
  9  0.000177554
  10  2.80819
  11  7.5226
  12  56.9933
  13  1.43636
  14  5.37758e-06
  15  34.4856
  16  2.9685
  17  8.19171e-05
  18  3.01188e-06
  19  0.00296656
  20  4.69523e-06
  21  9.84383
  22  25.7402
  23  0.217788
  24  0.254078
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  5.378e-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.551e-01  2.541e-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.036e+00  2.178e-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.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.71e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/112471/likelihoodResults_500342401_500601601_4FGL_J1150.6+4154_daily_bin1007.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) = 5526.22664071
delta logL = -0.00121844480418

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5526.22542225
delta logL = 1.82790245162e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6247       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0361       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95512       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=   5526.225     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      247 TOTAL
                     EDM=   .31E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.1987        .14195E-02** at limit **
   2  alpha         1.9381        3.9904        .17963       -.58226E-08
   3  Normalizat    1.0361        .21090        .24338E-03   -.41854E-04
   4  Prefactor     .95512        .25251        .30112E-03   -.35187E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.93811
  Normalizat = 1.03613
  Prefactor  = 0.955116
 **********
 **   18 **HESSE 
 **********

 FCN=   5526.225     FROM HESSE     STATUS=OK            23 CALLS      270 TOTAL
                     EDM=   .28E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.9524        .28391E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9381        3.2925        .71852E-02   -.22669    
   3  Normalizat    1.0361        .21112        .97352E-05   -.91830    
   4  Prefactor     .95512        .25277        .12045E-04   -.94241    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77796e-12
Minuit parameter uncertainties:
  1  2.28412e-06
  2  365.766
  3  0.211289
  4  0.253078
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/112471': 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) = 5526.22542181
delta logL = 4.55623194284e-07

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  2.284e-06  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.938e+00  3.658e+02  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.551e-01  2.531e-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.036e+00  2.113e-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/112471/cmap_HighResolution_500342401_500601601_4FGL_J1150.6+4154_daily_bin1007.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-05', job_status='DONE', photon_flux_upper_limit='2.66e-08', time_completed='2021-09-04 13:30:19.242330', job_id='112471', GAL2='0.96', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1630787419.24', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='4.56e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1007' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:30:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 112471: <4FGL_J1150.6+4154_daily_bin1007> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1007 177.656 41.9096 500342401 500601601 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 :                                   691.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             321.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            800 sec.

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

