/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 178 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 = 7493
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1150.6+4154_daily_bin285
RA = 177.656, Dec = 41.9096
tmin = 313200001, tmax = 313459201
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='108865', job_status='RUN', time_executed='2021-09-04 13:09:49.467645', time_epoch_executed='1630786189.47' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='285'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108865

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108865/ft1_4FGL_J1150.6+4154_daily_bin285.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108865/ft2_4FGL_J1150.6+4154_daily_bin285.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108865/ft1_4FGL_J1150.6+4154_daily_bin285.fits outfile=/scratch/kocevski/108865/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin285.fits ra=177.656 dec=41.9096 rad=12.0 tmin=313200001.0 tmax=313459201.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.38
user 3.14
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108865/ft1_filtered_4FGL_J1150.6+4154_daily_bin285.fits" evtable="EVENTS" scfile=/scratch/kocevski/108865/ft2_4FGL_J1150.6+4154_daily_bin285.fits sctable="SC_DATA" outfile=/scratch/kocevski/108865/ltcube_313200001_313459201_4FGL_J1150.6+4154_daily_bin285.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/108865/ft2_4FGL_J1150.6+4154_daily_bin285.fits
.....................!
real 11.70
user 11.33
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108865/ft1_filtered_4FGL_J1150.6+4154_daily_bin285.fits evtable="EVENTS" scfile=/scratch/kocevski/108865/ft2_4FGL_J1150.6+4154_daily_bin285.fits sctable="SC_DATA" expcube=/scratch/kocevski/108865/ltcube_313200001_313459201_4FGL_J1150.6+4154_daily_bin285.fits outfile=/scratch/kocevski/108865/expmap_313200001_313459201_4FGL_J1150.6+4154_daily_bin285.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/108865/ltcube_313200001_313459201_4FGL_J1150.6+4154_daily_bin285.fits
.....................!
real 192.09
user 186.91
sys 4.88

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/108865/ft1_filtered_4FGL_J1150.6+4154_daily_bin285.fits scfile=/scratch/kocevski/108865/ft2_4FGL_J1150.6+4154_daily_bin285.fits outfile=/scratch/kocevski/108865/cmap_313200001_313459201_4FGL_J1150.6+4154_daily_bin285.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108865/ft1_filtered_4FGL_J1150.6+4154_daily_bin285.fits scfile=/scratch/kocevski/108865/ft2_4FGL_J1150.6+4154_daily_bin285.fits outfile=/scratch/kocevski/108865/cmap_HighResolution_313200001_313459201_4FGL_J1150.6+4154_daily_bin285.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.5262       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    9.0840       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.6933       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.3915       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.243       1.0000         .10000E-03   10000.    
    13 'norm      '    2.1501       1.0000         .10000E-03   10000.    
    14 'norm      '    13.838       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.6709       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.807       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.8445       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1941       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .57490       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=   6259.909     FROM MIGRAD    STATUS=CONVERGED    534 CALLS     2347 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.581        .19298E-05** at limit **
   2  norm          1.5263        .32775        .72522E-08    .76725E-03
   3  Prefactor     .10000E-03    4.5465        .37660E-07** at limit **
   4  Prefactor     .10000E-03    17.552       -.45675E-05** at limit **
   5  Prefactor     .10001E-03    23.711        .14192E-04** at limit **
   6  norm          9.0857        11.855       -.16803E-06   -.43161E-04
   7  norm          .10000E-03    18.446       -.27920E-05** at limit **
   8  Prefactor     .10000E-03    1.1279        .29478E-06** at limit **
   9  Prefactor     .10000E-03    13.172        .54933E-05** at limit **
  10  norm          1.6931        1.7159       -.78930E-08   -.40834E-03
  11  Prefactor     1.3916        4.7393       -.26620E-05   -.10471E-02
  12  Prefactor     19.242        37.889       -.81762E-06    .71241E-05
  13  norm          2.1501        1.0358        .22363E-07   -.69396E-05
  14  norm          13.839        8.4527        .23559E-06    .47725E-03
  15  Prefactor     .10000E-03    6.7986       -.73363E-06** at limit **
  16  Prefactor     2.6707        2.0600       -.31830E-07    .25594E-05
  17  Prefactor     .10000E-03    15.897       -.67220E-05** at limit **
  18  Prefactor     .10000E-03    5.8159        .54657E-06** at limit **
  19  Prefactor     10.806        16.320       -.23478E-06   -.96701E-06
  20  Prefactor     .10000E-03    3.6243        .33591E-07** at limit **
  21  norm          1.8418        4.5609        .65924E-06   -.60278E-03
  22  Prefactor     .10000E-03    36.022       -.83824E-05** at limit **
  23  Normalizat    1.1940        .15265        .69732E-06    .40738E-04
  24  Prefactor     .57495        .17607       -.40979E-06    .41014E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.52629
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100006
  norm       = 9.08566
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  norm       = 1.69309
  Prefactor  = 1.39162
  Prefactor  = 19.2422
  norm       = 2.15012
  norm       = 13.8386
  Prefactor  = 0.0001
  Prefactor  = 2.67073
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 10.8059
  Prefactor  = 0.0001
  norm       = 1.8418
  Prefactor  = 0.000100002
  Normalizat = 1.19403
  Prefactor  = 0.574952
 **********
 **   18 **HESSE 
 **********

 FCN=   6259.909     FROM HESSE     STATUS=OK           397 CALLS     2744 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    34.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.5263        .32784        .20290E-04   -1.5461    
   3  Prefactor     .10000E-03    4.5545        .16472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    22.622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.0857        11.809        .13298E-03   -1.5105    
   7  norm          .10000E-03    18.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.5542        .15528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    13.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.6931        1.6830        .98799E-04   -1.5448    
  11  Prefactor     1.3916        4.9828        .31196E-03   -1.5472    
  12  Prefactor     19.242        38.009        .91305E-04   -1.4830    
  13  norm          2.1501        1.0364        .49659E-04   -1.5415    
  14  norm          13.839        8.4782        .53836E-03   -1.4964    
  15  Prefactor     .10000E-03    6.8004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.6707        2.0594        .96471E-04   -1.5381    
  17  Prefactor     .10000E-03    15.664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.8231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.806        16.315        .12188E-03   -1.5050    
  20  Prefactor     .10000E-03    3.6532        .14707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.8418        4.5005        .25438E-03   -1.5437    
  22  Prefactor     .10000E-03    36.266        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1940        .17248        .19860E-03   -.86787    
  24  Prefactor     .57495        .19733        .32641E-03   -1.0865    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21424e-09
