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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin92
RA = 177.656, Dec = 41.9096
tmin = 263174401, tmax = 263433601
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='107549', job_status='RUN', time_executed='2021-09-04 13:04:22.964801', time_epoch_executed='1630785862.96' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='92'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107549

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

Retrieving the FT1 file...

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

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

Retrieving 42 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107549/ft1_4FGL_J1150.6+4154_daily_bin92.fits


Retrieving the FT1 file...

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

Retrieving 42 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107549/ft2_4FGL_J1150.6+4154_daily_bin92.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107549/ft1_4FGL_J1150.6+4154_daily_bin92.fits outfile=/scratch/kocevski/107549/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin92.fits ra=177.656 dec=41.9096 rad=12.0 tmin=263174401.0 tmax=263433601.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.36
user 1.19
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/107549/ft1_filtered_4FGL_J1150.6+4154_daily_bin92.fits" evtable="EVENTS" scfile=/scratch/kocevski/107549/ft2_4FGL_J1150.6+4154_daily_bin92.fits sctable="SC_DATA" outfile=/scratch/kocevski/107549/ltcube_263174401_263433601_4FGL_J1150.6+4154_daily_bin92.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/107549/ft2_4FGL_J1150.6+4154_daily_bin92.fits
.....................!
real 11.27
user 10.90
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107549/ft1_filtered_4FGL_J1150.6+4154_daily_bin92.fits evtable="EVENTS" scfile=/scratch/kocevski/107549/ft2_4FGL_J1150.6+4154_daily_bin92.fits sctable="SC_DATA" expcube=/scratch/kocevski/107549/ltcube_263174401_263433601_4FGL_J1150.6+4154_daily_bin92.fits outfile=/scratch/kocevski/107549/expmap_263174401_263433601_4FGL_J1150.6+4154_daily_bin92.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/107549/ltcube_263174401_263433601_4FGL_J1150.6+4154_daily_bin92.fits
.....................!
real 190.12
user 185.71
sys 3.99

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/107549/ft1_filtered_4FGL_J1150.6+4154_daily_bin92.fits scfile=/scratch/kocevski/107549/ft2_4FGL_J1150.6+4154_daily_bin92.fits outfile=/scratch/kocevski/107549/cmap_263174401_263433601_4FGL_J1150.6+4154_daily_bin92.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107549/ft1_filtered_4FGL_J1150.6+4154_daily_bin92.fits scfile=/scratch/kocevski/107549/ft2_4FGL_J1150.6+4154_daily_bin92.fits outfile=/scratch/kocevski/107549/cmap_HighResolution_263174401_263433601_4FGL_J1150.6+4154_daily_bin92.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.267       1.0000         .10000E-03   10000.    
     2 'norm      '    1.1926       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.3706       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10201E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    126.59       1.0000         .10000E-03   10000.    
     6 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.0815       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .66646E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.7875       1.0000         .10000E-03   10000.    
    14 'norm      '    6.4015       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.4900       1.0000         .10000E-03   10000.    
    17 'Prefactor '    89.312       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10301E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.0862       1.0000         .10000E-03   10000.    
    21 'norm      '    11.409       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .71455       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3414       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=   4344.224     FROM MIGRAD    STATUS=CONVERGED    988 CALLS     3156 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.012        106.45        .10250E-03   -.16525E-04
   2  norm          1.1926        .38587        .21865E-04    .72792E-05
   3  Prefactor     8.3696        14.027        .69281E-03   -.40121E-04
   4  Prefactor     .10000E-03    40.737        .18142E-02** at limit **
   5  Prefactor     126.78        141.43        .17889E-03    .23704E-04
   6  norm          .10000E-03    6.1762        .15977E-02** at limit **
   7  norm          .10000E-03    21.623        .18142E-02** at limit **
   8  Prefactor     1.0823        2.4613        .13310E-03   -.86610E-04
   9  Prefactor     .10000E-03    60.410        .12708    ** at limit **
  10  norm          .10000E-03    2.1750        .15069E-02** at limit **
  11  Prefactor     .10000E-03    2.3184        .97587E-03** at limit **
  12  Prefactor     .10000E-03    16.864        .18142E-02** at limit **
  13  norm          1.7857        1.3855        .60741E-04   -.19933E-03
  14  norm          6.4012        7.7518        .15863E-03   -.17917E-05
  15  Prefactor     .10000E-03    22.795        .18142E-02** at limit **
  16  Prefactor     4.4900        5.0771        .74333E-03   -.91613E-04
  17  Prefactor     89.359        79.778        .42517E-04   -.16578E-05
  18  Prefactor     .10000E-03    45.678        .18142E-02** at limit **
  19  Prefactor     .10000E-03    17.430        .18142E-02** at limit **
  20  Prefactor     3.0880        8.0125        .23087E-03    .97206E-05
  21  norm          11.412        9.6143        .11860E-03    .12844E-04
  22  Prefactor     .10000E-03    10.784        .18142E-02** at limit **
  23  Normalizat    .71446        .23224        .27367E-03    .17655E-04
  24  Prefactor     1.3412        .27876        .25605E-03   -.74984E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.0121
  norm       = 1.19264
  Prefactor  = 8.36963
  Prefactor  = 0.0001
  Prefactor  = 126.783
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.08231
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.78573
  norm       = 6.40122
  Prefactor  = 0.0001
  Prefactor  = 4.49
  Prefactor  = 89.3587
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.08804
  norm       = 11.4118
  Prefactor  = 0.0001
  Normalizat = 0.714461
  Prefactor  = 1.34119
 **********
 **   18 **HESSE 
 **********

 FCN=   4344.224     FROM HESSE     STATUS=OK           387 CALLS     3543 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.012        106.08        .41002E-05   -1.4933    
   2  norm          1.1926        .38579        .87461E-06   -1.5490    
   3  Prefactor     8.3696        14.023        .27712E-04   -1.5129    
   4  Prefactor     .10000E-03    40.755        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     126.78        141.44        .71557E-05   -1.3451    
   6  norm          .10000E-03    6.1767        .31955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    21.623        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.0823        2.4586        .53240E-05   -1.5500    
   9  Prefactor     .10000E-03    59.474        .12835       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.1781        .30138E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.3186        .19517E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.864        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.7857        1.3854        .24297E-05   -1.5441    
  14  norm          6.4012        7.7518        .63454E-05   -1.5202    
  15  Prefactor     .10000E-03    22.800        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.4900        5.0751        .29733E-04   -1.5284    
  17  Prefactor     89.359        79.771        .85033E-05   -1.3815    
  18  Prefactor     .10000E-03    45.684        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    17.430        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.0880        8.0120        .46173E-04   -1.5356    
  21  norm          11.412        9.6139        .47442E-05   -1.5032    
  22  Prefactor     .10000E-03    10.784        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .71446        .23237        .10947E-04   -1.0332    
  24  Prefactor     1.3412        .27898        .51209E-04   -.82090    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04021e-10
