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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1002
RA = 177.656, Dec = 41.9096
tmin = 499046401, tmax = 499305601
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='112466', job_status='RUN', time_executed='2021-09-04 13:17:11.511472', time_epoch_executed='1630786631.51' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1002'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/112466

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/112466/ft1_4FGL_J1150.6+4154_daily_bin1002.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/112466/ft2_4FGL_J1150.6+4154_daily_bin1002.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/112466/ft1_4FGL_J1150.6+4154_daily_bin1002.fits outfile=/scratch/kocevski/112466/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1002.fits ra=177.656 dec=41.9096 rad=12.0 tmin=499046401.0 tmax=499305601.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 4.33
user 4.01
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/112466/ft2_4FGL_J1150.6+4154_daily_bin1002.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/112466/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1002.fits evtable="EVENTS" outfile="/scratch/kocevski/112466/ft1_filtered_4FGL_J1150.6+4154_daily_bin1002.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/112466/ft1_filtered_4FGL_J1150.6+4154_daily_bin1002.fits evtable="EVENTS" scfile=/scratch/kocevski/112466/ft2_4FGL_J1150.6+4154_daily_bin1002.fits sctable="SC_DATA" expcube=/scratch/kocevski/112466/ltcube_499046401_499305601_4FGL_J1150.6+4154_daily_bin1002.fits outfile=/scratch/kocevski/112466/expmap_499046401_499305601_4FGL_J1150.6+4154_daily_bin1002.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/112466/ltcube_499046401_499305601_4FGL_J1150.6+4154_daily_bin1002.fits
.....................!
real 189.30
user 184.55
sys 4.38

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/112466/ft1_filtered_4FGL_J1150.6+4154_daily_bin1002.fits scfile=/scratch/kocevski/112466/ft2_4FGL_J1150.6+4154_daily_bin1002.fits outfile=/scratch/kocevski/112466/cmap_499046401_499305601_4FGL_J1150.6+4154_daily_bin1002.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=177.656 yref=41.9096 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/112466/ft1_filtered_4FGL_J1150.6+4154_daily_bin1002.fits scfile=/scratch/kocevski/112466/ft2_4FGL_J1150.6+4154_daily_bin1002.fits outfile=/scratch/kocevski/112466/cmap_HighResolution_499046401_499305601_4FGL_J1150.6+4154_daily_bin1002.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=177.656 yref=41.9096 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.1197       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.4130       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.3908       1.0000         .10000E-03   10000.    
     7 'norm      '    .12295E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.4273       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10148E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.4039       1.0000         .10000E-03   10000.    
    12 'Prefactor '    33.161       1.0000         .10000E-03   10000.    
    13 'norm      '    .60673       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.6610       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    44.297       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    14.897       1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.680       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .71913       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3112       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=   4666.440     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     2711 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.445        .89313E-07** at limit **
   2  norm          1.1197        .34214        .30494E-08   -.88538E-04
   3  Prefactor     8.4144        17.109       -.16936E-05   -.22630E-04
   4  Prefactor     .10000E-03    7.5290       -.19449E-07** at limit **
   5  Prefactor     .10000E-03    45.089       -.94272E-08** at limit **
   6  norm          5.3917        15.090        .66280E-05    .35821E-05
   7  norm          .10001E-03    269.12       -.85583E-05** at limit **
   8  Prefactor     2.4272        2.4352       -.33980E-07    .47086E-05
   9  Prefactor     .10000E-03    22.513       -.15229E-06** at limit **
  10  norm          .10000E-03    2.2689       -.12587E-06** at limit **
  11  Prefactor     7.4044        6.3384        .14854E-06   -.32997E-05
  12  Prefactor     33.165        34.399        .42158E-06    .10368E-04
  13  norm          .60656        .75534        .30823E-07    .13686E-03
  14  norm          .10000E-03    4.2188       -.82817E-08** at limit **
  15  Prefactor     .10000E-03    21.028       -.25508E-06** at limit **
  16  Prefactor     2.6593        3.7835        .32579E-06    .14397E-04
  17  Prefactor     .10000E-03    22.478       -.10778E-06** at limit **
  18  Prefactor     44.318        33.554        .17816E-06    .34966E-04
  19  Prefactor     .10000E-03    28.783       -.25460E-06** at limit **
  20  Prefactor     .10000E-03    4.4081       -.12488E-06** at limit **
  21  norm          14.887        13.176        .36009E-06   -.16345E-04
  22  Prefactor     15.737        41.466        .26152E-06    .46784E-04
  23  Normalizat    .71915        .20682       -.40825E-05    .10734E-03
  24  Prefactor     1.3111        .24187        .25704E-05   -.10996E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.1197
  Prefactor  = 8.41439
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.39172
  norm       = 0.000100009
  Prefactor  = 2.42721
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.40438
  Prefactor  = 33.1653
  norm       = 0.606555
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.65927
  Prefactor  = 0.0001
  Prefactor  = 44.3184
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.8874
  Prefactor  = 15.7372
  Normalizat = 0.719151
  Prefactor  = 1.31108
 **********
 **   18 **HESSE 
 **********

 FCN=   4666.440     FROM HESSE     STATUS=OK           401 CALLS     3112 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1197        .34301        .21125E-04   -1.5496    
   3  Prefactor     8.4144        17.110        .13821E-03   -1.5128    
   4  Prefactor     .10000E-03    7.5350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    45.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.3917        15.370        .86540E-03   -1.5244    
   7  norm          .10001E-03    274.61        .20620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.4272        2.4059        .10015E-03   -1.5396    
   9  Prefactor     .10000E-03    22.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    5.1771        .19543E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.4044        6.3286        .14740E-03   -1.5164    
  12  Prefactor     33.165        34.151        .69585E-04   -1.4556    
  13  norm          .60656        .72040        .63111E-03   -1.5552    
  14  norm          .10000E-03    4.2214        .13703E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    21.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.6593        3.7484        .13922E-03   -1.5382    
  17  Prefactor     .10000E-03    22.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     44.318        33.391        .60237E-04   -1.4376    
  19  Prefactor     .10000E-03    28.843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.4210        .14004E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          14.887        13.119        .10377E-03   -1.4936    
  22  Prefactor     15.737        41.380        .10115E-03   -1.4914    
  23  Normalizat    .71915        .23416        .27451E-03   -1.0314    
  24  Prefactor     1.3111        .27822        .25881E-03   -.82978    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96997e-10
