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


Performing analysis on: 4FGL_J1150.4+2418_daily_bin1353
RA = 177.603, Dec = 24.3016
tmin = 590025601, tmax = 590284801
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='107047', job_status='RUN', time_executed='2021-09-04 13:05:39.137954', time_epoch_executed='1630785939.14' WHERE source_name='4FGL J1150.4+2418' and cadence='daily' and bin_id='1353'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107047

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107047/ft1_4FGL_J1150.4+2418_daily_bin1353.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107047/ft2_4FGL_J1150.4+2418_daily_bin1353.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107047/ft1_4FGL_J1150.4+2418_daily_bin1353.fits outfile=/scratch/kocevski/107047/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin1353.fits ra=177.603 dec=24.3016 rad=12.0 tmin=590025601.0 tmax=590284801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.94
user 3.70
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/107047/ft2_4FGL_J1150.4+2418_daily_bin1353.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/107047/ft2_4FGL_J1150.4+2418_daily_bin1353.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/107047/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin1353.fits evtable="EVENTS" outfile="/scratch/kocevski/107047/ft1_filtered_4FGL_J1150.4+2418_daily_bin1353.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/107047/ft1_filtered_4FGL_J1150.4+2418_daily_bin1353.fits" evtable="EVENTS" scfile=/scratch/kocevski/107047/ft2_4FGL_J1150.4+2418_daily_bin1353.fits sctable="SC_DATA" outfile=/scratch/kocevski/107047/ltcube_590025601_590284801_4FGL_J1150.4+2418_daily_bin1353.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/107047/ft2_4FGL_J1150.4+2418_daily_bin1353.fits
.....................!
real 12.32
user 11.92
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107047/ft1_filtered_4FGL_J1150.4+2418_daily_bin1353.fits evtable="EVENTS" scfile=/scratch/kocevski/107047/ft2_4FGL_J1150.4+2418_daily_bin1353.fits sctable="SC_DATA" expcube=/scratch/kocevski/107047/ltcube_590025601_590284801_4FGL_J1150.4+2418_daily_bin1353.fits outfile=/scratch/kocevski/107047/expmap_590025601_590284801_4FGL_J1150.4+2418_daily_bin1353.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/107047/ltcube_590025601_590284801_4FGL_J1150.4+2418_daily_bin1353.fits
.....................!
real 190.62
user 184.89
sys 4.44

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 194 point sources and 0 extended sources