Minuit parameter uncertainties:
  1  80.0132
  2  0.385789
  3  14.0282
  4  9.44122e-06
  5  141.818
  6  3.57665e-07
  7  2.17396e-05
  8  2.45882
  9  0.000278465
  10  4.13315e-05
  11  1.41159e-06
  12  2.34348e-06
  13  1.38545
  14  7.75303
  15  2.5083e-05
  16  5.07558
  17  79.8667
  18  0.000265353
  19  4.84816e-06
  20  8.01478
  21  9.61522
  22  3.18805e-06
  23  0.232694
  24  0.279294
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  6.401e+00  7.753e+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:  1.341e+00  2.793e-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.145e-01  2.327e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.81
Ra Dec: 177.656 41.910
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 8.14e-09 +/- 9.86e-09
Energy Flux (Fixed Index): 1.44e-05 +/- 1.75e-05

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

Saving results to:
/scratch/kocevski/107549/likelihoodResults_263174401_263433601_4FGL_J1150.6+4154_daily_bin92.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4344.17119626
delta logL = 0.0530916572343

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4344.17069375
delta logL = 0.0535941741355

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.1737       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3157       1.0000          .0000       5.0000    
     3 'Normalizat'    .71600       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3408       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=   4344.171     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      204 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.1737        8.6696        .40393E-02    .58619E-03
   2  alpha         1.3157        .88368        .49451       -.65143E-05
   3  Normalizat    .71599        .18977        .61807E-01    .15741E-04
   4  Prefactor     1.3409        .23579        .57913E-01    .22091E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.17369
  alpha      = 1.31568
  Normalizat = 0.715992
  Prefactor  = 1.34086
 **********
 **   18 **HESSE 
 **********

 FCN=   4344.171     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.1737        7.6089        .16157E-03   -1.5211    
   2  alpha         1.3157        .85633        .22509E-01   -.49352    
   3  Normalizat    .71599        .22234        .27341E-03   -1.0326    
   4  Prefactor     1.3409        .27753        .25608E-03   -.82100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.74335e-10
Minuit parameter uncertainties:
  1  7.61009
  2  0.879533
  3  0.222624
  4  0.277838
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107549': 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) = 4344.17069374
delta logL = 0.0535941757053

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  6.174e+00  7.610e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.316e+00  8.795e-01  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.341e+00  2.778e-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.160e-01  2.226e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.92
Ra Dec: 177.656 41.910
Photon Index (Free Index): 1.32 +/- 0.88
Photon Flux (Free Index): 5.94e-09 +/- 8.64e-09
Energy Flux (Free Index): 2.29e-05 +/- 4.30e-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/107549/cmap_HighResolution_263174401_263433601_4FGL_J1150.6+4154_daily_bin92.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.67e-05', comment='SUCCESS', photon_flux='8.14e-09', energy_flux2='2.29e-05', photon_flux_error='9.86e-09', dlogl='5.36e-02', energy_flux='1.44e-05', photon_flux2='5.94e-09', job_status='DONE', time_completed='2021-09-04 13:14:50.313550', photon_index_error2='0.88', photon_index2='1.32', ts='1.81', fit_tolerance='1e-08', GAL='1.34', photon_index_error='0.00', photon_flux_upper_limit='4.33e-08', energy_flux_error2='4.30e-05', EG='0.71', time_epoch_completed='1630786490.31', return_code='0', job_id='107549', GAL2='1.34', EG2='0.72', return_code2='0', energy_flux_error='1.75e-05', photon_flux_error2='8.64e-09', ts2='1.92', photon_index='1.62' WHERE bin_id='92' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:14:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 107549: <4FGL_J1150.6+4154_daily_bin92> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin92> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 13:02:10 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:02:11 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:11 2021
Terminated at Sat Sep  4 13:14:51 2021
Results reported at Sat Sep  4 13:14:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin92 177.656 41.9096 263174401 263433601 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 :                                   627.02 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             295.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            761 sec.

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

