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


Performing analysis on: 4FGL_J1150.4+2418_daily_bin90
RA = 177.603, Dec = 24.3016
tmin = 262656001, tmax = 262915201
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='99377', job_status='RUN', time_executed='2021-09-04 12:40:44.108212', time_epoch_executed='1630784444.11' WHERE source_name='4FGL J1150.4+2418' and cadence='daily' and bin_id='90'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/99377

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/99377/ft1_4FGL_J1150.4+2418_daily_bin90.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/99377/ft2_4FGL_J1150.4+2418_daily_bin90.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/99377/ft1_4FGL_J1150.4+2418_daily_bin90.fits outfile=/scratch/kocevski/99377/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin90.fits ra=177.603 dec=24.3016 rad=12.0 tmin=262656001.0 tmax=262915201.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.40
user 1.23
sys 0.16

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/99377/ft1_filtered_4FGL_J1150.4+2418_daily_bin90.fits evtable="EVENTS" scfile=/scratch/kocevski/99377/ft2_4FGL_J1150.4+2418_daily_bin90.fits sctable="SC_DATA" expcube=/scratch/kocevski/99377/ltcube_262656001_262915201_4FGL_J1150.4+2418_daily_bin90.fits outfile=/scratch/kocevski/99377/expmap_262656001_262915201_4FGL_J1150.4+2418_daily_bin90.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/99377/ltcube_262656001_262915201_4FGL_J1150.4+2418_daily_bin90.fits
.....................!
real 191.30
user 186.07
sys 4.88

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/99377/ft1_filtered_4FGL_J1150.4+2418_daily_bin90.fits scfile=/scratch/kocevski/99377/ft2_4FGL_J1150.4+2418_daily_bin90.fits outfile=/scratch/kocevski/99377/cmap_262656001_262915201_4FGL_J1150.4+2418_daily_bin90.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/99377/ft1_filtered_4FGL_J1150.4+2418_daily_bin90.fits scfile=/scratch/kocevski/99377/ft2_4FGL_J1150.4+2418_daily_bin90.fits outfile=/scratch/kocevski/99377/cmap_HighResolution_262656001_262915201_4FGL_J1150.4+2418_daily_bin90.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.54
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/99377/ft1_filtered_4FGL_J1150.4+2418_daily_bin90.fits', '/scratch/kocevski/99377/ft2_4FGL_J1150.4+2418_daily_bin90.fits', expMap='/scratch/kocevski/99377/expmap_262656001_262915201_4FGL_J1150.4+2418_daily_bin90.fits', expCube='/scratch/kocevski/99377/ltcube_262656001_262915201_4FGL_J1150.4+2418_daily_bin90.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/99377/Model_4FGL_J1150.4+2418_daily_bin90.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/99377/ft1_filtered_4FGL_J1150.4+2418_daily_bin90.fits
Spacecraft file(s): /scratch/kocevski/99377/ft2_4FGL_J1150.4+2418_daily_bin90.fits
Exposure map: /scratch/kocevski/99377/expmap_262656001_262915201_4FGL_J1150.4+2418_daily_bin90.fits
Exposure cube: /scratch/kocevski/99377/ltcube_262656001_262915201_4FGL_J1150.4+2418_daily_bin90.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/99377/Model_4FGL_J1150.4+2418_daily_bin90.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) = 5628.70099555

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9064       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.9922       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .73326E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10975E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .29606E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10327E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .36964       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.2319       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.848       1.0000         .10000E-03   10000.    
    13 'norm      '    2.1799       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.2311       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10176E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.1444       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.3994       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.8545       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.2232       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .39892       1.0000         .10000E-03   10000.    
    23 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0426       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0384       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5628.617     FROM MIGRAD    STATUS=CONVERGED   1103 CALLS     4063 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9063        2.2292        .11798E-03    .17625E-03
   2  Prefactor     .10000E-03    12.567        .36285E-03** at limit **
   3  norm          6.9920        12.470        .15171E-03    .79281E-04
   4  Prefactor     .10000E-03    108.37        .37913E-02** at limit **
   5  Prefactor     .10000E-03    4.2024        .15015E-02** at limit **
   6  Prefactor     .10000E-03    21.310        .18142E-02** at limit **
   7  Prefactor     .10000E-03    4.1368        .14891E-02** at limit **
   8  Prefactor     .10000E-03    9.1254        .24171E-02** at limit **
   9  Prefactor     .10000E-03    31.590        .18142E-02** at limit **
  10  Prefactor     .36922        63.307        .41886E-02    .96699E-04
  11  Prefactor     4.2313        2.4528        .84452E-04    .51854E-03
  12  Prefactor     15.838        26.099        .10061E-03    .12656E-04
  13  norm          2.1796        1.2341        .60086E-04    .18164E-03
  14  Prefactor     2.2311        3.8049        .17911E-03    .23098E-03
  15  Prefactor     .10000E-03    13.035        .18142E-02** at limit **
  16  Prefactor     2.1450        2.5696        .12481E-03    .13736E-03
  17  Prefactor     .10000E-03    2.8407        .24109E-03** at limit **
  18  norm          4.3990        3.7753        .11616E-03    .84560E-04
  19  Prefactor     1.8543        2.3928        .11665E-03    .11471E-03
  20  Prefactor     2.2230        2.1852        .10366E-03    .12701E-03
  21  Prefactor     .10000E-03    4.0061        .14592E-02** at limit **
  22  norm          .39888        .21586        .24591E-04   -.20711E-03
  23  norm          .10000E-03    2.0077        .10323E-02** at limit **
  24  Prefactor     .10000E-03    2.9369        .12550E-02** at limit **
  25  Normalizat    1.0431        .21853        .24131E-03    .16372E-03
  26  Prefactor     1.0380        .22747        .26835E-03    .34236E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.90628
  Prefactor  = 0.0001
  norm       = 6.99199
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.369221
  Prefactor  = 4.23135
  Prefactor  = 15.8384
  norm       = 2.17961
  Prefactor  = 2.23113
  Prefactor  = 0.0001
  Prefactor  = 2.14502
  Prefactor  = 0.0001
  norm       = 4.39905
  Prefactor  = 1.85425
  Prefactor  = 2.22298
  Prefactor  = 0.0001
  norm       = 0.398877
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.04312
  Prefactor  = 1.038
 **********
 **   18 **HESSE 
 **********

 FCN=   5628.617     FROM HESSE     STATUS=OK           432 CALLS     4495 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9063        2.2289        .47191E-05   -1.5432    
   2  Prefactor     .10000E-03    12.567        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.9920        12.465        .60686E-05   -1.5179    
   4  Prefactor     .10000E-03    111.43        .15165E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.2025        .30029E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    21.313        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.1369        .29783E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.1620        .48343E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    31.603        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .36922        63.510        .16754E-03   -1.5586    
  11  Prefactor     4.2313        2.4525        .33781E-05   -1.5297    
  12  Prefactor     15.838        26.085        .40243E-05   -1.4912    
  13  norm          2.1796        1.2338        .24034E-05   -1.5413    
  14  Prefactor     2.2311        3.8004        .71645E-05   -1.5409    
  15  Prefactor     .10000E-03    13.035        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.1450        2.5692        .49925E-05   -1.5415    
  17  Prefactor     .10000E-03    2.8408        .48218E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.3990        3.7751        .46464E-05   -1.5288    
  19  Prefactor     1.8543        2.3929        .46660E-05   -1.5436    
  20  Prefactor     2.2230        2.1848        .41463E-05   -1.5410    
  21  Prefactor     .10000E-03    4.0070        .29185E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .39888        .21581        .98365E-06   -1.5582    
  23  norm          .10000E-03    2.0080        .20646E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    2.9370        .25101E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0431        .21834        .96522E-05   -.91599    
  26  Prefactor     1.0380        .22760        .53670E-04   -.91473    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.46547e-10
