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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1028
RA = 177.656, Dec = 41.9096
tmin = 505785601, tmax = 506044801
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='113442', job_status='RUN', time_executed='2021-09-04 13:23:43.544786', time_epoch_executed='1630787023.54' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1028'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/113442

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/113442/ft1_4FGL_J1150.6+4154_daily_bin1028.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/113442/ft2_4FGL_J1150.6+4154_daily_bin1028.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/113442/ft1_4FGL_J1150.6+4154_daily_bin1028.fits outfile=/scratch/kocevski/113442/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1028.fits ra=177.656 dec=41.9096 rad=12.0 tmin=505785601.0 tmax=506044801.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.66
user 3.34
sys 0.30

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/113442/ft1_filtered_4FGL_J1150.6+4154_daily_bin1028.fits" evtable="EVENTS" scfile=/scratch/kocevski/113442/ft2_4FGL_J1150.6+4154_daily_bin1028.fits sctable="SC_DATA" outfile=/scratch/kocevski/113442/ltcube_505785601_506044801_4FGL_J1150.6+4154_daily_bin1028.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/113442/ft2_4FGL_J1150.6+4154_daily_bin1028.fits
.....................!
real 12.34
user 11.87
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/113442/ft1_filtered_4FGL_J1150.6+4154_daily_bin1028.fits evtable="EVENTS" scfile=/scratch/kocevski/113442/ft2_4FGL_J1150.6+4154_daily_bin1028.fits sctable="SC_DATA" expcube=/scratch/kocevski/113442/ltcube_505785601_506044801_4FGL_J1150.6+4154_daily_bin1028.fits outfile=/scratch/kocevski/113442/expmap_505785601_506044801_4FGL_J1150.6+4154_daily_bin1028.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/113442/ltcube_505785601_506044801_4FGL_J1150.6+4154_daily_bin1028.fits
.....................!
real 192.37
user 185.12
sys 6.87

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/113442/ft1_filtered_4FGL_J1150.6+4154_daily_bin1028.fits scfile=/scratch/kocevski/113442/ft2_4FGL_J1150.6+4154_daily_bin1028.fits outfile=/scratch/kocevski/113442/cmap_505785601_506044801_4FGL_J1150.6+4154_daily_bin1028.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.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/113442/ft1_filtered_4FGL_J1150.6+4154_daily_bin1028.fits scfile=/scratch/kocevski/113442/ft2_4FGL_J1150.6+4154_daily_bin1028.fits outfile=/scratch/kocevski/113442/cmap_HighResolution_505785601_506044801_4FGL_J1150.6+4154_daily_bin1028.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.56
user 0.35
sys 0.19

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    100.84       1.0000         .10000E-03   10000.    
     2 'norm      '    1.1085       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.7120       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10141E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10220E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.0934       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1855       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.672       1.0000         .10000E-03   10000.    
    13 'norm      '    .46170       1.0000         .10000E-03   10000.    
    14 'norm      '    .12249E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10475E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    62.912       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    21.357       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    27.063       1.0000         .10000E-03   10000.    
    22 'Prefactor '    14.385       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2615       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .72946       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=   7064.881     FROM MIGRAD    STATUS=CONVERGED    561 CALLS     2725 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     100.73        89.867       -.19723E-05   -.18988E-03
   2  norm          1.1086        .30794       -.10376E-06    .24335E-03
   3  Prefactor     4.7135        12.916        .83221E-05    .10848E-05
   4  Prefactor     .10000E-03    4.0783       -.17222E-06** at limit **
   5  Prefactor     .10000E-03    24.135        .19208E-06** at limit **
   6  norm          .10000E-03    8.7182       -.37174E-06** at limit **
   7  norm          .10000E-03    22.914       -.16793E-07** at limit **
   8  Prefactor     .10000E-03    1.1797       -.16718E-07** at limit **
   9  Prefactor     .10000E-03    43.393       -.74564E-07** at limit **
  10  norm          5.0961        2.6154       -.76217E-07   -.48557E-04
  11  Prefactor     1.1860        3.2347        .86869E-06    .71770E-06
  12  Prefactor     19.677        23.828       -.10188E-06    .24481E-04
  13  norm          .46209        .43148       -.19473E-07    .60286E-04
  14  norm          .10000E-03    4.3160       -.29250E-07** at limit **
  15  Prefactor     .10000E-03    14.489       -.13203E-06** at limit **
  16  Prefactor     .10000E-03    1.2580        .20105E-06** at limit **
  17  Prefactor     62.764        51.061       -.10860E-06   -.24271E-04
  18  Prefactor     .10000E-03    10.817        .27958E-06** at limit **
  19  Prefactor     21.364        27.856       -.47526E-06   -.12316E-03
  20  Prefactor     .10000E-03    1.9293       -.21471E-07** at limit **
  21  norm          27.066        10.115        .52184E-07    .10239E-03
  22  Prefactor     14.397        27.687       -.65952E-06   -.12932E-03
  23  Normalizat    1.2606        .16244        .18575E-05   -.21485E-03
  24  Prefactor     .73050        .18682       -.36811E-05    .42726E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 100.73
  norm       = 1.1086
  Prefactor  = 4.71354
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.09608
  Prefactor  = 1.18601
  Prefactor  = 19.6773
  norm       = 0.462087
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 62.7645
  Prefactor  = 0.0001
  Prefactor  = 21.3643
  Prefactor  = 0.0001
  norm       = 27.0655
  Prefactor  = 14.3966
  Normalizat = 1.2606
  Prefactor  = 0.730496
 **********
 **   18 **HESSE 
 **********

 FCN=   7064.881     FROM HESSE     STATUS=OK           397 CALLS     3122 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     100.73        90.148        .20018E-03   -1.3697    
   2  norm          1.1086        .30873        .23093E-04   -1.5497    
   3  Prefactor     4.7135        13.124        .92688E-03   -1.5274    
   4  Prefactor     .10000E-03    4.0836        .16582E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    24.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    8.7892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    22.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.2291        .17775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    43.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.0961        2.6033        .92226E-04   -1.5256    
  11  Prefactor     1.1860        3.1840        .24040E-03   -1.5490    
  12  Prefactor     19.677        23.814        .90303E-04   -1.4820    
  13  norm          .46209        .45854        .51047E-03   -1.5572    
  14  norm          .10000E-03    4.3278        .17048E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.2858        .92018E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     62.764        50.981        .50592E-04   -1.4122    
  18  Prefactor     .10000E-03    10.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     21.364        27.877        .86671E-04   -1.4783    
  20  Prefactor     .10000E-03    1.9330        .11401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          27.066        10.098        .77007E-04   -1.4667    
  22  Prefactor     14.397        27.700        .10561E-03   -1.4949    
  23  Normalizat    1.2606        .18667        .21813E-03   -.84750    
  24  Prefactor     .73050        .21161        .32966E-03   -1.0234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.3392e-10
