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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1404
RA = 177.656, Dec = 41.9096
tmin = 603244801, tmax = 603504001
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='115447', job_status='RUN', time_executed='2021-09-04 13:26:22.675468', time_epoch_executed='1630787182.68' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1404'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/115447

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/115447/ft1_4FGL_J1150.6+4154_daily_bin1404.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/115447/ft2_4FGL_J1150.6+4154_daily_bin1404.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/115447/ft1_4FGL_J1150.6+4154_daily_bin1404.fits outfile=/scratch/kocevski/115447/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1404.fits ra=177.656 dec=41.9096 rad=12.0 tmin=603244801.0 tmax=603504001.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.87
user 2.66
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/115447/ft2_4FGL_J1150.6+4154_daily_bin1404.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/115447/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1404.fits evtable="EVENTS" outfile="/scratch/kocevski/115447/ft1_filtered_4FGL_J1150.6+4154_daily_bin1404.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/115447/ft1_filtered_4FGL_J1150.6+4154_daily_bin1404.fits" evtable="EVENTS" scfile=/scratch/kocevski/115447/ft2_4FGL_J1150.6+4154_daily_bin1404.fits sctable="SC_DATA" outfile=/scratch/kocevski/115447/ltcube_603244801_603504001_4FGL_J1150.6+4154_daily_bin1404.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/115447/ft2_4FGL_J1150.6+4154_daily_bin1404.fits
.....................!
real 12.11
user 11.77
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/115447/ft1_filtered_4FGL_J1150.6+4154_daily_bin1404.fits evtable="EVENTS" scfile=/scratch/kocevski/115447/ft2_4FGL_J1150.6+4154_daily_bin1404.fits sctable="SC_DATA" expcube=/scratch/kocevski/115447/ltcube_603244801_603504001_4FGL_J1150.6+4154_daily_bin1404.fits outfile=/scratch/kocevski/115447/expmap_603244801_603504001_4FGL_J1150.6+4154_daily_bin1404.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/115447/ltcube_603244801_603504001_4FGL_J1150.6+4154_daily_bin1404.fits
.....................!
real 189.81
user 184.98
sys 4.49

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/115447/ft1_filtered_4FGL_J1150.6+4154_daily_bin1404.fits scfile=/scratch/kocevski/115447/ft2_4FGL_J1150.6+4154_daily_bin1404.fits outfile=/scratch/kocevski/115447/cmap_603244801_603504001_4FGL_J1150.6+4154_daily_bin1404.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.55
user 0.35
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.2197       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.046       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10416E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    23.439       1.0000         .10000E-03   10000.    
     7 'norm      '    13.848       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .48784       1.0000         .10000E-03   10000.    
    12 'Prefactor '    194.23       1.0000         .10000E-03   10000.    
    13 'norm      '    .52418       1.0000         .10000E-03   10000.    
    14 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.8510       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10852E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    152.43       1.0000         .10000E-03   10000.    
    18 'Prefactor '    31.883       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10522E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.2912       1.0000         .10000E-03   10000.    
    21 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.1551       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.6525       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .62337       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=   3111.095     FROM MIGRAD    STATUS=CONVERGED    559 CALLS     2770 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    308.48        .19482E-05** at limit **
   2  norm          1.2198        .90251       -.26696E-07   -.25408E-03
   3  Prefactor     .10000E-03    20.700        .18052E-06** at limit **
   4  Prefactor     14.043        32.937        .45854E-06    .14091E-05
   5  Prefactor     .10000E-03    319.67        .20523E-05** at limit **
   6  norm          23.437        40.828       -.72741E-06   -.59985E-04
   7  norm          13.778        107.79        .41670E-06   -.59761E-04
   8  Prefactor     .10000E-03    3.7995        .48095E-06** at limit **
   9  Prefactor     .10000E-03    52.376        .45790E-06** at limit **
  10  norm          .10000E-03    5.0905        .10037E-05** at limit **
  11  Prefactor     .52928        25.071        .72424E-05   -.52230E-03
  12  Prefactor     193.92        147.64       -.16702E-05   -.40913E-04
  13  norm          .54540        7.9933        .16929E-05   -.20271E-03
  14  norm          .10000E-03    8.3553        .59242E-07** at limit **
  15  Prefactor     2.8233        352.32       -.79899E-05   -.32939E-04
  16  Prefactor     .10000E-03    4.8268        .13074E-05** at limit **
  17  Prefactor     151.99        170.52       -.35348E-06   -.30348E-04
  18  Prefactor     31.959        41.070       -.17643E-05   -.96220E-04
  19  Prefactor     .10000E-03    109.68        .37004E-05** at limit **
  20  Prefactor     9.2923        9.1942        .74106E-07    .15951E-03
  21  norm          .10000E-03    4.1896       -.39252E-07** at limit **
  22  Prefactor     7.1760        39.010       -.28734E-05   -.20930E-04
  23  Normalizat    1.6519        .34308        .11151E-04   -.20083E-03
  24  Prefactor     .62402        .35982       -.20314E-04   -.25029E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  norm       = 1.21977
  Prefactor  = 0.0001
  Prefactor  = 14.0433
  Prefactor  = 0.000100003
  norm       = 23.4375
  norm       = 13.7775
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.529275
  Prefactor  = 193.916
  norm       = 0.545403
  norm       = 0.0001
  Prefactor  = 2.82333
  Prefactor  = 0.000100001
  Prefactor  = 151.99
  Prefactor  = 31.9588
  Prefactor  = 0.000100003
  Prefactor  = 9.29228
  norm       = 0.0001
  Prefactor  = 7.17603
  Normalizat = 1.65185
  Prefactor  = 0.624016
 **********
 **   18 **HESSE 
 **********

 FCN=   3111.095     FROM HESSE     STATUS=OK           397 CALLS     3167 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    308.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2198        .91398        .43225E-04   -1.5487    
   3  Prefactor     .10000E-03    20.702        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.043        33.163        .10687E-03   -1.4958    
   5  Prefactor     .10000E-03    319.98        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          23.437        40.817        .82737E-04   -1.4739    
   7  norm          13.778        109.00        .10764E-03   -1.4965    
   8  Prefactor     .10000E-03    3.8306        .10610E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    52.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    5.1670        .12296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .52928        91.313        .43064E-02   -1.5562    
  12  Prefactor     193.92        152.85        .14492E-03   -1.2914    
  13  norm          .54540        10.592        .16190E-02   -1.5560    
  14  norm          .10000E-03    8.3620        .15747E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.8233        347.58        .24079E-03   -1.5372    
  16  Prefactor     .10000E-03    5.0739        .23965E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     151.99        179.17        .16324E-03   -1.3236    
  18  Prefactor     31.959        41.036        .70962E-04   -1.4577    
  19  Prefactor     .10000E-03    110.34        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.2923        9.2024        .13148E-03   -1.5098    
  21  norm          .10000E-03    4.1975        .11138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.1760        39.234        .14996E-03   -1.5172    
  23  Normalizat    1.6519        .35481        .23273E-03   -.73596    
  24  Prefactor     .62402        .36758        .39798E-03   -1.0658    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.17428e-09
