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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1284
RA = 177.656, Dec = 41.9096
tmin = 572140801, tmax = 572400001
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='113820', job_status='RUN', time_executed='2021-09-04 13:21:41.307201', time_epoch_executed='1630786901.31' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1284'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/113820

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/113820/ft1_4FGL_J1150.6+4154_daily_bin1284.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/113820/ft2_4FGL_J1150.6+4154_daily_bin1284.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/113820/ft1_4FGL_J1150.6+4154_daily_bin1284.fits outfile=/scratch/kocevski/113820/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1284.fits ra=177.656 dec=41.9096 rad=12.0 tmin=572140801.0 tmax=572400001.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.49
user 2.24
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/113820/ft1_filtered_4FGL_J1150.6+4154_daily_bin1284.fits" evtable="EVENTS" scfile=/scratch/kocevski/113820/ft2_4FGL_J1150.6+4154_daily_bin1284.fits sctable="SC_DATA" outfile=/scratch/kocevski/113820/ltcube_572140801_572400001_4FGL_J1150.6+4154_daily_bin1284.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/113820/ft2_4FGL_J1150.6+4154_daily_bin1284.fits
.....................!
real 8.85
user 8.52
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/113820/ft1_filtered_4FGL_J1150.6+4154_daily_bin1284.fits evtable="EVENTS" scfile=/scratch/kocevski/113820/ft2_4FGL_J1150.6+4154_daily_bin1284.fits sctable="SC_DATA" expcube=/scratch/kocevski/113820/ltcube_572140801_572400001_4FGL_J1150.6+4154_daily_bin1284.fits outfile=/scratch/kocevski/113820/expmap_572140801_572400001_4FGL_J1150.6+4154_daily_bin1284.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/113820/ltcube_572140801_572400001_4FGL_J1150.6+4154_daily_bin1284.fits
.....................!
real 141.24
user 136.68
sys 3.77

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/113820/ft1_filtered_4FGL_J1150.6+4154_daily_bin1284.fits scfile=/scratch/kocevski/113820/ft2_4FGL_J1150.6+4154_daily_bin1284.fits outfile=/scratch/kocevski/113820/cmap_572140801_572400001_4FGL_J1150.6+4154_daily_bin1284.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.46
user 0.29
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/113820/ft1_filtered_4FGL_J1150.6+4154_daily_bin1284.fits scfile=/scratch/kocevski/113820/ft2_4FGL_J1150.6+4154_daily_bin1284.fits outfile=/scratch/kocevski/113820/cmap_HighResolution_572140801_572400001_4FGL_J1150.6+4154_daily_bin1284.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.44
user 0.29
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.507       1.0000         .10000E-03   10000.    
     2 'norm      '    1.1930       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13046E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.587       1.0000         .10000E-03   10000.    
     6 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10940E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.4120       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .29991       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10855E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11369E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.5132       1.0000         .10000E-03   10000.    
    14 'norm      '    18.404       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.8501       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    26.132       1.0000         .10000E-03   10000.    
    19 'Prefactor '    21.026       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .85423E-02   1.0000         .10000E-03   10000.    
    21 'norm      '    .56254E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.2912       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .92460       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1801       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=   4828.659     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2365 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.449        168.67        .18663E-05   -.83230E-05
   2  norm          1.1929        .38716       -.12998E-07   -.42853E-03
   3  Prefactor     .10000E-03    26.832        .68632E-06** at limit **
   4  Prefactor     .10000E-03    7.0707        .86939E-07** at limit **
   5  Prefactor     18.328        125.31       -.29339E-05   -.31462E-04
   6  norm          .10000E-03    7.7622        .21088E-06** at limit **
   7  norm          .10000E-03    20.462       -.30096E-06** at limit **
   8  Prefactor     6.4131        3.6178       -.59050E-06   -.18672E-03
   9  Prefactor     .10000E-03    33.856        .14485E-06** at limit **
  10  norm          .29962        2.2817        .21646E-05    .34029E-03
  11  Prefactor     .10014E-03    6.8458       -.12687E-05** at limit **
  12  Prefactor     .10000E-03    19.254        .23394E-06** at limit **
  13  norm          1.5131        1.0778        .11131E-06   -.14242E-03
  14  norm          18.402        12.745        .59779E-07   -.17533E-04
  15  Prefactor     .10000E-03    14.332        .53225E-06** at limit **
  16  Prefactor     1.8494        3.5443        .72992E-06    .11808E-03
  17  Prefactor     .10000E-03    29.120        .27107E-06** at limit **
  18  Prefactor     26.126        22.845       -.13285E-07    .14749E-04
  19  Prefactor     21.065        27.553       -.86729E-06   -.90416E-04
  20  Prefactor     .10072E-03    7.0933        .25705E-05** at limit **
  21  norm          .10000E-03    14.248       -.11798E-05** at limit **
  22  Prefactor     4.2828        54.253        .56009E-05    .11900E-03
  23  Normalizat    .92457        .20215       -.29252E-05   -.20422E-03
  24  Prefactor     1.1803        .23246       -.44575E-06   -.26626E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4491
  norm       = 1.19288
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.3279
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 6.41307
  Prefactor  = 0.0001
  norm       = 0.299621
  Prefactor  = 0.000100137
  Prefactor  = 0.0001
  norm       = 1.51306
  norm       = 18.4021
  Prefactor  = 0.0001
  Prefactor  = 1.84939
  Prefactor  = 0.0001
  Prefactor  = 26.1256
  Prefactor  = 21.0649
  Prefactor  = 0.000100723
  norm       = 0.0001
  Prefactor  = 4.28281
  Normalizat = 0.92457
  Prefactor  = 1.18032
 **********
 **   18 **HESSE 
 **********

 FCN=   4828.659     FROM HESSE     STATUS=OK           401 CALLS     2766 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.449        169.96        .11810E-03   -1.5031    
   2  norm          1.1929        .38762        .23847E-04   -1.5490    
   3  Prefactor     .10000E-03    27.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.0753        .18047E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.328        127.06        .46450E-03   -1.4851    
   6  norm          .10000E-03    7.7841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    20.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4131        3.5780        .92688E-04   -1.5201    
   9  Prefactor     .10000E-03    33.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .29962        2.2579        .20086E-03   -1.5599    
  11  Prefactor     .10014E-03    25.158        .33727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    19.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.5131        1.0761        .17381E-03   -1.5462    
  14  norm          18.402        12.744        .93362E-04   -1.4850    
  15  Prefactor     .10000E-03    14.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8494        3.5052        .16575E-03   -1.5436    
  17  Prefactor     .10000E-03    29.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     26.126        22.687        .78365E-04   -1.4685    
  19  Prefactor     21.065        27.496        .87350E-04   -1.4790    
  20  Prefactor     .10072E-03    68.335        .33139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    39.997        .39348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.2828        36.716        .19448E-03   -1.5294    
  23  Normalizat    .92457        .23744        .25192E-03   -.95602    
  24  Prefactor     1.1803        .27670        .27454E-03   -.86939    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60128e-08
