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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1533
RA = 177.656, Dec = 41.9096
tmin = 636681601, tmax = 636940801
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='115819', job_status='RUN', time_executed='2021-09-04 13:26:43.240369', time_epoch_executed='1630787203.24' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1533'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/115819

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/115819/ft1_4FGL_J1150.6+4154_daily_bin1533.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/115819/ft2_4FGL_J1150.6+4154_daily_bin1533.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/115819/ft1_4FGL_J1150.6+4154_daily_bin1533.fits outfile=/scratch/kocevski/115819/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1533.fits ra=177.656 dec=41.9096 rad=12.0 tmin=636681601.0 tmax=636940801.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 5.22
user 4.97
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/115819/ft1_filtered_4FGL_J1150.6+4154_daily_bin1533.fits evtable="EVENTS" scfile=/scratch/kocevski/115819/ft2_4FGL_J1150.6+4154_daily_bin1533.fits sctable="SC_DATA" expcube=/scratch/kocevski/115819/ltcube_636681601_636940801_4FGL_J1150.6+4154_daily_bin1533.fits outfile=/scratch/kocevski/115819/expmap_636681601_636940801_4FGL_J1150.6+4154_daily_bin1533.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/115819/ltcube_636681601_636940801_4FGL_J1150.6+4154_daily_bin1533.fits
.....................!
real 192.57
user 187.32
sys 4.94

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/115819/ft1_filtered_4FGL_J1150.6+4154_daily_bin1533.fits scfile=/scratch/kocevski/115819/ft2_4FGL_J1150.6+4154_daily_bin1533.fits outfile=/scratch/kocevski/115819/cmap_636681601_636940801_4FGL_J1150.6+4154_daily_bin1533.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.87
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/115819/ft1_filtered_4FGL_J1150.6+4154_daily_bin1533.fits scfile=/scratch/kocevski/115819/ft2_4FGL_J1150.6+4154_daily_bin1533.fits outfile=/scratch/kocevski/115819/cmap_HighResolution_636681601_636940801_4FGL_J1150.6+4154_daily_bin1533.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.57
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .96605       1.0000         .10000E-03   10000.    
     3 'Prefactor '    29.138       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.977       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10191E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.6869       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.948       1.0000         .10000E-03   10000.    
    10 'norm      '    4.0696       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.7940       1.0000         .10000E-03   10000.    
    12 'Prefactor '    72.615       1.0000         .10000E-03   10000.    
    13 'norm      '    3.6020       1.0000         .10000E-03   10000.    
    14 'norm      '    5.9985       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.529       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.275       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    17.763       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1787       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .81383       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=   5758.542     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2727 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    104.43       -.79040E-04** at limit **
   2  norm          .96607        .37790        .23477E-07   -.87206E-04
   3  Prefactor     29.143        26.378        .26989E-05    .61906E-04
   4  Prefactor     17.974        25.417       -.31370E-05    .19210E-04
   5  Prefactor     .10000E-03    41.639       -.47114E-04** at limit **
   6  norm          .10000E-03    8.9772        .18679E-06** at limit **
   7  norm          .10000E-03    62.375        .69347E-04** at limit **
   8  Prefactor     3.6841        4.9159       -.10256E-04   -.75535E-04
   9  Prefactor     15.008        155.03        .14157E-03    .17759E-04
  10  norm          4.0683        3.8424       -.56555E-05   -.31122E-03
  11  Prefactor     7.7942        7.5488       -.64071E-06   -.62191E-04
  12  Prefactor     72.633        66.125        .16646E-04    .37652E-04
  13  norm          3.6019        1.6107       -.63412E-06    .11241E-03
  14  norm          5.9989        6.3303        .13678E-05    .23153E-02
  15  Prefactor     16.528        26.100        .21145E-06   -.29627E-04
  16  Prefactor     .10000E-03    1.0277       -.63766E-07** at limit **
  17  Prefactor     .10000E-03    21.836        .69796E-05** at limit **
  18  Prefactor     11.278        18.253       -.38002E-07   -.20796E-04
  19  Prefactor     .10000E-03    50.442        .25186E-04** at limit **
  20  Prefactor     .10000E-03    3.8003        .19944E-07** at limit **
  21  norm          17.765        10.284        .29012E-06   -.59085E-05
  22  Prefactor     .10000E-03    18.101       -.22234E-05** at limit **
  23  Normalizat    1.1784        .19230       -.12109E-05    .94498E-04
  24  Prefactor     .81408        .21671       -.24954E-06   -.87730E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.966074
  Prefactor  = 29.1434
  Prefactor  = 17.9742
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 3.68405
  Prefactor  = 15.0084
  norm       = 4.06834
  Prefactor  = 7.79417
  Prefactor  = 72.6326
  norm       = 3.60186
  norm       = 5.99887
  Prefactor  = 16.5284
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.2781
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.7647
  Prefactor  = 0.0001
  Normalizat = 1.17841
  Prefactor  = 0.814084
 **********
 **   18 **HESSE 
 **********

 FCN=   5758.542     FROM HESSE     STATUS=OK           401 CALLS     3128 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    104.34        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .96607        .37987        .26268E-04   -1.5511    
   3  Prefactor     29.143        26.316        .74222E-04   -1.4628    
   4  Prefactor     17.974        25.561        .94463E-04   -1.4860    
   5  Prefactor     .10000E-03    41.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    8.9980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    62.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.6841        4.9227        .12310E-03   -1.5324    
   9  Prefactor     15.008        155.68        .10360E-03   -1.4933    
  10  norm          4.0683        3.8242        .11511E-03   -1.5305    
  11  Prefactor     7.7942        7.5292        .14363E-03   -1.5150    
  12  Prefactor     72.633        66.363        .47113E-04   -1.4001    
  13  norm          3.6019        1.6110        .56994E-04   -1.5328    
  14  norm          5.9989        6.3682        .81972E-03   -1.5218    
  15  Prefactor     16.528        26.093        .98515E-04   -1.4895    
  16  Prefactor     .10000E-03    1.0311        .75033E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.278        18.261        .11931E-03   -1.5036    
  19  Prefactor     .10000E-03    50.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.8099        .14447E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          17.765        10.294        .95031E-04   -1.4865    
  22  Prefactor     .10000E-03    18.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1784        .23049        .24335E-03   -.87273    
  24  Prefactor     .81408        .25729        .33090E-03   -.99211    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94874e-09