Minuit parameter uncertainties:
  1  2.229
  2  6.6529e-05
  3  12.4696
  4  0.000171602
  5  1.02241e-06
  6  0.000148312
  7  4.45354e-06
  8  8.7039e-05
  9  0.000124053
  10  9.69401
  11  2.45261
  12  26.1034
  13  1.23381
  14  3.80084
  15  6.63409e-05
  16  2.56929
  17  1.42196e-05
  18  3.77529
  19  2.39305
  20  2.18484
  21  1.57244e-05
  22  0.21581
  23  2.33231e-06
  24  4.33201e-07
  25  0.21853
  26  0.227809
Done.

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

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  4.231e+00  2.453e+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.038e+00  2.278e-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:  1.043e+00  2.185e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.89
Ra Dec: 177.603 24.302
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 7.32e-08 +/- 4.24e-08
Energy Flux (Fixed Index): 3.12e-05 +/- 1.81e-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) = 5626.95560609
delta logL = 1.66140069516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5626.90729877
delta logL = 1.70970801416

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1037       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3377       1.0000          .0000       10.000    
     3 'Normalizat'    .94690       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1092       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=   5626.907     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      224 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1034        6.3147        .72128E-02    .11248E-02
   2  Index         3.3378        2.2388        .76683E-01    .21201E-03
   3  Normalizat    .94692        .67610E-01    .45498E-01   -.14070E-03
   4  Prefactor     1.1091        .71723E-01    .58915E-01   -.76721E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.10344
  Index      = 3.33781
  Normalizat = 0.946918
  Prefactor  = 1.10914
 **********
 **   18 **HESSE 
 **********

 FCN=   5626.907     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1034        2.6302        .32198E-04   -1.5498    
   2  Index         3.3378        1.2607        .31623E-02   -.33889    
   3  Normalizat    .94692        .21716        .25133E-03   -.94831    
   4  Prefactor     1.1091        .23602        .26054E-03   -.89175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03818e-10