Minuit parameter uncertainties:
  1  88.5275
  2  0.387619
  3  0.000128265
  4  8.73782e-06
  5  96.8083
  6  2.07089e-05
  7  1.516e-06
  8  3.57807
  9  7.56465e-05
  10  1.64482
  11  0.00371664
  12  3.41834e-05
  13  1.07614
  14  12.7455
  15  4.14234e-05
  16  3.50554
  17  2.28869e-05
  18  22.6946
  19  27.5124
  20  0.0140785
  21  0.000108182
  22  25.1001
  23  0.237706
  24  0.277045
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.840e+01  1.275e+01  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:  1.180e+00  2.770e-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.246e-01  2.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.59
Ra Dec: 177.656 41.910
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 2.34e-08 +/- 1.62e-08
Energy Flux (Fixed Index): 4.15e-05 +/- 2.87e-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) = 4828.60623622
delta logL = 0.0532477691886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4828.60602726
delta logL = 0.0534567274108

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.420       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8757       1.0000          .0000       5.0000    
     3 'Normalizat'    .91605       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1821       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=   4828.606     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      265 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.422        12.527        .93320E-04   -.11570E-02
   2  alpha         1.8760        .76649        .12254E-01   -.17807E-03
   3  Normalizat    .91601        .22694        .25289E-03    .35458E-03
   4  Prefactor     1.1821        .27397        .27425E-03    .40360E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 18.4222
  alpha      = 1.87599
  Normalizat = 0.916006
  Prefactor  = 1.1821
 **********
 **   18 **HESSE 
 **********

 FCN=   4828.606     FROM HESSE     STATUS=OK            23 CALLS      288 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.422        12.393        .18664E-04   -1.4849    
   2  alpha         1.8760        .75787        .49017E-03   -.25227    
   3  Normalizat    .91601        .22695        .50579E-04   -.95900    
   4  Prefactor     1.1821        .27417        .54851E-04   -.86884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11299e-09
Minuit parameter uncertainties:
  1  12.3947
  2  0.770826
  3  0.227191
  4  0.274503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/113820': 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) = 4828.6060271
delta logL = 0.0534568885259

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  1.182e+00  2.745e-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.160e-01  2.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.69
Ra Dec: 177.656 41.910
Photon Index (Free Index): 1.88 +/- 0.77
Photon Flux (Free Index): 3.36e-08 +/- 4.15e-08
Energy Flux (Free Index): 3.27e-05 +/- 2.91e-05

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/113820/cmap_HighResolution_572140801_572400001_4FGL_J1150.6+4154_daily_bin1284.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.34e-08', energy_flux2='3.27e-05', photon_flux_error='1.62e-08', dlogl='5.35e-02', energy_flux='4.15e-05', photon_flux2='3.36e-08', job_status='DONE', time_completed='2021-09-04 13:28:44.613085', photon_index_error2='0.77', photon_index2='1.88', ts='10.59', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', energy_flux_error2='2.91e-05', EG='0.92', time_epoch_completed='1630787324.61', return_code='0', job_id='113820', GAL2='1.18', EG2='0.92', return_code2='0', energy_flux_error='2.87e-05', photon_flux_error2='4.15e-08', ts2='10.69', photon_index='1.62' WHERE bin_id='1284' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:28:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 113820: <4FGL_J1150.6+4154_daily_bin1284> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1284 177.656 41.9096 572140801 572400001 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 :                                   420.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             329.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   435 sec.
    Turnaround time :                            437 sec.

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

