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


Performing analysis on: 4FGL_J1150.6+4154_daily_bin1370
RA = 177.656, Dec = 41.9096
tmin = 594432001, tmax = 594691201
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='113945', job_status='RUN', time_executed='2021-09-04 13:21:50.822439', time_epoch_executed='1630786910.82' WHERE source_name='4FGL J1150.6+4154' and cadence='daily' and bin_id='1370'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/113945

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/113945/ft1_4FGL_J1150.6+4154_daily_bin1370.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/113945/ft2_4FGL_J1150.6+4154_daily_bin1370.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/113945/ft1_4FGL_J1150.6+4154_daily_bin1370.fits outfile=/scratch/kocevski/113945/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1370.fits ra=177.656 dec=41.9096 rad=12.0 tmin=594432001.0 tmax=594691201.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 4.37
user 4.13
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/113945/ft2_4FGL_J1150.6+4154_daily_bin1370.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/113945/ft1_filteredMKT_4FGL_J1150.6+4154_daily_bin1370.fits evtable="EVENTS" outfile="/scratch/kocevski/113945/ft1_filtered_4FGL_J1150.6+4154_daily_bin1370.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/113945/ft1_filtered_4FGL_J1150.6+4154_daily_bin1370.fits" evtable="EVENTS" scfile=/scratch/kocevski/113945/ft2_4FGL_J1150.6+4154_daily_bin1370.fits sctable="SC_DATA" outfile=/scratch/kocevski/113945/ltcube_594432001_594691201_4FGL_J1150.6+4154_daily_bin1370.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/113945/ft2_4FGL_J1150.6+4154_daily_bin1370.fits
.....................!
real 12.42
user 12.01
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/113945/ft1_filtered_4FGL_J1150.6+4154_daily_bin1370.fits evtable="EVENTS" scfile=/scratch/kocevski/113945/ft2_4FGL_J1150.6+4154_daily_bin1370.fits sctable="SC_DATA" expcube=/scratch/kocevski/113945/ltcube_594432001_594691201_4FGL_J1150.6+4154_daily_bin1370.fits outfile=/scratch/kocevski/113945/expmap_594432001_594691201_4FGL_J1150.6+4154_daily_bin1370.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/113945/ltcube_594432001_594691201_4FGL_J1150.6+4154_daily_bin1370.fits
.....................!
real 191.62
user 185.43
sys 5.04

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/113945/ft1_filtered_4FGL_J1150.6+4154_daily_bin1370.fits scfile=/scratch/kocevski/113945/ft2_4FGL_J1150.6+4154_daily_bin1370.fits outfile=/scratch/kocevski/113945/cmap_594432001_594691201_4FGL_J1150.6+4154_daily_bin1370.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/113945/ft1_filtered_4FGL_J1150.6+4154_daily_bin1370.fits scfile=/scratch/kocevski/113945/ft2_4FGL_J1150.6+4154_daily_bin1370.fits outfile=/scratch/kocevski/113945/cmap_HighResolution_594432001_594691201_4FGL_J1150.6+4154_daily_bin1370.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/113945/ft1_filtered_4FGL_J1150.6+4154_daily_bin1370.fits evtable="EVENTS" scfile=/scratch/kocevski/113945/ft2_4FGL_J1150.6+4154_daily_bin1370.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/113945/Model_4FGL_J1150.6+4154_daily_bin1370.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/113945/ft1_filtered_4FGL_J1150.6+4154_daily_bin1370.fits.....................!
real 62.60
user 61.22
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21573E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.5420       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.589       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.334       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    22.668       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .13343E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.9661       1.0000         .10000E-03   10000.    
    12 'Prefactor '    44.251       1.0000         .10000E-03   10000.    
    13 'norm      '    .29494       1.0000         .10000E-03   10000.    
    14 'norm      '    13.537       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.4473       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.883       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    4.9348       1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.065       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .78097       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1261       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=   7907.663     FROM MIGRAD    STATUS=CONVERGED    558 CALLS     2768 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    289.84       -.20996E-04** at limit **
   2  norm          1.5420        .34234        .87692E-07   -.14722E-02
   3  Prefactor     15.585        16.833        .70737E-05    .17563E-04
   4  Prefactor     12.341        16.337       -.11660E-04   -.52044E-04
   5  Prefactor     .10000E-03    28.687        .12053E-04** at limit **
   6  norm          .10000E-03    8.1610       -.11367E-06** at limit **
   7  norm          22.667        32.461        .52249E-06   -.47291E-05
   8  Prefactor     .10000E-03    .89021       -.63924E-07** at limit **
   9  Prefactor     .10000E-03    24.389       -.25866E-04** at limit **
  10  norm          .10000E-03    .94041        .49544E-06** at limit **
  11  Prefactor     3.9665        3.9093       -.19437E-06   -.68729E-03
  12  Prefactor     44.266        33.850       -.61032E-05   -.19681E-03
  13  norm          .29495        .71042        .38838E-06   -.44809E-03
  14  norm          13.535        7.9694       -.12812E-06   -.78575E-05
  15  Prefactor     .10000E-03    21.313        .15173E-04** at limit **
  16  Prefactor     9.4472        3.3741       -.44254E-07   -.17267E-03
  17  Prefactor     .10000E-03    14.138       -.78368E-06** at limit **
  18  Prefactor     .10000E-03    6.2317        .26405E-07** at limit **
  19  Prefactor     13.883        24.479       -.12558E-05   -.10574E-03
  20  Prefactor     .10000E-03    1.7981       -.62472E-07** at limit **
  21  norm          4.9333        5.0016        .34409E-06   -.26337E-03
  22  Prefactor     11.068        11.326        .76989E-07   -.87698E-05
  23  Normalizat    .78094        .14212       -.17704E-06   -.26402E-03
  24  Prefactor     1.1262        .16864        .43158E-06   -.22304E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.54204
  Prefactor  = 15.5852
  Prefactor  = 12.3414
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 22.667
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 3.9665
  Prefactor  = 44.2661
  norm       = 0.294954
  norm       = 13.535
  Prefactor  = 0.0001
  Prefactor  = 9.44724
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.8834
  Prefactor  = 0.0001
  norm       = 4.93333
  Prefactor  = 11.0679
  Normalizat = 0.78094
  Prefactor  = 1.12625
 **********
 **   18 **HESSE 
 **********

 FCN=   7907.663     FROM HESSE     STATUS=OK           397 CALLS     3165 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    292.60        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.5420        .34536        .22039E-04   -1.5460    
   3  Prefactor     15.585        16.838        .10144E-03   -1.4918    
   4  Prefactor     12.341        16.382        .11406E-03   -1.5005    
   5  Prefactor     .10000E-03    28.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    8.2241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          22.667        32.471        .84131E-04   -1.4755    
   8  Prefactor     .10000E-03    .90688        .16332E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    24.298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.5009        .16259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.9665        3.8993        .16649E-03   -1.5310    
  12  Prefactor     44.266        31.882        .60268E-04   -1.4376    
  13  norm          .29495        .64456        .99172E-04   -1.5599    
  14  norm          13.535        7.9622        .10887E-03   -1.4972    
  15  Prefactor     .10000E-03    21.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.4472        3.3768        .92700E-04   -1.5093    
  17  Prefactor     .10000E-03    14.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.2557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     13.883        24.517        .10750E-03   -1.4963    
  20  Prefactor     .10000E-03    1.8004        .11644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.9333        4.9889        .18105E-03   -1.5264    
  22  Prefactor     11.068        11.317        .12044E-03   -1.5042    
  23  Normalizat    .78094        .16628        .24822E-03   -1.0078    
  24  Prefactor     1.1262        .19840        .26099E-03   -.88632    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.88553e-10
