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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin51
RA = 177.656, Dec = 41.9096
tmin = 252547201, tmax = 252806401
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='107480', job_status='RUN', time_executed='2021-09-04 13:04:10.380702', time_epoch_executed='1630785850.38' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='51'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107480

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107480/ft1_4FGL_J1150.6+4154_daily_bin51.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107480/ft2_4FGL_J1150.6+4154_daily_bin51.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107480/ft1_4FGL_J1150.6+4154_daily_bin51.fits outfile=/scratch/kocevski/107480/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin51.fits ra=177.656 dec=41.9096 rad=12.0 tmin=252547201.0 tmax=252806401.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 1.38
user 1.21
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/107480/ft2_4FGL_J1150.6+4154_daily_bin51.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/107480/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin51.fits evtable="EVENTS" outfile="/scratch/kocevski/107480/ft1_filtered_4FGL_J1150.6+4154_daily_bin51.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.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/107480/ft1_filtered_4FGL_J1150.6+4154_daily_bin51.fits" evtable="EVENTS" scfile=/scratch/kocevski/107480/ft2_4FGL_J1150.6+4154_daily_bin51.fits sctable="SC_DATA" outfile=/scratch/kocevski/107480/ltcube_252547201_252806401_4FGL_J1150.6+4154_daily_bin51.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/107480/ft2_4FGL_J1150.6+4154_daily_bin51.fits
.....................!
real 12.49
user 12.10
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107480/ft1_filtered_4FGL_J1150.6+4154_daily_bin51.fits evtable="EVENTS" scfile=/scratch/kocevski/107480/ft2_4FGL_J1150.6+4154_daily_bin51.fits sctable="SC_DATA" expcube=/scratch/kocevski/107480/ltcube_252547201_252806401_4FGL_J1150.6+4154_daily_bin51.fits outfile=/scratch/kocevski/107480/expmap_252547201_252806401_4FGL_J1150.6+4154_daily_bin51.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/107480/ltcube_252547201_252806401_4FGL_J1150.6+4154_daily_bin51.fits
.....................!
real 191.60
user 186.40
sys 4.76

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/107480/ft1_filtered_4FGL_J1150.6+4154_daily_bin51.fits scfile=/scratch/kocevski/107480/ft2_4FGL_J1150.6+4154_daily_bin51.fits outfile=/scratch/kocevski/107480/cmap_252547201_252806401_4FGL_J1150.6+4154_daily_bin51.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.58
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107480/ft1_filtered_4FGL_J1150.6+4154_daily_bin51.fits scfile=/scratch/kocevski/107480/ft2_4FGL_J1150.6+4154_daily_bin51.fits outfile=/scratch/kocevski/107480/cmap_HighResolution_252547201_252806401_4FGL_J1150.6+4154_daily_bin51.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.5968       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10659E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.787       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .73477       1.0000         .10000E-03   10000.    
     6 'norm      '    15.475       1.0000         .10000E-03   10000.    
     7 'norm      '    5.0709       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.3803       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .86951       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.1001       1.0000         .10000E-03   10000.    
    13 'norm      '    .92701       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    52.178       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.7940       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.9151       1.0000         .10000E-03   10000.    
    21 'norm      '    6.3372       1.0000         .10000E-03   10000.    
    22 'Prefactor '    31.096       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .74396       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2094       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=   7240.041     FROM MIGRAD    STATUS=CONVERGED    578 CALLS     2377 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    65.575       -.41038E-06** at limit **
   2  norm          1.5968        .33552        .10411E-08   -.14989E-03
   3  Prefactor     .10000E-03    18.222       -.19088E-07** at limit **
   4  Prefactor     17.786        16.692        .62073E-07   -.31378E-05
   5  Prefactor     .38373        48.329       -.29811E-06    .10528E-04
   6  norm          15.471        12.619       -.46613E-07   -.47514E-04
   7  norm          5.0707        40.312        .45460E-05    .98119E-04
   8  Prefactor     .10000E-03    .60790       -.55556E-07** at limit **
   9  Prefactor     .10000E-03    16.018       -.11949E-06** at limit **
  10  norm          1.3789        2.0389        .16345E-06   -.26112E-03
  11  Prefactor     .86816        3.6631        .17917E-05   -.27143E-03
  12  Prefactor     3.0703        28.892        .17357E-05    .36840E-04
  13  norm          .92705        .70978        .14030E-08   -.18694E-03
  14  norm          .10000E-03    3.6438       -.22339E-08** at limit **
  15  Prefactor     52.173        25.040       -.53580E-07    .30467E-04
  16  Prefactor     3.7936        3.7813        .24940E-06   -.10262E-03
  17  Prefactor     .10000E-03    49.117        .19855E-06** at limit **
  18  Prefactor     .10000E-03    9.4328       -.48951E-07** at limit **
  19  Prefactor     .10000E-03    29.990        .21041E-07** at limit **
  20  Prefactor     8.9129        8.8860        .96791E-07   -.79016E-04
  21  norm          6.3356        7.2619        .81477E-07   -.41658E-04
  22  Prefactor     31.093        21.222        .33844E-06    .84292E-04
  23  Normalizat    .74416        .15743       -.61743E-06   -.73017E-04
  24  Prefactor     1.2093        .18404       -.25873E-06   -.57360E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.59679
  Prefactor  = 0.0001
  Prefactor  = 17.7855
  Prefactor  = 0.383731
  norm       = 15.4712
  norm       = 5.07065
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.37895
  Prefactor  = 0.868163
  Prefactor  = 3.07027
  norm       = 0.92705
  norm       = 0.0001
  Prefactor  = 52.1733
  Prefactor  = 3.79361
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.91295
  norm       = 6.33564
  Prefactor  = 31.0926
  Normalizat = 0.744159
  Prefactor  = 1.20927
 **********
 **   18 **HESSE 
 **********

 FCN=   7240.041     FROM HESSE     STATUS=OK           411 CALLS     2788 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    65.729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.5968        .33822        .20866E-04   -1.5455    
   3  Prefactor     .10000E-03    18.432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.786        16.798        .94966E-04   -1.4864    
   5  Prefactor     .38373        49.040        .20202       -1.5584    
   6  norm          15.471        12.602        .10181E-03   -1.4921    
   7  norm          5.0707        45.485        .17856E-03   -1.5258    
   8  Prefactor     .10000E-03    .61388        .64772E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    16.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.3789        2.0085        .13858E-03   -1.5473    
  11  Prefactor     .86816        3.9803        .31687E-03   -1.5522    
  12  Prefactor     3.0703        29.000        .23032E-03   -1.5358    
  13  norm          .92705        .71079        .59388E-04   -1.5515    
  14  norm          .10000E-03    3.6517        .15862E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     52.173        25.177        .55523E-04   -1.4262    
  16  Prefactor     3.7936        3.7850        .15406E-03   -1.5318    
  17  Prefactor     .10000E-03    49.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.4524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    30.188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.9129        8.9045        .13424E-03   -1.5111    
  21  norm          6.3356        7.2574        .15945E-03   -1.5205    
  22  Prefactor     31.093        21.302        .71852E-04   -1.4592    
  23  Normalizat    .74416        .18383        .26459E-03   -1.0217    
  24  Prefactor     1.2093        .21614        .26120E-03   -.86046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.20764e-10
