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


Performing analysis on: 4FGL_J1150.4+2418_daily_bin1170
RA = 177.603, Dec = 24.3016
tmin = 542592001, tmax = 542851201
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='105641', job_status='RUN', time_executed='2021-09-04 13:00:30.228375', time_epoch_executed='1630785630.23' WHERE source_name='4FGL J1150.4+2418' and cadence='daily' and bin_id='1170'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/105641

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/105641/ft1_4FGL_J1150.4+2418_daily_bin1170.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/105641/ft2_4FGL_J1150.4+2418_daily_bin1170.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/105641/ft1_4FGL_J1150.4+2418_daily_bin1170.fits outfile=/scratch/kocevski/105641/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin1170.fits ra=177.603 dec=24.3016 rad=12.0 tmin=542592001.0 tmax=542851201.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 6.78
user 6.54
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/105641/ft2_4FGL_J1150.4+2418_daily_bin1170.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/105641/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin1170.fits evtable="EVENTS" outfile="/scratch/kocevski/105641/ft1_filtered_4FGL_J1150.4+2418_daily_bin1170.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.48
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/105641/ft1_filtered_4FGL_J1150.4+2418_daily_bin1170.fits" evtable="EVENTS" scfile=/scratch/kocevski/105641/ft2_4FGL_J1150.4+2418_daily_bin1170.fits sctable="SC_DATA" outfile=/scratch/kocevski/105641/ltcube_542592001_542851201_4FGL_J1150.4+2418_daily_bin1170.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/105641/ft2_4FGL_J1150.4+2418_daily_bin1170.fits
.....................!
real 11.74
user 11.39
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/105641/ft1_filtered_4FGL_J1150.4+2418_daily_bin1170.fits evtable="EVENTS" scfile=/scratch/kocevski/105641/ft2_4FGL_J1150.4+2418_daily_bin1170.fits sctable="SC_DATA" expcube=/scratch/kocevski/105641/ltcube_542592001_542851201_4FGL_J1150.4+2418_daily_bin1170.fits outfile=/scratch/kocevski/105641/expmap_542592001_542851201_4FGL_J1150.4+2418_daily_bin1170.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/105641/ltcube_542592001_542851201_4FGL_J1150.4+2418_daily_bin1170.fits
.....................!
real 189.77
user 184.68
sys 4.77

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/105641/ft1_filtered_4FGL_J1150.4+2418_daily_bin1170.fits scfile=/scratch/kocevski/105641/ft2_4FGL_J1150.4+2418_daily_bin1170.fits outfile=/scratch/kocevski/105641/cmap_542592001_542851201_4FGL_J1150.4+2418_daily_bin1170.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.55
user 0.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5212       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.917       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.971       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.8036       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2752       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10246E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    6.6878       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10830E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    117.88       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.3330       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .13813E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.418       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .18231       1.0000         .10000E-03   10000.    
    23 'norm      '    14.556       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1432       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .85690       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=   1878.784     FROM MIGRAD    STATUS=CONVERGED    657 CALLS     3189 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5246        6.5910        .21923E-06   -.12264E-04
   2  Prefactor     .10000E-03    11.050       -.16514E-06** at limit **
   3  norm          .10000E-03    11.369       -.10078E-06** at limit **
   4  Prefactor     .10000E-03    17.109       -.16041E-06** at limit **
   5  Prefactor     .10000E-03    16.524       -.14377E-06** at limit **
   6  Prefactor     .10000E-03    46.703       -.93821E-07** at limit **
   7  Prefactor     .10000E-03    10.417       -.31221E-07** at limit **
   8  Prefactor     11.929        12.412        .28017E-06   -.48530E-04
   9  Prefactor     14.981        33.912        .53463E-06   -.17268E-04
  10  Prefactor     2.7857        19.281        .94102E-06   -.36934E-05
  11  Prefactor     1.2727        2.7415        .17002E-06   -.10518E-04
  12  Prefactor     .10000E-03    98.662        .41161E-05** at limit **
  13  norm          6.6906        3.2171        .19739E-07   -.39805E-03
  14  Prefactor     .15720        7.4536        .34424E-06   -.16070E-03
  15  Prefactor     117.97        85.715        .87609E-06   -.12561E-04
  16  Prefactor     2.3074        5.5966        .65173E-06   -.57925E-04
  17  Prefactor     .10000E-03    4.2301       -.18015E-06** at limit **
  18  norm          .10000E-03    9.2466        .30513E-05** at limit **
  19  Prefactor     12.440        6.2959       -.77157E-06   -.12382E-02
  20  Prefactor     .10000E-03    1.7947        .57338E-07** at limit **
  21  Prefactor     .10000E-03    5.8256       -.55060E-07** at limit **
  22  norm          .18225        .25126        .87849E-08   -.27766E-06
  23  norm          14.561        9.4164        .18552E-07   -.50009E-04
  24  Prefactor     .10000E-03    88.716       -.98801E-06** at limit **
  25  Normalizat    1.1415        .36595       -.49249E-05   -.61536E-04
  26  Prefactor     .85794        .36837        .48578E-05   -.15845E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.5246
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.9288
  Prefactor  = 14.9808
  Prefactor  = 2.78571
  Prefactor  = 1.2727
  Prefactor  = 0.0001
  norm       = 6.69059
  Prefactor  = 0.1572
  Prefactor  = 117.969
  Prefactor  = 2.30737
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 12.4399
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.182251
  norm       = 14.5614
  Prefactor  = 0.0001
  Normalizat = 1.14153
  Prefactor  = 0.857935
 **********
 **   18 **HESSE 
 **********

 FCN=   1878.784     FROM HESSE     STATUS=OK           456 CALLS     3645 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5246        6.5824        .14481E-03   -1.5332    
   2  Prefactor     .10000E-03    11.073        .14071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    11.380        .14275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.148        .17511E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.542        .17212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    46.713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.424        .13665E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.929        12.421        .11604E-03   -1.5017    
   9  Prefactor     14.981        33.857        .10352E-03   -1.4934    
  10  Prefactor     2.7857        19.211        .24296E-03   -1.5374    
  11  Prefactor     1.2727        2.6890        .10071E-03   -1.5482    
  12  Prefactor     .10000E-03    98.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.6906        3.2209        .50974E-04   -1.5191    
  14  Prefactor     .15720        92.084        .21016E-02   -1.5629    
  15  Prefactor     117.97        85.708        .18531E-03   -1.3531    
  16  Prefactor     2.3074        5.5709        .14168E-03   -1.5404    
  17  Prefactor     .10000E-03    4.2564        .86740E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    14.679        .22793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.440        6.8319        .80491E-04   -1.5002    
  20  Prefactor     .10000E-03    1.8027        .56715E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.8477        .10214E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .18225        .23957        .24727E-03   -1.5623    
  23  norm          14.561        9.4142        .10327E-03   -1.4945    
  24  Prefactor     .10000E-03    90.683        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1415        .40147        .24601E-03   -.88429    
  26  Prefactor     .85794        .40268        .29980E-03   -.97627    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98559e-09
