/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 8 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 = 7427
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1150.6+4154_daily_bin296
RA = 177.656, Dec = 41.9096
tmin = 316051201, tmax = 316310401
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='108882', job_status='RUN', time_executed='2021-09-04 13:07:05.353325', time_epoch_executed='1630786025.35' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='296'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108882

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108882/ft1_4FGL_J1150.6+4154_daily_bin296.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108882/ft2_4FGL_J1150.6+4154_daily_bin296.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108882/ft1_4FGL_J1150.6+4154_daily_bin296.fits outfile=/scratch/kocevski/108882/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin296.fits ra=177.656 dec=41.9096 rad=12.0 tmin=316051201.0 tmax=316310401.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.80
user 3.26
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108882/ft1_filtered_4FGL_J1150.6+4154_daily_bin296.fits" evtable="EVENTS" scfile=/scratch/kocevski/108882/ft2_4FGL_J1150.6+4154_daily_bin296.fits sctable="SC_DATA" outfile=/scratch/kocevski/108882/ltcube_316051201_316310401_4FGL_J1150.6+4154_daily_bin296.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/108882/ft2_4FGL_J1150.6+4154_daily_bin296.fits
.....................!
real 12.03
user 11.58
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108882/ft1_filtered_4FGL_J1150.6+4154_daily_bin296.fits evtable="EVENTS" scfile=/scratch/kocevski/108882/ft2_4FGL_J1150.6+4154_daily_bin296.fits sctable="SC_DATA" expcube=/scratch/kocevski/108882/ltcube_316051201_316310401_4FGL_J1150.6+4154_daily_bin296.fits outfile=/scratch/kocevski/108882/expmap_316051201_316310401_4FGL_J1150.6+4154_daily_bin296.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/108882/ltcube_316051201_316310401_4FGL_J1150.6+4154_daily_bin296.fits
.....................!
real 190.88
user 185.93
sys 4.50

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/108882/ft1_filtered_4FGL_J1150.6+4154_daily_bin296.fits scfile=/scratch/kocevski/108882/ft2_4FGL_J1150.6+4154_daily_bin296.fits outfile=/scratch/kocevski/108882/cmap_316051201_316310401_4FGL_J1150.6+4154_daily_bin296.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.62
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108882/ft1_filtered_4FGL_J1150.6+4154_daily_bin296.fits scfile=/scratch/kocevski/108882/ft2_4FGL_J1150.6+4154_daily_bin296.fits outfile=/scratch/kocevski/108882/cmap_HighResolution_316051201_316310401_4FGL_J1150.6+4154_daily_bin296.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.69
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.5040       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.472       1.0000         .10000E-03   10000.    
     5 'Prefactor '    63.937       1.0000         .10000E-03   10000.    
     6 'norm      '    35.102       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .44629       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.9028       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.264       1.0000         .10000E-03   10000.    
    13 'norm      '    4.2181       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 '    3.8800       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.7456       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.7594       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .90629       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1965       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=   6255.666     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     3396 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    158.13       -.67242E-05** at limit **
   2  norm          1.5040        .37082        .17852E-07    .51072E-03
   3  Prefactor     .10000E-03    5.9085       -.31871E-06** at limit **
   4  Prefactor     11.473        14.239       -.93865E-06   -.55585E-03
   5  Prefactor     63.938        70.819        .95257E-06   -.10630E-04
   6  norm          35.110        17.229       -.10081E-05    .18606E-03
   7  norm          .10000E-03    22.198        .45314E-05** at limit **
   8  Prefactor     .10000E-03    2.2804       -.11669E-07** at limit **
   9  Prefactor     .10000E-03    39.699        .92861E-05** at limit **
  10  norm          .44741        2.2915       -.14138E-05   -.56277E-03
  11  Prefactor     2.9115        6.7879       -.88740E-06   -.23497E-03
  12  Prefactor     11.272        77.468        .16253E-04    .27374E-04
  13  norm          4.2181        1.7270       -.43163E-06    .10717E-02
  14  norm          .10000E-03    3.1755        .24723E-07** at limit **
  15  Prefactor     .10000E-03    31.835       -.63571E-05** at limit **
  16  Prefactor     3.8782        4.1756        .26724E-06   -.67531E-05
  17  Prefactor     .10000E-03    37.236       -.10103E-05** at limit **
  18  Prefactor     1.7526        57.623       -.84971E-05   -.71379E-04
  19  Prefactor     .10000E-03    17.537       -.19408E-05** at limit **
  20  Prefactor     7.7595        6.4397       -.47434E-05    .79977E-03
  21  norm          .10000E-03    3.3031        .55112E-07** at limit **
  22  Prefactor     .10000E-03    31.042       -.57441E-05** at limit **
  23  Normalizat    .90634        .18119        .36369E-06    .34248E-03
  24  Prefactor     1.1964        .20944        .54839E-06    .25504E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 1.50404
  Prefactor  = 0.0001
  Prefactor  = 11.4734
  Prefactor  = 63.9376
  norm       = 35.1098
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.447411
  Prefactor  = 2.91148
  Prefactor  = 11.2723
  norm       = 4.21812
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 3.87822
  Prefactor  = 0.0001
  Prefactor  = 1.75264
  Prefactor  = 0.0001
  Prefactor  = 7.75949
  norm       = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.906339
  Prefactor  = 1.19641
 **********
 **   18 **HESSE 
 **********

 FCN=   6255.666     FROM HESSE     STATUS=OK           391 CALLS     3787 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    158.45        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.5040        .37431        .22364E-04   -1.5463    
   3  Prefactor     .10000E-03    5.9142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.473        14.497        .59139E-03   -1.5030    
   5  Prefactor     63.938        70.816        .50187E-04   -1.4107    
   6  norm          35.110        17.181        .67640E-04   -1.4522    
   7  norm          .10000E-03    22.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.3426        .23092E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    39.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .44741        3.8230        .20825E-02   -1.5574    
  11  Prefactor     2.9115        6.7108        .23849E-03   -1.5367    
  12  Prefactor     11.272        76.294        .11937E-03   -1.5036    
  13  norm          4.2181        1.7203        .55047E-04   -1.5297    
  14  norm          .10000E-03    3.1769        .13764E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    31.873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.8782        4.0140        .13513E-03   -1.5314    
  17  Prefactor     .10000E-03    37.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.7526        54.966        .31744E-03   -1.5443    
  19  Prefactor     .10000E-03    17.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.7595        6.3463        .14395E-03   -1.5151    
  21  norm          .10000E-03    3.3176        .14036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    31.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .90634        .21431        .26428E-03   -.96238    
  24  Prefactor     1.1964        .24812        .28001E-03   -.86442    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85697e-09
