/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 187 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 = 7450
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1150.6+4154_daily_bin50
RA = 177.656, Dec = 41.9096
tmin = 252288001, tmax = 252547201
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='107479', job_status='RUN', time_executed='2021-09-04 13:05:20.748728', time_epoch_executed='1630785920.75' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='50'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107479

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107479/ft1_4FGL_J1150.6+4154_daily_bin50.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107479/ft2_4FGL_J1150.6+4154_daily_bin50.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107479/ft1_4FGL_J1150.6+4154_daily_bin50.fits outfile=/scratch/kocevski/107479/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin50.fits ra=177.656 dec=41.9096 rad=12.0 tmin=252288001.0 tmax=252547201.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 2.59
user 2.37
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/107479/ft2_4FGL_J1150.6+4154_daily_bin50.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/107479/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin50.fits evtable="EVENTS" outfile="/scratch/kocevski/107479/ft1_filtered_4FGL_J1150.6+4154_daily_bin50.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.50
user 0.32
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107479/ft1_filtered_4FGL_J1150.6+4154_daily_bin50.fits evtable="EVENTS" scfile=/scratch/kocevski/107479/ft2_4FGL_J1150.6+4154_daily_bin50.fits sctable="SC_DATA" expcube=/scratch/kocevski/107479/ltcube_252288001_252547201_4FGL_J1150.6+4154_daily_bin50.fits outfile=/scratch/kocevski/107479/expmap_252288001_252547201_4FGL_J1150.6+4154_daily_bin50.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/107479/ltcube_252288001_252547201_4FGL_J1150.6+4154_daily_bin50.fits
.....................!
real 190.39
user 184.26
sys 5.49

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/107479/ft1_filtered_4FGL_J1150.6+4154_daily_bin50.fits scfile=/scratch/kocevski/107479/ft2_4FGL_J1150.6+4154_daily_bin50.fits outfile=/scratch/kocevski/107479/cmap_252288001_252547201_4FGL_J1150.6+4154_daily_bin50.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.75
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107479/ft1_filtered_4FGL_J1150.6+4154_daily_bin50.fits scfile=/scratch/kocevski/107479/ft2_4FGL_J1150.6+4154_daily_bin50.fits outfile=/scratch/kocevski/107479/cmap_HighResolution_252288001_252547201_4FGL_J1150.6+4154_daily_bin50.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .67441       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.3443       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    13.875       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.8569       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.8301       1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.358       1.0000         .10000E-03   10000.    
    13 'norm      '    1.0411       1.0000         .10000E-03   10000.    
    14 'norm      '    1.0862       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.8133       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10824E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10358E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10403E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    52.450       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .99807       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .93431       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=   6670.015     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2362 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    29.880        .26265E-05** at limit **
   2  norm          .67447        .25309       -.28394E-07   -.49570E-03
   3  Prefactor     1.3444        41.054        .30998E-05   -.31052E-04
   4  Prefactor     .10000E-03    8.3551       -.19873E-06** at limit **
   5  Prefactor     .10000E-03    25.068       -.22520E-05** at limit **
   6  norm          13.878        14.260       -.33366E-06   -.51348E-04
   7  norm          .10000E-03    14.437        .49615E-06** at limit **
   8  Prefactor     3.8572        2.2211       -.25514E-08   -.57325E-04
   9  Prefactor     .10000E-03    13.011       -.57665E-06** at limit **
  10  norm          .10000E-03    .65722        .18345E-07** at limit **
  11  Prefactor     3.8310        3.9094        .69936E-07   -.20482E-04
  12  Prefactor     25.359        36.364       -.13239E-06   -.89890E-05
  13  norm          1.0411        .78490       -.30663E-07   -.27598E-03
  14  norm          1.0837        13.545        .32414E-05   -.13913E-03
  15  Prefactor     3.8009        30.413       -.97324E-06   -.54128E-04
  16  Prefactor     .10000E-03    1.3629        .22014E-07** at limit **
  17  Prefactor     .10000E-03    15.067        .48681E-06** at limit **
  18  Prefactor     .10000E-03    8.7214        .18230E-06** at limit **
  19  Prefactor     .10000E-03    59.000       -.84325E-06** at limit **
  20  Prefactor     .10000E-03    4.3635       -.11880E-06** at limit **
  21  norm          .10000E-03    4.5739       -.78104E-08** at limit **
  22  Prefactor     52.448        23.965       -.44570E-07   -.35730E-04
  23  Normalizat    .99793        .15737        .27836E-07   -.70500E-04
  24  Prefactor     .93452        .18503       -.46157E-06   -.40839E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  norm       = 0.674472
  Prefactor  = 1.34443
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 13.8779
  norm       = 0.0001
  Prefactor  = 3.85719
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.83098
  Prefactor  = 25.3585
  norm       = 1.04106
  norm       = 1.08373
  Prefactor  = 3.80092
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 52.4484
  Normalizat = 0.997934
  Prefactor  = 0.934518
 **********
 **   18 **HESSE 
 **********

 FCN=   6670.015     FROM HESSE     STATUS=OK           399 CALLS     2761 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    31.710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .67447        .25010        .22905E-04   -1.5544    
   3  Prefactor     1.3444        40.468        .37779E-03   -1.5476    
   4  Prefactor     .10000E-03    8.3890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    26.421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          13.878        14.019        .10753E-03   -1.4963    
   7  norm          .10000E-03    14.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8572        2.2138        .87284E-04   -1.5315    
   9  Prefactor     .10000E-03    13.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .66314        .64566E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.8310        3.8958        .15487E-03   -1.5316    
  12  Prefactor     25.359        36.039        .79550E-04   -1.4700    
  13  norm          1.0411        .76343        .57958E-04   -1.5504    
  14  norm          1.0837        14.613        .46039E-03   -1.5500    
  15  Prefactor     3.8009        31.048        .20669E-03   -1.5318    
  16  Prefactor     .10000E-03    2.6529        .18481E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    15.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.7646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    59.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.360        .32893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    4.6051        .17035E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     52.448        23.971        .55380E-04   -1.4258    
  23  Normalizat    .99793        .18198        .22872E-03   -.93100    
  24  Prefactor     .93452        .21319        .28109E-03   -.94945    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.92579e-10