Setting source of interest to:
4FGL J1150.4+2418 @ 177.603 24.3016

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/107047/ft1_filtered_4FGL_J1150.4+2418_daily_bin1353.fits scfile=/scratch/kocevski/107047/ft2_4FGL_J1150.4+2418_daily_bin1353.fits outfile=/scratch/kocevski/107047/cmap_590025601_590284801_4FGL_J1150.4+2418_daily_bin1353.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.603 yref=24.3016 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.51
user 0.37
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107047/ft1_filtered_4FGL_J1150.4+2418_daily_bin1353.fits scfile=/scratch/kocevski/107047/ft2_4FGL_J1150.4+2418_daily_bin1353.fits outfile=/scratch/kocevski/107047/cmap_HighResolution_590025601_590284801_4FGL_J1150.4+2418_daily_bin1353.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.603 yref=24.3016 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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/107047/ft1_filtered_4FGL_J1150.4+2418_daily_bin1353.fits evtable="EVENTS" scfile=/scratch/kocevski/107047/ft2_4FGL_J1150.4+2418_daily_bin1353.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/107047/Model_4FGL_J1150.4+2418_daily_bin1353.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/107047/ft1_filtered_4FGL_J1150.4+2418_daily_bin1353.fits.....................!
real 52.91
user 51.37
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/107047/ft1_filtered_4FGL_J1150.4+2418_daily_bin1353.fits', '/scratch/kocevski/107047/ft2_4FGL_J1150.4+2418_daily_bin1353.fits', expMap='/scratch/kocevski/107047/expmap_590025601_590284801_4FGL_J1150.4+2418_daily_bin1353.fits', expCube='/scratch/kocevski/107047/ltcube_590025601_590284801_4FGL_J1150.4+2418_daily_bin1353.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/107047/Model_4FGL_J1150.4+2418_daily_bin1353.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1150.4+2418'

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  1.344e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.108e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/107047/ft1_filtered_4FGL_J1150.4+2418_daily_bin1353.fits
Spacecraft file(s): /scratch/kocevski/107047/ft2_4FGL_J1150.4+2418_daily_bin1353.fits
Exposure map: /scratch/kocevski/107047/expmap_590025601_590284801_4FGL_J1150.4+2418_daily_bin1353.fits
Exposure cube: /scratch/kocevski/107047/ltcube_590025601_590284801_4FGL_J1150.4+2418_daily_bin1353.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/107047/Model_4FGL_J1150.4+2418_daily_bin1353.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) = 5735.559588

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2653       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    11.781       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.4164       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.4050       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10281E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.6447       1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.707       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5338       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.5513       1.0000         .10000E-03   10000.    
    13 'norm      '    1.1341       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.5397       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .96782       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    8.9626       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.8239       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.2528       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.5092       1.0000         .10000E-03   10000.    
    22 'norm      '    .60480E-02   1.0000         .10000E-03   10000.    
    23 'norm      '    3.0329       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .67808       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .93478       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1069       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5735.553     FROM MIGRAD    STATUS=CONVERGED    614 CALLS     3135 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2650        2.5221       -.64925E-06   -.78520E-03
   2  Prefactor     .10000E-03    5.4241        .12853E-06** at limit **
   3  norm          11.778        12.974       -.84642E-06    .67752E-04
   4  Prefactor     6.4135        13.304       -.24774E-05    .80836E-05
   5  Prefactor     8.4063        17.748       -.14884E-05    .46020E-04
   6  Prefactor     .10000E-03    23.198       -.40030E-06** at limit **
   7  Prefactor     .10000E-03    11.291        .17444E-06** at limit **
   8  Prefactor     3.6442        4.3129       -.10348E-05    .27059E-04
   9  Prefactor     35.704        23.300       -.33321E-05    .32436E-03
  10  Prefactor     .10000E-03    3.8658       -.15970E-06** at limit **
  11  Prefactor     1.5337        1.6628        .59240E-07   -.14326E-03
  12  Prefactor     3.5503        36.440       -.74390E-05    .30345E-04
  13  norm          1.1342        1.0106        .60978E-07    .45974E-04
  14  Prefactor     1.5395        2.3674       -.27959E-06   -.28314E-03
  15  Prefactor     .10000E-03    23.294        .53684E-06** at limit **
  16  Prefactor     .96819        1.6672       -.18483E-06   -.59657E-03
  17  Prefactor     .10000E-03    1.3869       -.41163E-07** at limit **
  18  norm          8.9630        3.8205       -.12404E-06    .24131E-03
  19  Prefactor     2.8246        2.4304        .85179E-07    .14621E-03
  20  Prefactor     2.2538        1.9446       -.26919E-07    .25934E-03
  21  Prefactor     5.5085        6.8475       -.53782E-06   -.21368E-04
  22  norm          .63122E-02    .14236       -.21649E-06   -.30597E-03
  23  norm          3.0328        4.0404       -.30146E-06    .60292E-05
  24  Prefactor     .60107        10.911       -.16228E-05   -.65469E-04
  25  Normalizat    .93493        .19308        .35503E-05    .20098E-03
  26  Prefactor     1.1068        .19262       -.27563E-06    .33851E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.26496
  Prefactor  = 0.0001
  norm       = 11.7778
  Prefactor  = 6.41352
  Prefactor  = 8.40629
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.64419
  Prefactor  = 35.7042
  Prefactor  = 0.0001
  Prefactor  = 1.53369
  Prefactor  = 3.55032
  norm       = 1.13418
  Prefactor  = 1.53953
  Prefactor  = 0.0001
  Prefactor  = 0.96819
  Prefactor  = 0.0001
  norm       = 8.96295
  Prefactor  = 2.82456
  Prefactor  = 2.25377
  Prefactor  = 5.5085
  norm       = 0.0063122
  norm       = 3.03277
  Prefactor  = 0.601069
  Normalizat = 0.934928
  Prefactor  = 1.10683
 **********
 **   18 **HESSE 
 **********

 FCN=   5735.553     FROM HESSE     STATUS=OK           472 CALLS     3607 TOTAL
                     EDM=   .76E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2650        2.5947        .16814E-03   -1.5483    
   2  Prefactor     .10000E-03    5.4650        .17200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          11.778        13.014        .11671E-03   -1.5021    
   4  Prefactor     6.4135        13.454        .15845E-03   -1.5201    
   5  Prefactor     8.4063        17.751        .13828E-03   -1.5128    
   6  Prefactor     .10000E-03    23.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.6442        4.3329        .16378E-03   -1.5326    
   9  Prefactor     35.704        22.736        .67066E-04   -1.4512    
  10  Prefactor     .10000E-03    3.8777        .14542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.5337        1.6346        .95949E-04   -1.5460    
  12  Prefactor     3.5503        36.899        .21448E-03   -1.5331    
  13  norm          1.1342        .99754        .68362E-04   -1.5495    
  14  Prefactor     1.5395        2.3471        .13989E-03   -1.5460    
  15  Prefactor     .10000E-03    23.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .96819        1.3709        .12427E-02   -1.5511    
  17  Prefactor     .10000E-03    1.4079        .87001E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          8.9630        3.8134        .88226E-04   -1.5109    
  19  Prefactor     2.8246        2.4309        .10052E-03   -1.5372    
  20  Prefactor     2.2538        1.9341        .91939E-04   -1.5408    
  21  Prefactor     5.5085        6.8289        .17118E-03   -1.5239    
  22  norm          .63122E-02    .78472        .54549E-03   -1.5692    
  23  norm          3.0328        4.0151        .16013E-03   -1.5360    
  24  Prefactor     .60107        61.452        .46275E-02   -1.5553    
  25  Normalizat    .93493        .22507        .25349E-03   -.95243    
  26  Prefactor     1.1068        .22589        .26147E-03   -.89249    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.55923e-08
