/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 131 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 = 7421
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1150.6+4154_daily_bin33
RA = 177.656, Dec = 41.9096
tmin = 247881601, tmax = 248140801
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='107452', job_status='RUN', time_executed='2021-09-04 13:04:22.090770', time_epoch_executed='1630785862.09' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='33'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107452

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107452/ft1_4FGL_J1150.6+4154_daily_bin33.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107452/ft2_4FGL_J1150.6+4154_daily_bin33.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107452/ft1_4FGL_J1150.6+4154_daily_bin33.fits outfile=/scratch/kocevski/107452/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin33.fits ra=177.656 dec=41.9096 rad=12.0 tmin=247881601.0 tmax=248140801.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 1.44
user 1.24
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/107452/ft1_filtered_4FGL_J1150.6+4154_daily_bin33.fits" evtable="EVENTS" scfile=/scratch/kocevski/107452/ft2_4FGL_J1150.6+4154_daily_bin33.fits sctable="SC_DATA" outfile=/scratch/kocevski/107452/ltcube_247881601_248140801_4FGL_J1150.6+4154_daily_bin33.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/107452/ft2_4FGL_J1150.6+4154_daily_bin33.fits
.....................!
real 15.74
user 15.28
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107452/ft1_filtered_4FGL_J1150.6+4154_daily_bin33.fits evtable="EVENTS" scfile=/scratch/kocevski/107452/ft2_4FGL_J1150.6+4154_daily_bin33.fits sctable="SC_DATA" expcube=/scratch/kocevski/107452/ltcube_247881601_248140801_4FGL_J1150.6+4154_daily_bin33.fits outfile=/scratch/kocevski/107452/expmap_247881601_248140801_4FGL_J1150.6+4154_daily_bin33.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/107452/ltcube_247881601_248140801_4FGL_J1150.6+4154_daily_bin33.fits
.....................!
real 192.32
user 186.36
sys 5.09

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/107452/ft1_filtered_4FGL_J1150.6+4154_daily_bin33.fits scfile=/scratch/kocevski/107452/ft2_4FGL_J1150.6+4154_daily_bin33.fits outfile=/scratch/kocevski/107452/cmap_247881601_248140801_4FGL_J1150.6+4154_daily_bin33.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.60
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107452/ft1_filtered_4FGL_J1150.6+4154_daily_bin33.fits scfile=/scratch/kocevski/107452/ft2_4FGL_J1150.6+4154_daily_bin33.fits outfile=/scratch/kocevski/107452/cmap_HighResolution_247881601_248140801_4FGL_J1150.6+4154_daily_bin33.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11470E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.1358       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .16836E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10055E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12662E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.682       1.0000         .10000E-03   10000.    
    10 'norm      '    .10881E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.8813       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10239E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .54809       1.0000         .10000E-03   10000.    
    14 'norm      '    2.4262       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .93024       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.9528       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.7026       1.0000         .10000E-03   10000.    
    21 'norm      '    12.696       1.0000         .10000E-03   10000.    
    22 'Prefactor '    18.128       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2144       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .83675       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=   7288.707     FROM MIGRAD    STATUS=CONVERGED    561 CALLS     2764 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    109.33       -.71022E-06** at limit **
   2  norm          1.1358        .26574        .95468E-08    .69478E-03
   3  Prefactor     .10000E-03    3.7766       -.36101E-07** at limit **
   4  Prefactor     .10000E-03    6.2627        .34723E-06** at limit **
   5  Prefactor     .10000E-03    34.139        .11482E-05** at limit **
   6  norm          .10000E-03    7.8263       -.85687E-07** at limit **
   7  norm          .10000E-03    11.666       -.22389E-06** at limit **
   8  Prefactor     .10000E-03    1.3726       -.69920E-06** at limit **
   9  Prefactor     35.622        31.296        .26837E-05    .89942E-04
  10  norm          .10000E-03    1.2600       -.12747E-05** at limit **
  11  Prefactor     5.8763        5.0674        .69956E-07    .28902E-03
  12  Prefactor     .10000E-03    43.485       -.76309E-06** at limit **
  13  norm          .54792        .97912        .92295E-07    .59675E-03
  14  norm          2.4275        5.9789        .73235E-06   -.11885E-03
  15  Prefactor     .10000E-03    12.335        .28659E-06** at limit **
  16  Prefactor     .93299        3.0842        .27750E-06   -.22049E-04
  17  Prefactor     .10000E-03    17.285       -.51174E-07** at limit **
  18  Prefactor     2.9500        15.705        .24813E-06    .37639E-05
  19  Prefactor     .10000E-03    26.856       -.19663E-06** at limit **
  20  Prefactor     3.7061        7.8612        .26763E-05   -.51063E-04
  21  norm          12.694        8.1374       -.20368E-08    .82115E-05
  22  Prefactor     18.145        22.399        .14172E-06   -.87681E-05
  23  Normalizat    1.2146        .15597       -.30623E-06    .42328E-03
  24  Prefactor     .83639        .17989       -.16960E-07    .25965E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.13581
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.6218
  norm       = 0.0001
  Prefactor  = 5.87632
  Prefactor  = 0.0001
  norm       = 0.547923
  norm       = 2.4275
  Prefactor  = 0.0001
  Prefactor  = 0.932987
  Prefactor  = 0.0001
  Prefactor  = 2.95002
  Prefactor  = 0.0001
  Prefactor  = 3.70608
  norm       = 12.6937
  Prefactor  = 18.1447
  Normalizat = 1.21459
  Prefactor  = 0.836393
 **********
 **   18 **HESSE 
 **********

 FCN=   7288.707     FROM HESSE     STATUS=OK           397 CALLS     3161 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    109.98        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1358        .26249        .20348E-04   -1.5495    
   3  Prefactor     .10000E-03    3.7816        .16201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    33.455        .40686E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    33.995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    7.9516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    11.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.4449        .19658E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     35.622        32.044        .67089E-04   -1.4514    
  10  norm          .10000E-03    1.9040        .17124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.8763        5.0685        .16559E-03   -1.5223    
  12  Prefactor     .10000E-03    43.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .54792        .96353        .10354E-03   -1.5560    
  14  norm          2.4275        5.9122        .26274E-03   -1.5396    
  15  Prefactor     .10000E-03    12.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .93299        2.9859        .24201E-03   -1.5515    
  17  Prefactor     .10000E-03    17.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.9500        14.851        .23634E-03   -1.5364    
  19  Prefactor     .10000E-03    26.961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.7061        8.0556        .10494E-02   -1.5323    
  21  norm          12.694        8.1271        .11242E-03   -1.4995    
  22  Prefactor     18.145        22.404        .94069E-04   -1.4856    
  23  Normalizat    1.2146        .18433        .21955E-03   -.86153    
  24  Prefactor     .83639        .21262        .30721E-03   -.98400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.13866e-10