Minuit parameter uncertainties:
  1  5.49457e-05
  2  0.343013
  3  17.12
  4  1.12818e-07
  5  0.000128567
  6  15.3809
  7  0.0030973
  8  2.40599
  9  3.71401e-05
  10  5.70246e-05
  11  6.32913
  12  34.1707
  13  0.720406
  14  7.68161e-07
  15  6.32269e-06
  16  3.74871
  17  3.32568e-05
  18  33.4053
  19  3.926e-05
  20  5.73647e-06
  21  13.1211
  22  41.4555
  23  0.234482
  24  0.27854
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  7.682e-07  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:  1.311e+00  2.785e-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:  7.192e-01  2.345e-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.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.20e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/112466/likelihoodResults_499046401_499305601_4FGL_J1150.6+4154_daily_bin1002.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) = 4666.44110618
delta logL = -0.00106050368231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4666.44004567
delta logL = 4.01450961363e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6158       1.0000          .0000       5.0000    
     3 'Normalizat'    .71915       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3111       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=   4666.440     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      238 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    942.64        .13708E-02** at limit **
   2  alpha         1.5291        2.8574        .18000        .79582E-08
   3  Normalizat    .71915        .14474        .27452E-03    .51766E-05
   4  Prefactor     1.3111        .17970        .25881E-03    .52273E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.52915
  Normalizat = 0.719147
  Prefactor  = 1.31108
 **********
 **   18 **HESSE 
 **********

 FCN=   4666.440     FROM HESSE     STATUS=OK            23 CALLS      261 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.2454        .27417E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5291        2.9898        .71999E-02   -.39883    
   3  Normalizat    .71915        .22205        .10981E-04   -1.0314    
   4  Prefactor     1.3111        .27572        .10352E-04   -.82978    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.4242e-12
Minuit parameter uncertainties:
  1  1.05136e-05
  2  245.15
  3  0.222328
  4  0.276026
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/112466': 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) = 4666.44004561
delta logL = 6.57701093587e-08

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  1.051e-05  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.529e+00  2.452e+02  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:  1.311e+00  2.760e-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:  7.191e-01  2.223e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/112466/cmap_HighResolution_499046401_499305601_4FGL_J1150.6+4154_daily_bin1002.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.20e-05', job_status='DONE', photon_flux_upper_limit='2.93e-08', time_completed='2021-09-04 13:27:48.269132', job_id='112466', GAL2='1.31', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1630787268.27', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='6.58e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1002' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:27:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 112466: <4FGL_J1150.6+4154_daily_bin1002> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin1002> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Sep  4 13:16:58 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:17:01 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:17:01 2021
Terminated at Sat Sep  4 13:27:49 2021
Results reported at Sat Sep  4 13:27:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1002 177.656 41.9096 499046401 499305601 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 :                                   635.33 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             283.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   647 sec.
    Turnaround time :                            651 sec.

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