Minuit parameter uncertainties:
  1  2.59492
  2  8.22334e-06
  3  13.0175
  4  13.4599
  5  17.762
  6  4.42991e-06
  7  4.2792e-05
  8  4.3333
  9  22.741
  10  1.64891e-06
  11  1.63462
  12  22.9092
  13  0.997552
  14  2.3472
  15  7.177e-06
  16  1.37092
  17  5.0588e-06
  18  3.81346
  19  2.43094
  20  1.93416
  21  6.82985
  22  0.139642
  23  4.01549
  24  12.167
  25  0.225299
  26  0.22609
Done.

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

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  1.534e+00  1.635e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.108e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  1.107e+00  2.261e-01  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  9.349e-01  2.253e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.45
Ra Dec: 177.603 24.302
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 2.65e-08 +/- 2.83e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 1.21e-05

TS (Fixed Index): 1.45
Ra Dec: 177.603 24.302
Photon Flux Upper Limit: 9.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/107047/likelihoodResults_590025601_590284801_4FGL_J1150.4+2418_daily_bin1353.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) = 5735.55282365
delta logL = 2.14657829929e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5735.55281915
delta logL = 2.59737989836e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5288       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2346       1.0000          .0000       10.000    
     3 'Normalizat'    .93468       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1070       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5735.553     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      226 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5281        49.678        .86314E-02    .42125E-03
   2  Index         2.2339        5.8589        .18055        .54721E-04
   3  Normalizat    .93476        .68972E-01    .45343E-01    .10381E-04
   4  Prefactor     1.1069        .64969E-01    .59125E-01   -.53273E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.52805
  Index      = 2.23392
  Normalizat = 0.934759
  Prefactor  = 1.10694
 **********
 **   18 **HESSE 
 **********

 FCN=   5735.553     FROM HESSE     STATUS=OK            33 CALLS      259 TOTAL
                     EDM=   .46E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5281        1.8418        .95714E-04   -1.5461    
   2  Index         2.2339        .81451        .97628E-02   -.58622    
   3  Normalizat    .93476        .20114        .25351E-03   -.95249    
   4  Prefactor     1.1069        .22331        .26146E-03   -.89245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.59213e-12
Minuit parameter uncertainties:
  1  1.84191
  2  0.819791
  3  0.201305
  4  0.223496
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107047': 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) = 5735.5528184
delta logL = 2.67173763859e-05

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  1.528e+00  1.842e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.234e+00  8.198e-01  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.108e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  1.107e+00  2.235e-01  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  9.348e-01  2.013e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.45
Ra Dec: 177.603 24.302
Photon Index (Free Index): 2.23 +/- 0.82
Photon Flux (Free Index): 2.67e-08 +/- 3.38e-08
Energy Flux (Free Index): 1.13e-05 +/- 1.44e-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/107047/cmap_HighResolution_590025601_590284801_4FGL_J1150.4+2418_daily_bin1353.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.28e-03', comment='SUCCESS', photon_flux='2.65e-08', energy_flux2='1.13e-05', photon_flux_error='2.83e-08', dlogl='2.67e-05', energy_flux='1.13e-05', photon_flux2='2.67e-08', job_status='DONE', time_completed='2021-09-04 13:17:59.342625', photon_index_error2='0.82', photon_index2='2.23', ts='1.45', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='9.53e-08', energy_flux_error2='1.44e-05', EG='0.93', time_epoch_completed='1630786679.34', return_code='0', job_id='107047', GAL2='1.11', EG2='0.93', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='3.38e-08', ts2='1.45', photon_index='2.23' WHERE bin_id='1353' AND source_name='4FGL J1150.4+2418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:17:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0163>
Subject: Job 107047: <4FGL_J1150.4+2418_daily_bin1353> in cluster <slac> Done

Job <4FGL_J1150.4+2418_daily_bin1353> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 13:01:24 2021
Job was executed on host(s) <bullet0163>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 13:01:25 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:01:25 2021
Terminated at Sat Sep  4 13:17:59 2021
Results reported at Sat Sep  4 13:17:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.4+2418_daily_bin1353 177.603 24.3016 590025601 590284801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1150.4+2418 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   736.02 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             237.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            995 sec.

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