Minuit parameter uncertainties:
  1  0.000216307
  2  0.37987
  3  26.3262
  4  25.5762
  5  8.38919e-06
  6  7.20526e-06
  7  5.68691e-05
  8  4.92325
  9  97.0016
  10  3.8244
  11  7.53013
  12  66.4308
  13  1.61099
  14  6.3689
  15  26.1111
  16  6.57289e-07
  17  1.7777e-05
  18  18.2701
  19  5.25251e-06
  20  1.88517e-06
  21  10.2948
  22  5.42897e-06
  23  0.230686
  24  0.257669
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  5.999e+00  6.369e+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:  8.141e-01  2.577e-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.178e+00  2.307e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.63
Ra Dec: 177.656 41.910
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 7.63e-09 +/- 8.10e-09
Energy Flux (Fixed Index): 1.35e-05 +/- 1.44e-05

TS (Fixed Index): 3.63
Ra Dec: 177.656 41.910
Photon Flux Upper Limit: 3.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.52e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/115819/likelihoodResults_636681601_636940801_4FGL_J1150.6+4154_daily_bin1533.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) = 5758.53432149
delta logL = 0.00720101230399

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5758.53429721
delta logL = 0.00722528973256

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9974       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5046       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1791       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81392       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=   5758.534     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      208 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9390        8.2296        .40990E-02   -.38305E-03
   2  alpha         1.5029        1.0486        .46304       -.61736E-04
   3  Normalizat    1.1791        .18744        .55020E-01   -.52890E-04
   4  Prefactor     .81394        .21539        .74772E-01   -.20390E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.93901
  alpha      = 1.50286
  Normalizat = 1.17914
  Prefactor  = 0.813943
 **********
 **   18 **HESSE 
 **********

 FCN=   5758.534     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9390        6.3421        .16396E-03   -1.5221    
   2  alpha         1.5029        .91087        .26655E-01   -.41027    
   3  Normalizat    1.1791        .22120        .24329E-03   -.87250    
   4  Prefactor     .81394        .25564        .33093E-03   -.99216    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.82977e-10
Minuit parameter uncertainties:
  1  6.34286
  2  0.936722
  3  0.221379
  4  0.256016
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/115819': 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) = 5758.53425546
delta logL = 0.00726704312365

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  5.939e+00  6.343e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.503e+00  9.367e-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:  8.139e-01  2.560e-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.179e+00  2.214e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.65
Ra Dec: 177.656 41.910
Photon Index (Free Index): 1.50 +/- 0.94
Photon Flux (Free Index): 6.65e-09 +/- 9.92e-09
Energy Flux (Free Index): 1.58e-05 +/- 2.72e-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/115819/cmap_HighResolution_636681601_636940801_4FGL_J1150.6+4154_daily_bin1533.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.52e-05', comment='SUCCESS', photon_flux='7.63e-09', energy_flux2='1.58e-05', photon_flux_error='8.10e-09', dlogl='7.27e-03', energy_flux='1.35e-05', photon_flux2='6.65e-09', job_status='DONE', time_completed='2021-09-04 13:38:32.900577', photon_index_error2='0.94', photon_index2='1.50', ts='3.63', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='3.68e-08', energy_flux_error2='2.72e-05', EG='1.18', time_epoch_completed='1630787912.9', return_code='0', job_id='115819', GAL2='0.81', EG2='1.18', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='9.92e-09', ts2='3.65', photon_index='1.62' WHERE bin_id='1533' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:38:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 115819: <4FGL_J1150.6+4154_daily_bin1533> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin1533> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Sep  4 13:26:26 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:26:28 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:26:28 2021
Terminated at Sat Sep  4 13:38:33 2021
Results reported at Sat Sep  4 13:38:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1533 177.656 41.9096 636681601 636940801 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 :                                   706.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             326.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   725 sec.
    Turnaround time :                            727 sec.

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