Minuit parameter uncertainties:
  1  0.00242399
  2  0.913992
  3  2.79286e-05
  4  33.2067
  5  0.00193349
  6  40.8654
  7  77.6989
  8  1.07759e-05
  9  0.000101127
  10  6.41377e-05
  11  13.9242
  12  153.169
  13  4.80765
  14  3.71938e-06
  15  63.0296
  16  0.000131883
  17  179.821
  18  41.0722
  19  0.00123169
  20  9.20378
  21  2.75324e-06
  22  33.5925
  23  0.355358
  24  0.369013
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  6.240e-01  3.690e-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.652e+00  3.554e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/115447/likelihoodResults_603244801_603504001_4FGL_J1150.6+4154_daily_bin1404.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) = 3111.09583422
delta logL = -0.000480479722228

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3111.09535375
delta logL = -8.68931238074e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6219       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6519       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62400       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=   3110.339     FROM MIGRAD    STATUS=CONVERGED    154 CALLS      304 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58853E-01    2.1022        .25773E-02    .20864E-02
   2  alpha         5.0000        4.9999        .50000    ** at limit **
   3  Normalizat    1.5022        .19472        .23273E-02    .43418E-04
   4  Prefactor     .72761        .19862        .39801E-02    .30908E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0588533
  alpha      = 5
  Normalizat = 1.5022
  Prefactor  = 0.727609
 **********
 **   18 **HESSE 
 **********

 FCN=   3110.339     FROM HESSE     STATUS=OK            33 CALLS      337 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58853E-01    .65375E-01    .11514E-04   -1.5659    
   2  alpha         5.0000        1.1447        .37692        14.137    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.5022        .34888        .93090E-04   -.77717    
   4  Prefactor     .72761        .37313        .15920E-03   -1.0245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1311e-11
Minuit parameter uncertainties:
  1  0.0653755
  2  2.93166e-05
  3  0.349436
  4  0.37443
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/115447': 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) = 3110.33856047
delta logL = 0.756793268396

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  5.885e-02  6.538e-02  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  5.000e+00  2.932e-05  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:  7.276e-01  3.744e-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.502e+00  3.494e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.64
Ra Dec: 177.656 41.910
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.62e-07 +/- 1.80e-07
Energy Flux (Free Index): 2.26e-05 +/- 2.50e-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/115447/cmap_HighResolution_603244801_603504001_4FGL_J1150.6+4154_daily_bin1404.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.78e-05', comment='SUCCESS', energy_flux2='2.26e-05', dlogl='7.57e-01', photon_flux2='1.62e-07', job_status='DONE', time_completed='2021-09-04 13:35:09.600728', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.62', photon_index_error='0.00', photon_flux_upper_limit='5.52e-08', energy_flux_error2='2.50e-05', EG='1.65', time_epoch_completed='1630787709.6', return_code='0', job_id='115447', GAL2='0.73', EG2='1.50', return_code2='0', photon_flux_error2='1.80e-07', ts2='1.64', photon_index='1.62' WHERE bin_id='1404' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:35:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 115447: <4FGL_J1150.6+4154_daily_bin1404> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1404 177.656 41.9096 603244801 603504001 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 :                                   525.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   539 sec.
    Turnaround time :                            541 sec.

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