Minuit parameter uncertainties:
  1  0.000127483
  2  0.327838
  3  1.19596e-06
  4  0.000242433
  5  0.000709123
  6  11.8125
  7  0.000124009
  8  0.0001154
  9  0.00019873
  10  1.6831
  11  4.98428
  12  38.0566
  13  1.03643
  14  8.47896
  15  2.87426e-05
  16  2.05944
  17  0.00027765
  18  1.65436e-05
  19  16.3212
  20  2.76289e-06
  21  4.50134
  22  0.000493208
  23  0.172559
  24  0.197569
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.384e+01  8.479e+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

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  5.750e-01  1.976e-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.194e+00  1.726e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.00
Ra Dec: 177.656 41.910
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 1.76e-08 +/- 1.08e-08
Energy Flux (Fixed Index): 3.12e-05 +/- 1.91e-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) = 6257.88280577
delta logL = 2.02607844929

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6257.78310281
delta logL = 2.12578140219

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.012       1.0000         .10000E-03   10000.    
     2 'alpha     '    .76897       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1975       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57513       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=   6257.783     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      200 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.012        6.1247        .31659E-02    .52954E-02
   2  alpha         .76898        .31021        .28415       -.34646E-04
   3  Normalizat    1.1975        .14803        .34953E-01   -.63873E-05
   4  Prefactor     .57515        .17536        .73710E-01    .39474E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.012
  alpha      = 0.768981
  Normalizat = 1.1975
  Prefactor  = 0.575153
 **********
 **   18 **HESSE 
 **********

 FCN=   6257.783     FROM HESSE     STATUS=OK            29 CALLS      229 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.012        7.9142        .12664E-03   -1.5075    
   2  alpha         .76898        .39489        .12702E-02   -.76482    
   3  Normalizat    1.1975        .16622        .19828E-03   -.86680    
   4  Prefactor     .57515        .19645        .32634E-03   -1.0864    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74754e-08
Minuit parameter uncertainties:
  1  7.91502
  2  0.398115
  3  0.166295
  4  0.196683
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108865': 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) = 6257.7831028
delta logL = 2.12578141506

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.001e+01  7.915e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  7.690e-01  3.981e-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:  5.752e-01  1.967e-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.197e+00  1.663e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 22.25
Ra Dec: 177.656 41.910
Photon Index (Free Index): 0.77 +/- 0.40
Photon Flux (Free Index): 1.03e-08 +/- 6.27e-09
Energy Flux (Free Index): 1.40e-04 +/- 1.14e-04

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/108865/cmap_HighResolution_313200001_313459201_4FGL_J1150.6+4154_daily_bin285.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.76e-08', energy_flux2='1.40e-04', photon_flux_error='1.08e-08', dlogl='2.13e+00', energy_flux='3.12e-05', photon_flux2='1.03e-08', job_status='DONE', time_completed='2021-09-04 13:20:31.367923', photon_index_error2='0.40', photon_index2='0.77', ts='18.00', fit_tolerance='1e-08', GAL='0.57', photon_index_error='0.00', energy_flux_error2='1.14e-04', EG='1.19', time_epoch_completed='1630786831.37', return_code='0', job_id='108865', GAL2='0.58', EG2='1.20', return_code2='0', energy_flux_error='1.91e-05', photon_flux_error2='6.27e-09', ts2='22.25', photon_index='1.62' WHERE bin_id='285' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:20:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 108865: <4FGL_J1150.6+4154_daily_bin285> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin285> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep  4 13:06:38 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:06:41 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:06:41 2021
Terminated at Sat Sep  4 13:20:32 2021
Results reported at Sat Sep  4 13:20:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin285 177.656 41.9096 313200001 313459201 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 :                                   641.17 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             266.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            834 sec.

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

