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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin680
RA = 177.656, Dec = 41.9096
tmin = 415584001, tmax = 415843201
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='110889', job_status='RUN', time_executed='2021-09-04 13:12:06.208054', time_epoch_executed='1630786326.21' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='680'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/110889

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/110889/ft1_4FGL_J1150.6+4154_daily_bin680.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/110889/ft2_4FGL_J1150.6+4154_daily_bin680.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/110889/ft1_4FGL_J1150.6+4154_daily_bin680.fits outfile=/scratch/kocevski/110889/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin680.fits ra=177.656 dec=41.9096 rad=12.0 tmin=415584001.0 tmax=415843201.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 6.52
user 6.26
sys 0.24

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

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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/110889/ft1_filtered_4FGL_J1150.6+4154_daily_bin680.fits evtable="EVENTS" scfile=/scratch/kocevski/110889/ft2_4FGL_J1150.6+4154_daily_bin680.fits sctable="SC_DATA" expcube=/scratch/kocevski/110889/ltcube_415584001_415843201_4FGL_J1150.6+4154_daily_bin680.fits outfile=/scratch/kocevski/110889/expmap_415584001_415843201_4FGL_J1150.6+4154_daily_bin680.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/110889/ltcube_415584001_415843201_4FGL_J1150.6+4154_daily_bin680.fits
.....................!
real 190.87
user 186.11
sys 4.14

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/110889/ft1_filtered_4FGL_J1150.6+4154_daily_bin680.fits scfile=/scratch/kocevski/110889/ft2_4FGL_J1150.6+4154_daily_bin680.fits outfile=/scratch/kocevski/110889/cmap_415584001_415843201_4FGL_J1150.6+4154_daily_bin680.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/110889/ft1_filtered_4FGL_J1150.6+4154_daily_bin680.fits scfile=/scratch/kocevski/110889/ft2_4FGL_J1150.6+4154_daily_bin680.fits outfile=/scratch/kocevski/110889/cmap_HighResolution_415584001_415843201_4FGL_J1150.6+4154_daily_bin680.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.53
user 0.41
sys 0.11

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    90.257       1.0000         .10000E-03   10000.    
     2 'norm      '    1.7016       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    111.41       1.0000         .10000E-03   10000.    
     6 'norm      '    21.945       1.0000         .10000E-03   10000.    
     7 'norm      '    96.329       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10968E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .22258       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.3063       1.0000         .10000E-03   10000.    
    12 'Prefactor '    104.90       1.0000         .10000E-03   10000.    
    13 'norm      '    15.096       1.0000         .10000E-03   10000.    
    14 'norm      '    .10092E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    42.928       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.3066       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .34301E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.0201       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10191E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .35169       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.5541       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=   4195.455     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     3195 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     90.385        172.92        .54705E-05    .48795E-05
   2  norm          1.7016        .49983       -.42066E-08    .52430E-04
   3  Prefactor     .10000E-03    7.0191       -.14931E-07** at limit **
   4  Prefactor     .10000E-03    8.2655       -.46182E-07** at limit **
   5  Prefactor     111.45        122.40        .14858E-05    .23684E-05
   6  norm          21.943        16.963        .92307E-07    .15413E-04
   7  norm          96.358        115.19        .10044E-05    .32337E-05
   8  Prefactor     .10000E-03    1.3060       -.11969E-06** at limit **
   9  Prefactor     .10000E-03    17.348       -.15782E-06** at limit **
  10  norm          .22271        2.8740       -.73499E-07    .10492E-03
  11  Prefactor     4.3059        7.8017       -.25506E-06    .35982E-04
  12  Prefactor     104.84        101.03       -.18981E-05    .11054E-04
  13  norm          15.098        3.2988        .11322E-06   -.38190E-04
  14  norm          .10000E-03    11.600        .88357E-07** at limit **
  15  Prefactor     42.927        37.713        .22489E-07    .88609E-05
  16  Prefactor     3.2766        6.0282        .16503E-05    .31348E-04
  17  Prefactor     .10000E-03    35.726        .19817E-06** at limit **
  18  Prefactor     .10000E-03    201.47       -.97314E-05** at limit **
  19  Prefactor     3.0238        120.73        .49459E-06    .50654E-05
  20  Prefactor     .10000E-03    3.1879        .49951E-08** at limit **
  21  norm          .10000E-03    2.9576        .31318E-08** at limit **
  22  Prefactor     .10000E-03    12.118       -.74999E-08** at limit **
  23  Normalizat    .35186        .23911       -.12935E-05    .76233E-05
  24  Prefactor     1.5538        .27612        .87928E-06    .64894E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 90.3851
  norm       = 1.7016
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 111.454
  norm       = 21.9434
  norm       = 96.358
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.222714
  Prefactor  = 4.30594
  Prefactor  = 104.843
  norm       = 15.0978
  norm       = 0.0001
  Prefactor  = 42.9271
  Prefactor  = 3.2766
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.02383
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.351863
  Prefactor  = 1.55382
 **********
 **   18 **HESSE 
 **********

 FCN=   4195.455     FROM HESSE     STATUS=OK           405 CALLS     3600 TOTAL
                     EDM=   .95E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     90.385        172.95        .21148E-03   -1.3804    
   2  norm          1.7016        .50004        .24016E-04   -1.5447    
   3  Prefactor     .10000E-03    7.0247        .16759E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.2693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     111.45        122.42        .19055E-03   -1.3593    
   6  norm          21.943        16.938        .85504E-04   -1.4771    
   7  norm          96.358        115.32        .20477E-03   -1.3742    
   8  Prefactor     .10000E-03    2.1091        .14316E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .22271        2.9304        .21025E-03   -1.5614    
  11  Prefactor     4.3059        7.8541        .97065E-03   -1.5293    
  12  Prefactor     104.84        100.91        .19631E-03   -1.3657    
  13  norm          15.098        3.3149        .44545E-04   -1.4931    
  14  norm          .10000E-03    11.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     42.927        37.533        .61186E-04   -1.4397    
  16  Prefactor     3.2766        6.0524        .20315E-03   -1.5346    
  17  Prefactor     .10000E-03    35.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    199.50        .65988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.0238        118.71        .23353E-03   -1.5360    
  20  Prefactor     .10000E-03    3.1967        .11293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.9636        .10879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    12.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .35186        .25261        .40210E-03   -1.1987    
  24  Prefactor     1.5538        .29984        .24968E-03   -.76043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.48812e-11