Minuit parameter uncertainties:
  1  0.000392399
  2  0.262487
  3  1.96967e-06
  4  0.000503671
  5  0.000304344
  6  8.17734e-06
  7  3.48199e-05
  8  2.68466e-05
  9  32.0596
  10  9.88742e-06
  11  5.06888
  12  0.000289221
  13  0.963554
  14  5.91359
  15  4.22706e-05
  16  2.98638
  17  1.09096e-05
  18  13.2431
  19  8.5761e-05
  20  8.05799
  21  8.12778
  22  22.4144
  23  0.184426
  24  0.21283
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  2.428e+00  5.914e+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.364e-01  2.128e-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.215e+00  1.844e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/107452/likelihoodResults_247881601_248140801_4FGL_J1150.6+4154_daily_bin33.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) = 7288.69765938
delta logL = 0.00932465646292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7288.69715681
delta logL = 0.00982722707704

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6117       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8929       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2137       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83576       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=   7288.697     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      281 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6153        6.0914        .12620E-02   -.33186E-03
   2  alpha         1.8950        1.7882        .39590E-01   -.27769E-04
   3  Normalizat    1.2136        .17799        .21963E-03   -.46507E-03
   4  Prefactor     .83582        .21159        .30729E-03   -.26904E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.61529
  alpha      = 1.89496
  Normalizat = 1.21363
  Prefactor  = 0.835817
 **********
 **   18 **HESSE 
 **********

 FCN=   7288.697     FROM HESSE     STATUS=OK            23 CALLS      304 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6153        6.0060        .50481E-04   -1.5385    
   2  alpha         1.8950        1.7735        .15836E-02   -.24444    
   3  Normalizat    1.2136        .17799        .43925E-04   -.86183    
   4  Prefactor     .83582        .21175        .12292E-04   -.98421    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41393e-10
Minuit parameter uncertainties:
  1  6.00736
  2  1.98903
  3  0.178083
  4  0.211958
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107452': 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) = 7288.69715596
delta logL = 0.00982806998763

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  2.615e+00  6.007e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.895e+00  1.989e+00  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.358e-01  2.120e-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.214e+00  1.781e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.23
Ra Dec: 177.656 41.910

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/107452/cmap_HighResolution_247881601_248140801_4FGL_J1150.6+4154_daily_bin33.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.06e-05', job_status='DONE', photon_flux_upper_limit='2.86e-08', time_completed='2021-09-04 13:18:24.108979', job_id='107452', GAL2='0.84', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1630786704.11', return_code2='0', ts='0.23', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='9.83e-03', ts2='0.25', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='33' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:18:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 107452: <4FGL_J1150.6+4154_daily_bin33> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin33> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 13:02:01 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:02:03 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:02:03 2021
Terminated at Sat Sep  4 13:18:24 2021
Results reported at Sat Sep  4 13:18:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin33 177.656 41.9096 247881601 248140801 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 :                                   837.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             279.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            983 sec.

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