Minuit parameter uncertainties:
  1  0.000353201
  2  0.345358
  3  16.8436
  4  16.388
  5  3.25385e-06
  6  7.73648e-05
  7  32.4967
  8  3.76629e-06
  9  4.31634e-05
  10  0.000124091
  11  3.89954
  12  31.8946
  13  0.644571
  14  7.96284
  15  2.28498e-05
  16  3.37687
  17  1.15194e-05
  18  6.0101e-07
  19  24.5343
  20  5.83508e-07
  21  4.98931
  22  11.3196
  23  0.16639
  24  0.198532
Done.

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

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.353e+01  7.963e+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.126e+00  1.985e-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.809e-01  1.664e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.49
Ra Dec: 177.656 41.910
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 1.72e-08 +/- 1.01e-08
Energy Flux (Fixed Index): 3.05e-05 +/- 1.79e-05

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) = 7907.65220088
delta logL = 0.0106331766146

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7907.65191074
delta logL = 0.0109233104749

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.711       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5500       1.0000          .0000       5.0000    
     3 'Normalizat'    .78179       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1260       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=   7907.652     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      255 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.712        8.1207        .10817E-03   -.22709E-02
   2  alpha         1.5499        .45952        .14170E-01   -.30275E-03
   3  Normalizat    .78182        .15781        .24810E-03    .26284E-03
   4  Prefactor     1.1260        .19674        .26102E-03    .18182E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 13.712
  alpha      = 1.54991
  Normalizat = 0.781818
  Prefactor  = 1.12601
 **********
 **   18 **HESSE 
 **********

 FCN=   7907.652     FROM HESSE     STATUS=OK            23 CALLS      278 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.712        8.0984        .21634E-04   -1.4967    
   2  alpha         1.5499        .45831        .56679E-03   -.38983    
   3  Normalizat    .78182        .15794        .99239E-05   -1.0075    
   4  Prefactor     1.1260        .19692        .52205E-04   -.88640    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67954e-09
