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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1069
RA = 177.656, Dec = 41.9096
tmin = 516412801, tmax = 516672001
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='113498', job_status='RUN', time_executed='2021-09-04 13:23:21.332454', time_epoch_executed='1630787001.33' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1069'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/113498

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/113498/ft1_4FGL_J1150.6+4154_daily_bin1069.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/113498/ft2_4FGL_J1150.6+4154_daily_bin1069.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/113498/ft1_4FGL_J1150.6+4154_daily_bin1069.fits outfile=/scratch/kocevski/113498/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1069.fits ra=177.656 dec=41.9096 rad=12.0 tmin=516412801.0 tmax=516672001.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.50
user 3.25
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/113498/ft2_4FGL_J1150.6+4154_daily_bin1069.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/113498/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1069.fits evtable="EVENTS" outfile="/scratch/kocevski/113498/ft1_filtered_4FGL_J1150.6+4154_daily_bin1069.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/113498/ft1_filtered_4FGL_J1150.6+4154_daily_bin1069.fits" evtable="EVENTS" scfile=/scratch/kocevski/113498/ft2_4FGL_J1150.6+4154_daily_bin1069.fits sctable="SC_DATA" outfile=/scratch/kocevski/113498/ltcube_516412801_516672001_4FGL_J1150.6+4154_daily_bin1069.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/113498/ft2_4FGL_J1150.6+4154_daily_bin1069.fits
.....................!
real 12.18
user 11.82
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/113498/ft1_filtered_4FGL_J1150.6+4154_daily_bin1069.fits evtable="EVENTS" scfile=/scratch/kocevski/113498/ft2_4FGL_J1150.6+4154_daily_bin1069.fits sctable="SC_DATA" expcube=/scratch/kocevski/113498/ltcube_516412801_516672001_4FGL_J1150.6+4154_daily_bin1069.fits outfile=/scratch/kocevski/113498/expmap_516412801_516672001_4FGL_J1150.6+4154_daily_bin1069.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/113498/ltcube_516412801_516672001_4FGL_J1150.6+4154_daily_bin1069.fits
.....................!
real 190.21
user 184.84
sys 5.00

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/113498/ft1_filtered_4FGL_J1150.6+4154_daily_bin1069.fits scfile=/scratch/kocevski/113498/ft2_4FGL_J1150.6+4154_daily_bin1069.fits outfile=/scratch/kocevski/113498/cmap_516412801_516672001_4FGL_J1150.6+4154_daily_bin1069.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/113498/ft1_filtered_4FGL_J1150.6+4154_daily_bin1069.fits scfile=/scratch/kocevski/113498/ft2_4FGL_J1150.6+4154_daily_bin1069.fits outfile=/scratch/kocevski/113498/cmap_HighResolution_516412801_516672001_4FGL_J1150.6+4154_daily_bin1069.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/113498/ft1_filtered_4FGL_J1150.6+4154_daily_bin1069.fits evtable="EVENTS" scfile=/scratch/kocevski/113498/ft2_4FGL_J1150.6+4154_daily_bin1069.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/113498/Model_4FGL_J1150.6+4154_daily_bin1069.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/113498/ft1_filtered_4FGL_J1150.6+4154_daily_bin1069.fits.....................!
real 54.41
user 53.15
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13174E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.0108       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .49610       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.2490       1.0000         .10000E-03   10000.    
     5 'Prefactor '    93.840       1.0000         .10000E-03   10000.    
     6 'norm      '    14.970       1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .33440       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .71033       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.4749       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.5719       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .97985       1.0000         .10000E-03   10000.    
    19 'Prefactor '    38.976       1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.107       1.0000         .10000E-03   10000.    
    21 'norm      '    .39845E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    24.864       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0773       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85863       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=   6509.697     FROM MIGRAD    STATUS=CONVERGED    559 CALLS     2785 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    288.44        .34608E-05** at limit **
   2  norm          1.0108        .31207        .68247E-07    .28468E-02
   3  Prefactor     .53110        72.444        .22666E-04   -.92862E-04
   4  Prefactor     6.2451        14.227       -.52246E-06    .15315E-03
   5  Prefactor     93.835        85.372        .15186E-06    .40483E-04
   6  norm          14.968        12.224       -.55137E-06   -.12501E-03
   7  norm          .10000E-03    34.628       -.12979E-05** at limit **
   8  Prefactor     .33424        1.1216        .29770E-06    .18819E-02
   9  Prefactor     .10000E-03    20.422        .55995E-06** at limit **
  10  norm          .71010        1.7361       -.25144E-06    .94846E-03
  11  Prefactor     .10000E-03    2.9073       -.29445E-07** at limit **
  12  Prefactor     .10000E-03    45.396        .14666E-05** at limit **
  13  norm          4.4748        1.2202        .41504E-07    .13278E-02
  14  norm          .10000E-03    3.5705       -.59375E-07** at limit **
  15  Prefactor     .10000E-03    15.576       -.57549E-07** at limit **
  16  Prefactor     2.5720        2.1804        .89116E-07    .18973E-03
  17  Prefactor     .10000E-03    81.003       -.30622E-05** at limit **
  18  Prefactor     .99096        14.817       -.69212E-05   -.49548E-04
  19  Prefactor     38.980        31.932        .72535E-07    .53539E-04
  20  Prefactor     12.106        8.9008       -.10032E-05   -.44436E-03
  21  norm          .10001E-03    7.6796       -.38789E-05** at limit **
  22  Prefactor     24.897        21.294       -.94276E-06   -.74504E-05
  23  Normalizat    1.0773        .16403        .21584E-06    .37759E-03
  24  Prefactor     .85878        .19187        .14562E-05    .50310E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.01076
  Prefactor  = 0.531097
  Prefactor  = 6.24513
  Prefactor  = 93.8352
  norm       = 14.9679
  norm       = 0.000100001
  Prefactor  = 0.334244
  Prefactor  = 0.0001
  norm       = 0.710101
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.47482
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.57202
  Prefactor  = 0.000100005
  Prefactor  = 0.990961
  Prefactor  = 38.9796
  Prefactor  = 12.1058
  norm       = 0.000100005
  Prefactor  = 24.8974
  Normalizat = 1.07727
  Prefactor  = 0.858781
 **********
 **   18 **HESSE 
 **********

 FCN=   6509.697     FROM HESSE     STATUS=OK           409 CALLS     3194 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    289.65        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.0108        .31587        .23087E-04   -1.5507    
   3  Prefactor     .53110        89.612        .41897E-02   -1.5562    
   4  Prefactor     6.2451        14.538        .16058E-03   -1.5208    
   5  Prefactor     93.835        85.420        .41488E-04   -1.3768    
   6  norm          14.968        12.314        .10352E-03   -1.4934    
   7  norm          .10000E-03    34.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .33424        1.2099        .14379E-02   -1.5592    
   9  Prefactor     .10000E-03    20.446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .71010        1.6520        .15404E-03   -1.5539    
  11  Prefactor     .10000E-03    2.9626        .13425E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    45.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.4748        1.2198        .44388E-04   -1.5285    
  14  norm          .10000E-03    3.5772        .14889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.5720        2.1787        .10315E-03   -1.5387    
  17  Prefactor     .10000E-03    81.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .99096        73.690        .47754E-02   -1.5509    
  19  Prefactor     38.980        31.956        .64202E-04   -1.4458    
  20  Prefactor     12.106        8.9328        .11513E-03   -1.5012    
  21  norm          .10001E-03    6.2164        .53625E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     24.897        21.418        .80335E-04   -1.4710    
  23  Normalizat    1.0773        .18873        .22416E-03   -.90485    
  24  Prefactor     .85878        .22406        .30048E-03   -.97597    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08808e-08
