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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin966
RA = 177.656, Dec = 41.9096
tmin = 489715201, tmax = 489974401
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='112426', job_status='RUN', time_executed='2021-09-04 13:17:05.410930', time_epoch_executed='1630786625.41' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='966'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/112426

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/112426/ft1_4FGL_J1150.6+4154_daily_bin966.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/112426/ft2_4FGL_J1150.6+4154_daily_bin966.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/112426/ft1_4FGL_J1150.6+4154_daily_bin966.fits outfile=/scratch/kocevski/112426/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin966.fits ra=177.656 dec=41.9096 rad=12.0 tmin=489715201.0 tmax=489974401.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.09
user 3.85
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/112426/ft1_filtered_4FGL_J1150.6+4154_daily_bin966.fits" evtable="EVENTS" scfile=/scratch/kocevski/112426/ft2_4FGL_J1150.6+4154_daily_bin966.fits sctable="SC_DATA" outfile=/scratch/kocevski/112426/ltcube_489715201_489974401_4FGL_J1150.6+4154_daily_bin966.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/112426/ft2_4FGL_J1150.6+4154_daily_bin966.fits
.....................!
real 11.79
user 11.41
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/112426/ft1_filtered_4FGL_J1150.6+4154_daily_bin966.fits evtable="EVENTS" scfile=/scratch/kocevski/112426/ft2_4FGL_J1150.6+4154_daily_bin966.fits sctable="SC_DATA" expcube=/scratch/kocevski/112426/ltcube_489715201_489974401_4FGL_J1150.6+4154_daily_bin966.fits outfile=/scratch/kocevski/112426/expmap_489715201_489974401_4FGL_J1150.6+4154_daily_bin966.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/112426/ltcube_489715201_489974401_4FGL_J1150.6+4154_daily_bin966.fits
.....................!
real 190.36
user 185.04
sys 4.92

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/112426/ft1_filtered_4FGL_J1150.6+4154_daily_bin966.fits scfile=/scratch/kocevski/112426/ft2_4FGL_J1150.6+4154_daily_bin966.fits outfile=/scratch/kocevski/112426/cmap_489715201_489974401_4FGL_J1150.6+4154_daily_bin966.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/112426/ft1_filtered_4FGL_J1150.6+4154_daily_bin966.fits scfile=/scratch/kocevski/112426/ft2_4FGL_J1150.6+4154_daily_bin966.fits outfile=/scratch/kocevski/112426/cmap_HighResolution_489715201_489974401_4FGL_J1150.6+4154_daily_bin966.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/112426/ft1_filtered_4FGL_J1150.6+4154_daily_bin966.fits evtable="EVENTS" scfile=/scratch/kocevski/112426/ft2_4FGL_J1150.6+4154_daily_bin966.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/112426/Model_4FGL_J1150.6+4154_daily_bin966.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/112426/ft1_filtered_4FGL_J1150.6+4154_daily_bin966.fits.....................!
real 54.98
user 53.50
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.0220       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.5306       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.718       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.9057       1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.269       1.0000         .10000E-03   10000.    
    10 'norm      '    .10522E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.3458       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .72444       1.0000         .10000E-03   10000.    
    14 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.2081       1.0000         .10000E-03   10000.    
    17 'Prefactor '    39.365       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.0672       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.106       1.0000         .10000E-03   10000.    
    21 'norm      '    11.946       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2933       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .59794       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=   6325.495     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2684 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.056       -.57990E-06** at limit **
   2  norm          1.0220        .31229       -.71076E-07   -.12637E-03
   3  Prefactor     5.5298        12.165        .46848E-05   -.17185E-03
   4  Prefactor     .10000E-03    4.8381       -.79486E-07** at limit **
   5  Prefactor     30.659        76.842       -.91195E-05   -.21736E-03
   6  norm          .10000E-03    3.5382       -.84253E-07** at limit **
   7  norm          .10000E-03    15.434        .17811E-07** at limit **
   8  Prefactor     4.9052        3.8133        .20073E-05   -.62042E-03
   9  Prefactor     27.255        55.845       -.96797E-05   -.72118E-04
  10  norm          .10000E-03    1.5138       -.28853E-06** at limit **
  11  Prefactor     2.3455        5.0565       -.19947E-06   -.15084E-03
  12  Prefactor     .10000E-03    15.447        .73974E-07** at limit **
  13  norm          .72370        .85890        .15484E-06   -.99923E-05
  14  norm          .10000E-03    3.1168        .90545E-07** at limit **
  15  Prefactor     .10000E-03    29.393        .12083E-05** at limit **
  16  Prefactor     2.2086        3.7107        .51323E-06   -.34778E-04
  17  Prefactor     39.380        44.264        .12972E-05    .18789E-03
  18  Prefactor     7.0647        14.531       -.35945E-06   -.23012E-04
  19  Prefactor     .10000E-03    20.458       -.33449E-06** at limit **
  20  Prefactor     15.106        8.4566        .52932E-07   -.21399E-05
  21  norm          11.946        6.5986        .39335E-07   -.17350E-04
  22  Prefactor     .10000E-03    8.4334        .58545E-07** at limit **
  23  Normalizat    1.2934        .17169       -.35723E-06   -.30153E-04
  24  Prefactor     .59794        .19696       -.52902E-06   -.29007E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.022
  Prefactor  = 5.52978
  Prefactor  = 0.0001
  Prefactor  = 30.6591
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 4.90518
  Prefactor  = 27.2549
  norm       = 0.0001
  Prefactor  = 2.3455
  Prefactor  = 0.0001
  norm       = 0.723697
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.20857
  Prefactor  = 39.3802
  Prefactor  = 7.06473
  Prefactor  = 0.0001
  Prefactor  = 15.1061
  norm       = 11.946
  Prefactor  = 0.0001
  Normalizat = 1.29337
  Prefactor  = 0.597939
 **********
 **   18 **HESSE 
 **********

 FCN=   6325.495     FROM HESSE     STATUS=OK           395 CALLS     3079 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    34.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.0220        .31229        .23135E-04   -1.5506    
   3  Prefactor     5.5298        12.279        .85421E-03   -1.5238    
   4  Prefactor     .10000E-03    4.8422        .17084E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     30.659        81.194        .72292E-04   -1.4600    
   6  norm          .10000E-03    3.5433        .14612E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    15.437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.9052        3.8201        .49128E-03   -1.5265    
   9  Prefactor     27.255        55.664        .76717E-04   -1.4663    
  10  norm          .10000E-03    1.5360        .19009E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.3455        5.0192        .24257E-03   -1.5402    
  12  Prefactor     .10000E-03    15.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .72370        .80837        .71986E-03   -1.5538    
  14  norm          .10000E-03    3.1220        .13712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    29.762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.2086        3.6476        .16717E-03   -1.5411    
  17  Prefactor     39.380        44.081        .63885E-04   -1.4452    
  18  Prefactor     7.0647        14.308        .15090E-03   -1.5176    
  19  Prefactor     .10000E-03    20.538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.106        8.4584        .10305E-03   -1.4930    
  21  norm          11.946        6.5971        .11590E-03   -1.5017    
  22  Prefactor     .10000E-03    8.4458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2934        .19340        .20689E-03   -.83765    
  24  Prefactor     .59794        .21986        .34501E-03   -1.0767    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93965e-09