Minuit parameter uncertainties:
  1  0.00066154
  2  0.374307
  3  1.61905e-05
  4  14.5011
  5  70.9092
  6  17.1835
  7  0.000191105
  8  3.20963e-05
  9  0.000371854
  10  2.61561
  11  6.71256
  12  58.7598
  13  1.72035
  14  9.31004e-07
  15  0.000400928
  16  4.01423
  17  8.24074e-05
  18  19.6494
  19  0.000117424
  20  6.34689
  21  1.83032e-06
  22  0.000327252
  23  0.214513
  24  0.248361
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  9.310e-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.196e+00  2.484e-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:  9.063e-01  2.145e-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.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.03e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/108882/likelihoodResults_316051201_316310401_4FGL_J1150.6+4154_daily_bin296.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) = 6255.66771598
delta logL = -0.00142900602805

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6255.666287
delta logL = -2.87363945972e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6239       1.0000          .0000       5.0000    
     3 'Normalizat'    .90634       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1964       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=   6254.987     FROM MIGRAD    STATUS=CONVERGED    158 CALLS      301 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25242E-01    .24803E-01    .25033E-02   -.15421E-01
   2  alpha         5.0000        .68817        .50000    ** at limit **
   3  Normalizat    .82766        .22294        .26428E-02    .10610E-03
   4  Prefactor     1.2547        .25587        .28001E-03   -.93626E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0252416
  alpha      = 5
  Normalizat = 0.827661
  Prefactor  = 1.25468
 **********
 **   18 **HESSE 
 **********

 FCN=   6254.987     FROM HESSE     STATUS=OK            31 CALLS      332 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25242E-01    .24226E-01    .11271E-03   -1.5740    
   2  alpha         5.0000        3.2690        .53589E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .82766        .21533        .10571E-03   -.99051    
   4  Prefactor     1.2547        .25283        .11200E-04   -.84665    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.5592e-10
Minuit parameter uncertainties:
  1  0.0242261
  2  4.84271e-05
  3  0.215555
  4  0.253076
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108882': 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) = 6254.98671983
delta logL = 0.679567140996

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  2.524e-02  2.423e-02  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  5.000e+00  4.843e-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:  1.255e+00  2.531e-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:  8.277e-01  2.156e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.47
Ra Dec: 177.656 41.910
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 6.97e-08 +/- 6.66e-08
Energy Flux (Free Index): 9.69e-06 +/- 9.28e-06

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/108882/cmap_HighResolution_316051201_316310401_4FGL_J1150.6+4154_daily_bin296.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-05', comment='SUCCESS', energy_flux2='9.69e-06', dlogl='6.80e-01', photon_flux2='6.97e-08', job_status='DONE', time_completed='2021-09-04 13:20:28.080258', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='2.27e-08', energy_flux_error2='9.28e-06', EG='0.91', time_epoch_completed='1630786828.08', return_code='0', job_id='108882', GAL2='1.25', EG2='0.83', return_code2='0', photon_flux_error2='6.66e-08', ts2='1.47', photon_index='1.62' WHERE bin_id='296' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:20:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 108882: <4FGL_J1150.6+4154_daily_bin296> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin296> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep  4 13:06:40 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:06:42 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:06:42 2021
Terminated at Sat Sep  4 13:20:28 2021
Results reported at Sat Sep  4 13:20:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin296 177.656 41.9096 316051201 316310401 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 :                                   800.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             296.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   826 sec.
    Turnaround time :                            828 sec.

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