Minuit parameter uncertainties:
  1  0.000121583
  2  0.338223
  3  6.19115e-06
  4  16.8027
  5  8.68212
  6  12.6038
  7  30.4042
  8  1.60086e-06
  9  1.72833e-05
  10  2.00858
  11  3.71802
  12  18.8836
  13  0.710794
  14  2.55304e-08
  15  25.1817
  16  3.78526
  17  6.10503e-05
  18  5.87395e-06
  19  2.36754e-07
  20  8.90583
  21  7.25841
  22  21.307
  23  0.183983
  24  0.216297
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.000e-04  2.553e-08  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.209e+00  2.163e-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:  7.442e-01  1.840e-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.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.99e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/107480/likelihoodResults_252547201_252806401_4FGL_J1150.6+4154_daily_bin51.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) = 7240.04196081
delta logL = -0.00129057661979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7240.04067034
delta logL = -1.12933776109e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10126E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6357       1.0000          .0000       5.0000    
     3 'Normalizat'    .74409       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2094       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=   7239.975     FROM MIGRAD    STATUS=CONVERGED    133 CALLS      278 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .65260E-01    16.025        .13534E-01    .35026E-02
   2  alpha         3.9590        3.9085        .50000       -.54220E-04
   3  Normalizat    .73018        .17890        .26459E-03    .45588E-04
   4  Prefactor     1.2174        .10503        .26120E-03    .85049E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0652596
  alpha      = 3.95902
  Normalizat = 0.73018
  Prefactor  = 1.21739
 **********
 **   18 **HESSE 
 **********

 FCN=   7239.975     FROM HESSE     STATUS=OK            31 CALLS      309 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .65260E-01    1.1888        .49766E-03   -1.5657    
   2  alpha         3.9590        2.6820        .32307E-01    33.934    
   3  Normalizat    .73018        .17837        .10584E-04   -1.0271    
   4  Prefactor     1.2174        .21588        .10448E-04   -.85798    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09051e-08
Minuit parameter uncertainties:
  1  0.556661
  2  3.45382
  3  0.178514
  4  0.216039
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107480': 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) = 7239.97538987
delta logL = 0.0652803578096

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  6.526e-02  5.567e-01  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  3.959e+00  3.454e+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:  1.217e+00  2.160e-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:  7.302e-01  1.785e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/107480/cmap_HighResolution_252547201_252806401_4FGL_J1150.6+4154_daily_bin51.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.99e-05', job_status='DONE', photon_flux_upper_limit='2.25e-08', time_completed='2021-09-04 13:17:13.785391', job_id='107480', GAL2='1.22', fit_tolerance='1e-08', EG2='0.73', EG='0.74', time_epoch_completed='1630786633.79', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='6.53e-02', ts2='0.14', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='51' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:17:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 107480: <4FGL_J1150.6+4154_daily_bin51> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin51> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 13:02:04 2021
Job was executed on host(s) <bullet0088>, 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:14 2021
Results reported at Sat Sep  4 13:17:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin51 177.656 41.9096 252547201 252806401 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 :                                 1258 MB
    Average Memory :                             278.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            910 sec.

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