Minuit parameter uncertainties:
  1  8.09903
  2  0.46136
  3  0.158036
  4  0.197047
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/113945': 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) = 7907.65191072
delta logL = 0.0109233351513

Extracting fit parameters...

4FGL J1150.6+4154
   Spectrum: LogParabola
329         norm:  1.371e+01  8.099e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        alpha:  1.550e+00  4.614e-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.126e+00  1.970e-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.818e-01  1.580e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.50
Ra Dec: 177.656 41.910
Photon Index (Free Index): 1.55 +/- 0.46
Photon Flux (Free Index): 1.61e-08 +/- 1.19e-08
Energy Flux (Free Index): 3.40e-05 +/- 3.18e-05

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/113945/cmap_HighResolution_594432001_594691201_4FGL_J1150.6+4154_daily_bin1370.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.72e-08', energy_flux2='3.40e-05', photon_flux_error='1.01e-08', dlogl='1.09e-02', energy_flux='3.05e-05', photon_flux2='1.61e-08', job_status='DONE', time_completed='2021-09-04 13:34:58.866795', photon_index_error2='0.46', photon_index2='1.55', ts='12.49', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='3.18e-05', EG='0.78', time_epoch_completed='1630787698.87', return_code='0', job_id='113945', GAL2='1.13', EG2='0.78', return_code2='0', energy_flux_error='1.79e-05', photon_flux_error2='1.19e-08', ts2='12.50', photon_index='1.62' WHERE bin_id='1370' AND source_name='4FGL J1150.6+4154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:34:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 113945: <4FGL_J1150.6+4154_daily_bin1370> in cluster <slac> Done

Job <4FGL_J1150.6+4154_daily_bin1370> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep  4 13:21:36 2021
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:21:38 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:38 2021
Terminated at Sat Sep  4 13:34:59 2021
Results reported at Sat Sep  4 13:34:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.6+4154_daily_bin1370 177.656 41.9096 594432001 594691201 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 :                                   787.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             370.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            803 sec.

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