Minuit parameter uncertainties:
  1  90.2705
  2  0.308728
  3  13.1323
  4  1.80275e-05
  5  6.96387e-05
  6  8.21454e-05
  7  5.07933e-05
  8  6.15952e-06
  9  5.4928e-05
  10  2.60332
  11  3.18445
  12  23.8258
  13  0.458541
  14  2.49586e-06
  15  5.26545e-06
  16  8.7816e-07
  17  51.0164
  18  3.83765e-06
  19  27.8941
  20  7.08692e-07
  21  10.0989
  22  27.7246
  23  0.186773
  24  0.211845
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  2.496e-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:  7.305e-01  2.118e-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.261e+00  1.868e-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: 2.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.34e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/113442/likelihoodResults_505785601_506044801_4FGL_J1150.6+4154_daily_bin1028.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) = 7064.88184091
delta logL = -0.00108916518911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7064.88075351
delta logL = -1.7704351194e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10963E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6458       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2604       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73079       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=   7064.881     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      203 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.5149        .90712E-02** at limit **
   2  alpha         1.6729        3.3348        .44696       -.27924E-04
   3  Normalizat    1.2606        .15211        .49340E-01    .65579E-04
   4  Prefactor     .73049        .18079        .74477E-01    .70695E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100003
  alpha      = 1.67291
  Normalizat = 1.2606
  Prefactor  = 0.730493
 **********
 **   18 **HESSE 
 **********

 FCN=   7064.881     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.6945        .17534E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6729        3.3062        .50000       -.33719    
   3  Normalizat    1.2606        .17660        .21813E-03   -.84750    
   4  Prefactor     .73049        .20951        .32966E-03   -1.0234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29994e-09
Minuit parameter uncertainties:
  1  0.000249986
  2  2.3902
  3  0.176688
  4  0.209732
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/113442': 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) = 7064.8807511
delta logL = 6.4114738052e-07

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  2.500e-04  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.673e+00  2.390e+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:  7.305e-01  2.097e-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.261e+00  1.767e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/113442/cmap_HighResolution_505785601_506044801_4FGL_J1150.6+4154_daily_bin1028.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.34e-05', job_status='DONE', photon_flux_upper_limit='2.45e-08', time_completed='2021-09-04 13:37:32.678931', job_id='113442', GAL2='0.73', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1630787852.68', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='6.41e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1028' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:37:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 113442: <4FGL_J1150.6+4154_daily_bin1028> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1028 177.656 41.9096 505785601 506044801 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 :                                   827.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             301.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   989 sec.
    Turnaround time :                            992 sec.

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