Minuit parameter uncertainties:
  1  0.000169715
  2  0.312291
  3  12.2842
  4  8.49995e-06
  5  81.4887
  6  9.79902e-06
  7  2.27751e-05
  8  3.82029
  9  55.7703
  10  3.11562e-06
  11  5.02012
  12  1.39765e-06
  13  0.808379
  14  2.60871e-06
  15  0.000242871
  16  3.64792
  17  44.1175
  18  14.3146
  19  9.87316e-05
  20  8.45911
  21  6.59751
  22  2.27267e-06
  23  0.193506
  24  0.220178
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  2.609e-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:  5.979e-01  2.202e-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.293e+00  1.935e-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.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.65e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/112426/likelihoodResults_489715201_489974401_4FGL_J1150.6+4154_daily_bin966.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) = 6325.49657018
delta logL = -0.00144787608224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6325.49512228
delta logL = 2.54185579251e-08

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.6253       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2934       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .59795       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=   6325.495     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      232 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    377.47        .13736E-02** at limit **
   2  alpha         1.9474        2.6767        .50000       -.17508E-07
   3  Normalizat    1.2934        .51082E-01    .20689E-03   -.48983E-04
   4  Prefactor     .59794        .60266E-01    .34501E-03   -.29097E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.94737
  Normalizat = 1.29337
  Prefactor  = 0.597939
 **********
 **   18 **HESSE 
 **********

 FCN=   6325.495     FROM HESSE     STATUS=OK            29 CALLS      261 TOTAL
                     EDM=   .66E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.6017        .27473E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9474        3.1088        .50000       -.22289    
   3  Normalizat    1.2934        .18616        .41378E-04   -.83765    
   4  Prefactor     .59794        .21945        .13800E-04   -1.0767    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.59325e-12
Minuit parameter uncertainties:
  1  1.84011e-05
  2  311.585
  3  0.186257
  4  0.219769
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/112426': 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) = 6325.49512162
delta logL = 6.84580300003e-07

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  1.840e-05  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.947e+00  3.116e+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:  5.979e-01  2.198e-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.293e+00  1.863e-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/112426/cmap_HighResolution_489715201_489974401_4FGL_J1150.6+4154_daily_bin966.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.65e-05', job_status='DONE', photon_flux_upper_limit='2.06e-08', time_completed='2021-09-04 13:29:53.487084', job_id='112426', GAL2='0.60', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1630787393.49', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.60', dlogl='6.85e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='966' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:29:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 112426: <4FGL_J1150.6+4154_daily_bin966> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin966> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Sep  4 13:16:54 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:16:55 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:16:55 2021
Terminated at Sat Sep  4 13:29:54 2021
Results reported at Sat Sep  4 13:29:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin966 177.656 41.9096 489715201 489974401 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 :                                   766.01 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             318.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            780 sec.

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