Minuit parameter uncertainties:
  1  6.58373
  2  5.15814e-06
  3  8.64413e-06
  4  2.84364e-05
  5  7.74709e-06
  6  1.2754e-05
  7  6.12857e-06
  8  12.4234
  9  33.9003
  10  14.6375
  11  2.68926
  12  0.000224831
  13  3.22096
  14  7.61873
  15  85.798
  16  5.57219
  17  8.94954e-06
  18  0.000448345
  19  6.83238
  20  3.13116e-06
  21  2.26674e-06
  22  0.239567
  23  9.41511
  24  5.36233e-05
  25  0.402556
  26  0.404085
Done.

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

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  1.273e+00  2.689e+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:  8.579e-01  4.041e-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.142e+00  4.026e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.30
Ra Dec: 177.603 24.302
Photon Flux Upper Limit: 1.63e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.25e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/105641/likelihoodResults_542592001_542851201_4FGL_J1150.4+2418_daily_bin1170.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) = 1878.77962803
delta logL = 0.00456746026066

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1878.77785167
delta logL = 0.00634382333624

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4622       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0940       1.0000          .0000       10.000    
     3 'Normalizat'    1.1435       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85612       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1878.778     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      209 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4636        10.480         .0000        .19608E-03
   2  Index         2.0935        2.4814         .0000        .46809E-03
   3  Normalizat    1.1436        .31259         .0000       -.48197E-05
   4  Prefactor     .85600        .33960         .0000       -.22833E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.46363
  Index      = 2.09352
  Normalizat = 1.14364
  Prefactor  = 0.855998
 **********
 **   18 **HESSE 
 **********

 FCN=   1878.778     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4636        3.3829        .10584E-03   -1.5466    
   2  Index         2.0935        1.1544        .50549E-02   -.62032    
   3  Normalizat    1.1436        .36607        .24581E-03   -.88363    
   4  Prefactor     .85600        .39452        .30009E-03   -.97696    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.61774e-11
Minuit parameter uncertainties:
  1  3.38333
  2  1.17043
  3  0.366891
  4  0.395838
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/105641': 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) = 1878.7778515
delta logL = 0.00634399263868

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  1.464e+00  3.383e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.094e+00  1.170e+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:  8.560e-01  3.958e-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.144e+00  3.669e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.30
Ra Dec: 177.603 24.302

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/105641/cmap_HighResolution_542592001_542851201_4FGL_J1150.4+2418_daily_bin1170.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.25e-02', job_status='DONE', photon_flux_upper_limit='1.63e-07', time_completed='2021-09-04 13:08:27.274461', job_id='105641', GAL2='0.86', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1630786107.27', return_code2='0', ts='0.30', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='6.34e-03', ts2='0.31', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1170' AND source_name='4FGL J1150.4+2418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:08:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 105641: <4FGL_J1150.4+2418_daily_bin1170> in cluster <slac> Done

Job <4FGL_J1150.4+2418_daily_bin1170> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep  4 12:56:30 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 12:56:32 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:56:32 2021
Terminated at Sat Sep  4 13:08:28 2021
Results reported at Sat Sep  4 13:08:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.4+2418_daily_bin1170 177.603 24.3016 542592001 542851201 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 :                                   474.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             254.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   715 sec.
    Turnaround time :                            718 sec.

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