Minuit parameter uncertainties:
  1  0.000583601
  2  0.250098
  3  14.7626
  4  2.22984e-05
  5  0.000459219
  6  14.0225
  7  7.49139e-05
  8  2.21381
  9  8.16198e-05
  10  6.62298e-07
  11  3.89601
  12  36.0699
  13  0.763433
  14  7.96115
  15  21.7416
  16  3.86635e-06
  17  7.55283e-05
  18  2.07413e-05
  19  0.00010091
  20  0.000178977
  21  2.56813e-06
  22  23.9758
  23  0.182095
  24  0.213379
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.084e+00  7.961e+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

GAL_V02
   Spectrum: PowerLaw
672    Prefactor:  9.345e-01  2.134e-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.979e-01  1.821e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 177.656 41.910
Photon Flux Upper Limit: 3.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.69e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/107479/likelihoodResults_252288001_252547201_4FGL_J1150.6+4154_daily_bin50.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) = 6669.54382431
delta logL = 0.471528876156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.53770446
delta logL = 0.477648722494

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27075       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8613       1.0000          .0000       5.0000    
     3 'Normalizat'    .95471       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96141       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.

 FCN=   6669.538     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      232 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27050        3.6922        .10027E-01    .22168E-02
   2  alpha         3.8617        3.7691        .36907        .72194E-04
   3  Normalizat    .95470        .26854E-01    .45597E-01    .74911E-05
   4  Prefactor     .96142        .32229E-01    .45783E-01    .10735E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.270496
  alpha      = 3.8617
  Normalizat = 0.954699
  Prefactor  = 0.96142
 **********
 **   18 **HESSE 
 **********

 FCN=   6669.538     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      267 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27050        15.536        .45909E-03   -1.5604    
   2  alpha         3.8617        4.0677        .12733E-01    .57601    
   3  Normalizat    .95470        .12942        .23311E-03   -.94564    
   4  Prefactor     .96142        .15494        .27738E-03   -.94027    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.93275e-11
Minuit parameter uncertainties:
  1  4.1003
  2  6.14061
  3  0.129465
  4  0.155015
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107479': 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) = 6669.53770442
delta logL = 0.477648762421

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  2.705e-01  4.100e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  3.862e+00  6.141e+00  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:  9.614e-01  1.550e-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.547e-01  1.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.01
Ra Dec: 177.656 41.910
Photon Index (Free Index): 3.86 +/- 6.14
Photon Flux (Free Index): 3.91e-08 +/- 4.23e-08
Energy Flux (Free Index): 6.57e-06 +/- 1.04e-05

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/107479/cmap_HighResolution_252288001_252547201_4FGL_J1150.6+4154_daily_bin50.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.69e-05', comment='SUCCESS', energy_flux2='6.57e-06', dlogl='4.78e-01', photon_flux2='3.91e-08', job_status='DONE', time_completed='2021-09-04 13:17:49.055383', photon_index_error2='6.14', photon_index2='3.86', ts='0.02', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='3.21e-08', energy_flux_error2='1.04e-05', EG='1.00', time_epoch_completed='1630786669.06', return_code='0', job_id='107479', GAL2='0.96', EG2='0.95', return_code2='102', photon_flux_error2='4.23e-08', ts2='1.01', photon_index='1.62' WHERE bin_id='50' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:17:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 107479: <4FGL_J1150.6+4154_daily_bin50> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin50> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 13:02:03 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:02:05 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:02:05 2021
Terminated at Sat Sep  4 13:17:49 2021
Results reported at Sat Sep  4 13:17:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin50 177.656 41.9096 252288001 252547201 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 :                                   746.13 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             251.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   944 sec.
    Turnaround time :                            946 sec.

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