Minuit parameter uncertainties:
  1  173.927
  2  0.500041
  3  9.86268e-07
  4  2.27004e-07
  5  122.704
  6  16.9414
  7  115.587
  8  3.64085e-05
  9  7.97115e-06
  10  1.61546
  11  7.85599
  12  101.074
  13  3.31497
  14  1.99704e-06
  15  37.5541
  16  6.05353
  17  2.14265e-07
  18  7.13986e-05
  19  37.9728
  20  1.25002e-06
  21  1.39514e-06
  22  8.94464e-06
  23  0.253431
  24  0.300179
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  1.997e-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:  1.554e+00  3.002e-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:  3.519e-01  2.534e-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: 4.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 8.66e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/110889/likelihoodResults_415584001_415843201_4FGL_J1150.6+4154_daily_bin680.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): 102
logL (Free Index) = 4195.45512084
delta logL = -0.000404132447329

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4195.45472171
delta logL = -5.00467649545e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13580E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6491       1.0000          .0000       5.0000    
     3 'Normalizat'    .35123       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5546       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=   4195.455     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      246 TOTAL
                     EDM=   .73E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    22.792        .69516E-01** at limit **
   2  alpha         2.1345        3.4677        .17866E-01    .57271E-08
   3  Normalizat    .35186        .84015E-02    .40212E-03   -.99716E-04
   4  Prefactor     1.5538        .10435E-01    .24968E-03   -.15487E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.13453
  Normalizat = 0.351862
  Prefactor  = 1.55382
 **********
 **   18 **HESSE 
 **********

 FCN=   4195.455     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    16.819        .37086E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1345        2.6052        .71463E-03   -.14671    
   3  Normalizat    .35186        .23756        .16085E-04   -1.1987    
   4  Prefactor     1.5538        .29556        .49937E-04   -.76043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31854e-11
Minuit parameter uncertainties:
  1  4.49105e-05
  2  286.959
  3  0.23824
  4  0.295887
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/110889': 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) = 4195.4547154
delta logL = 1.30708849611e-06

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  4.491e-05  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  2.135e+00  2.870e+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.554e+00  2.959e-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:  3.519e-01  2.382e-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/110889/cmap_HighResolution_415584001_415843201_4FGL_J1150.6+4154_daily_bin680.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.66e-05', job_status='DONE', photon_flux_upper_limit='4.89e-08', time_completed='2021-09-04 13:22:50.305469', job_id='110889', GAL2='1.55', fit_tolerance='1e-08', EG2='0.35', EG='0.35', time_epoch_completed='1630786970.31', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.55', dlogl='1.31e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='680' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:22:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 110889: <4FGL_J1150.6+4154_daily_bin680> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin680> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep  4 13:11:47 2021
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:11:48 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:11:48 2021
Terminated at Sat Sep  4 13:22:51 2021
Results reported at Sat Sep  4 13:22:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin680 177.656 41.9096 415584001 415843201 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 :                                   641.44 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             327.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   662 sec.
    Turnaround time :                            664 sec.

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