Minuit parameter uncertainties:
  1  2.6305
  2  1.27622
  3  0.217365
  4  0.236238
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/99377': 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) = 5626.90729875
delta logL = 1.70970803418

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  1.103e+00  2.631e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  3.338e+00  1.276e+00  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.109e+00  2.362e-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.469e-01  2.174e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.60
Ra Dec: 177.603 24.302
Photon Index (Free Index): 3.34 +/- 1.28
Photon Flux (Free Index): 1.45e-07 +/- 6.82e-08
Energy Flux (Free Index): 2.53e-05 +/- 1.24e-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/99377/cmap_HighResolution_262656001_262915201_4FGL_J1150.4+2418_daily_bin90.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.32e-08', energy_flux2='2.53e-05', photon_flux_error='4.24e-08', dlogl='1.71e+00', energy_flux='3.12e-05', photon_flux2='1.45e-07', job_status='DONE', time_completed='2021-09-04 12:52:40.187265', photon_index_error2='1.28', photon_index2='3.34', ts='4.89', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.24e-05', EG='1.04', time_epoch_completed='1630785160.19', return_code='0', job_id='99377', GAL2='1.11', EG2='0.95', return_code2='0', energy_flux_error='1.81e-05', photon_flux_error2='6.82e-08', ts2='8.60', photon_index='2.23' WHERE bin_id='90' AND source_name='4FGL J1150.4+2418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 12:52:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 99377: <4FGL_J1150.4+2418_daily_bin90> in cluster <slac> Done

Job <4FGL_J1150.4+2418_daily_bin90> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 12:36:53 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 12:36:56 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 12:36:56 2021
Terminated at Sat Sep  4 12:52:40 2021
Results reported at Sat Sep  4 12:52:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.4+2418_daily_bin90 177.603 24.3016 262656001 262915201 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 :                                   714.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   944 sec.
    Turnaround time :                            947 sec.

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