Minuit parameter uncertainties:
  1  8.91568e-05
  2  0.315869
  3  13.8173
  4  14.5462
  5  85.5326
  6  12.3156
  7  0.000350979
  8  1.20995
  9  9.73126e-05
  10  1.6521
  11  1.77764e-05
  12  0.000100462
  13  1.21985
  14  7.54844e-06
  15  5.05738e-05
  16  2.17874
  17  0.00122232
  18  17.1119
  19  31.9701
  20  8.93376
  21  0.000358266
  22  21.4243
  23  0.188847
  24  0.224299
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  7.548e-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:  8.588e-01  2.243e-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.077e+00  1.888e-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.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.05e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/113498/likelihoodResults_516412801_516672001_4FGL_J1150.6+4154_daily_bin1069.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) = 6509.69868211
delta logL = -0.00131681559651

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6509.6973653
delta logL = -6.17183104623e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6209       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0773       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85876       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=   6509.697     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      244 TOTAL
                     EDM=   .97E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    290.75        .14892E-02** at limit **
   2  alpha         1.6753        3.3471        .50000        .20236E-08
   3  Normalizat    1.0773        .39372E-01    .22416E-03   -.59795E-04
   4  Prefactor     .85878        .47856E-01    .30048E-03   -.43246E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.67529
  Normalizat = 1.07728
  Prefactor  = 0.858776
 **********
 **   18 **HESSE 
 **********

 FCN=   6509.697     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .31E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    862.35        .29784E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6753        4.1397        .50000       -.33618    
   3  Normalizat    1.0773        .16893        .89664E-05   -.90485    
   4  Prefactor     .85878        .20523        .12019E-04   -.97597    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.08065e-12
Minuit parameter uncertainties:
  1  1.95443e-05
  2  2798.56
  3  0.16901
  4  0.205418
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/113498': 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): 102
logL (Free Index) = 6509.69736526
delta logL = 3.41224222211e-08

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  1.954e-05  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.675e+00  2.799e+03  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:  8.588e-01  2.054e-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.077e+00  1.690e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/113498/cmap_HighResolution_516412801_516672001_4FGL_J1150.6+4154_daily_bin1069.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.05e-05', job_status='DONE', photon_flux_upper_limit='2.28e-08', time_completed='2021-09-04 13:36:24.732700', job_id='113498', GAL2='0.86', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1630787784.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='3.41e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1069' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:36:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 113498: <4FGL_J1150.6+4154_daily_bin1069> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin1069> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep  4 13:21:05 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:21:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 13:21:06 2021
Terminated at Sat Sep  4 13:36:25 2021
Results reported at Sat Sep  4 13:36:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1069 177.656 41.9096 516412801 516672001 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 :                                   783.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             304.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            920 sec.

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

