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


Performing analysis on: 4FGL_J1150.4+2418_daily_bin77
RA = 177.603, Dec = 24.3016
tmin = 259286401, tmax = 259545601
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='99356', job_status='RUN', time_executed='2021-09-04 12:39:38.206109', time_epoch_executed='1630784378.21' WHERE source_name='4FGL J1150.4+2418' and cadence='daily' and bin_id='77'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/99356

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/99356/ft1_4FGL_J1150.4+2418_daily_bin77.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/99356/ft2_4FGL_J1150.4+2418_daily_bin77.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/99356/ft1_4FGL_J1150.4+2418_daily_bin77.fits outfile=/scratch/kocevski/99356/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin77.fits ra=177.603 dec=24.3016 rad=12.0 tmin=259286401.0 tmax=259545601.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 2.25
user 2.06
sys 0.16

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/99356/ft1_filtered_4FGL_J1150.4+2418_daily_bin77.fits evtable="EVENTS" scfile=/scratch/kocevski/99356/ft2_4FGL_J1150.4+2418_daily_bin77.fits sctable="SC_DATA" expcube=/scratch/kocevski/99356/ltcube_259286401_259545601_4FGL_J1150.4+2418_daily_bin77.fits outfile=/scratch/kocevski/99356/expmap_259286401_259545601_4FGL_J1150.4+2418_daily_bin77.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/99356/ltcube_259286401_259545601_4FGL_J1150.4+2418_daily_bin77.fits
.....................!
real 190.06
user 185.38
sys 4.28

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/99356/ft1_filtered_4FGL_J1150.4+2418_daily_bin77.fits scfile=/scratch/kocevski/99356/ft2_4FGL_J1150.4+2418_daily_bin77.fits outfile=/scratch/kocevski/99356/cmap_259286401_259545601_4FGL_J1150.4+2418_daily_bin77.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/99356/ft1_filtered_4FGL_J1150.4+2418_daily_bin77.fits scfile=/scratch/kocevski/99356/ft2_4FGL_J1150.4+2418_daily_bin77.fits outfile=/scratch/kocevski/99356/cmap_HighResolution_259286401_259545601_4FGL_J1150.4+2418_daily_bin77.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68746       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.4430       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.240       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.127       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11112E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.201       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.3011       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.9905       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.8290       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.6985       1.0000         .10000E-03   10000.    
    18 'norm      '    2.1775       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.3202       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .13141E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .70962       1.0000         .10000E-03   10000.    
    23 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.1295       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .74185       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2548       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=   6561.759     FROM MIGRAD    STATUS=CONVERGED    620 CALLS     2716 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .68788        2.2764        .18212E-05   -.76893E-04
   2  Prefactor     .10000E-03    3.4704       -.41060E-06** at limit **
   3  norm          1.4440        2.0725       -.77429E-07   -.71887E-03
   4  Prefactor     .10000E-03    2.4685        .30789E-06** at limit **
   5  Prefactor     15.246        13.649        .36741E-05    .11024E-03
   6  Prefactor     11.127        29.243       -.36119E-06   -.33423E-05
   7  Prefactor     .10000E-03    9.8071       -.55851E-05** at limit **
   8  Prefactor     .10000E-03    2.1952       -.31400E-06** at limit **
   9  Prefactor     .10000E-03    15.733        .24056E-05** at limit **
  10  Prefactor     11.203        10.674        .29784E-06   -.12238E-03
  11  Prefactor     3.3010        1.9054        .79471E-07   -.16965E-03
  12  Prefactor     .10000E-03    12.889        .83612E-05** at limit **
  13  norm          4.9907        1.4484        .18379E-07   -.16431E-03
  14  Prefactor     .10000E-03    1.6456        .17822E-06** at limit **
  15  Prefactor     .10000E-03    17.035       -.64039E-05** at limit **
  16  Prefactor     1.8292        1.6254        .83060E-07   -.49205E-04
  17  Prefactor     1.6986        2.0290       -.28279E-07   -.44465E-04
  18  norm          2.1776        2.2781        .32784E-06    .71342E-04
  19  Prefactor     .10000E-03    1.2045       -.86375E-07** at limit **
  20  Prefactor     3.3203        2.0580       -.81317E-07   -.74294E-04
  21  Prefactor     .10000E-03    2.2419        .41750E-06** at limit **
  22  norm          .70964        .24129        .19980E-07   -.56844E-03
  23  norm          .10000E-03    1.8839        .10333E-06** at limit **
  24  Prefactor     1.1296        11.964        .31516E-06   -.36883E-04
  25  Normalizat    .74172        .16973       -.13580E-05   -.84792E-04
  26  Prefactor     1.2549        .18166       -.61516E-07   -.12318E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.687882
  Prefactor  = 0.0001
  norm       = 1.44399
  Prefactor  = 0.0001
  Prefactor  = 15.246
  Prefactor  = 11.1268
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.2029
  Prefactor  = 3.30102
  Prefactor  = 0.0001
  norm       = 4.99068
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.82916
  Prefactor  = 1.69858
  norm       = 2.17762
  Prefactor  = 0.0001
  Prefactor  = 3.32032
  Prefactor  = 0.000100001
  norm       = 0.709636
  norm       = 0.0001
  Prefactor  = 1.12959
  Normalizat = 0.741723
  Prefactor  = 1.25487
 **********
 **   18 **HESSE 
 **********

 FCN=   6561.759     FROM HESSE     STATUS=OK           464 CALLS     3180 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .68788        2.2627        .21204E-03   -1.5542    
   2  Prefactor     .10000E-03    3.5136        .14732E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4440        12.072        .17951E-02   -1.5468    
   4  Prefactor     .10000E-03    2.4711        .12429E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.246        13.753        .10260E-03   -1.4927    
   6  Prefactor     11.127        29.254        .12010E-03   -1.5041    
   7  Prefactor     .10000E-03    10.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.2332        .11718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.203        10.715        .59851E-03   -1.5038    
  11  Prefactor     3.3010        1.9021        .80855E-04   -1.5345    
  12  Prefactor     .10000E-03    12.852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.9907        1.4509        .50013E-04   -1.5261    
  14  Prefactor     .10000E-03    2.8256        .19985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    17.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8292        1.6262        .92887E-04   -1.5437    
  17  Prefactor     1.6986        2.0096        .12011E-03   -1.5447    
  18  norm          2.1776        2.2127        .11587E-03   -1.5413    
  19  Prefactor     .10000E-03    2.9025        .16692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.3203        2.0351        .84580E-04   -1.5344    
  21  Prefactor     .10000E-03    5.6652        .23537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .70964        .24105        .21997E-04   -1.5539    
  23  norm          .10000E-03    1.9054        .10851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.1296        12.060        .43981E-03   -1.5495    
  25  Normalizat    .74172        .20431        .27325E-03   -1.0227    
  26  Prefactor     1.2549        .21687        .24379E-03   -.84659    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52031e-09
Minuit parameter uncertainties:
  1  2.26298
  2  4.62594e-06
  3  8.35242
  4  1.39609e-06
  5  13.7562
  6  29.2916
  7  9.25126e-05
  8  2.04612e-06
  9  7.67254e-06
  10  10.7172
  11  1.90213
  12  3.7361e-06
  13  1.45094
  14  2.56955e-06
  15  8.68649e-06
  16  1.62623
  17  2.00972
  18  2.21281
  19  4.81679e-06
  20  2.03515
  21  0.000114798
  22  0.241047
  23  1.94161e-06
  24  7.38329
  25  0.204521
  26  0.217028
Done.

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

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  3.301e+00  1.902e+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.255e+00  2.170e-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:  7.417e-01  2.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.35
Ra Dec: 177.603 24.302
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 5.71e-08 +/- 3.29e-08
Energy Flux (Fixed Index): 2.44e-05 +/- 1.40e-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) = 6561.66621866
delta logL = 0.0923758443614

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6561.66218198
delta logL = 0.0964125253677

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6964       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4745       1.0000          .0000       10.000    
     3 'Normalizat'    .72183       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2696       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=   6561.662     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      238 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6932        22.668        .62023E-02    .20017E-02
   2  Index         2.4757        2.8286        .15003        .35162E-03
   3  Normalizat    .72200        .64388E-01    .62527E-01    .40527E-03
   4  Prefactor     1.2693        .61306E-01    .54872E-01    .11855E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.6932
  Index      = 2.47573
  Normalizat = 0.722001
  Prefactor  = 1.2693
 **********
 **   18 **HESSE 
 **********

 FCN=   6561.662     FROM HESSE     STATUS=OK            31 CALLS      269 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6932        2.4334        .68525E-04   -1.5380    
   2  Index         2.4757        .63920        .51212E-02   -.52921    
   3  Normalizat    .72200        .19728        .27660E-03   -1.0303    
   4  Prefactor     1.2693        .21906        .24262E-03   -.84225    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.31739e-10
Minuit parameter uncertainties:
  1  2.43352
  2  0.641561
  3  0.197476
  4  0.219213
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/99356': 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) = 6561.66217827
delta logL = 0.0964162336031

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  2.693e+00  2.434e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.476e+00  6.416e-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.269e+00  2.192e-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:  7.220e-01  1.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.54
Ra Dec: 177.603 24.302
Photon Index (Free Index): 2.48 +/- 0.64
Photon Flux (Free Index): 7.04e-08 +/- 4.67e-08
Energy Flux (Free Index): 2.10e-05 +/- 1.36e-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/99356/cmap_HighResolution_259286401_259545601_4FGL_J1150.4+2418_daily_bin77.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.71e-08', energy_flux2='2.10e-05', photon_flux_error='3.29e-08', dlogl='9.64e-02', energy_flux='2.44e-05', photon_flux2='7.04e-08', job_status='DONE', time_completed='2021-09-04 12:50:49.972012', photon_index_error2='0.64', photon_index2='2.48', ts='6.35', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', energy_flux_error2='1.36e-05', EG='0.74', time_epoch_completed='1630785049.97', return_code='0', job_id='99356', GAL2='1.27', EG2='0.72', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='4.67e-08', ts2='6.54', photon_index='2.23' WHERE bin_id='77' AND source_name='4FGL J1150.4+2418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 12:50:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 99356: <4FGL_J1150.4+2418_daily_bin77> in cluster <slac> Done

Job <4FGL_J1150.4+2418_daily_bin77> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 12:36:51 2021
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 12:36:53 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:53 2021
Terminated at Sat Sep  4 12:50:52 2021
Results reported at Sat Sep  4 12:50:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.4+2418_daily_bin77 177.603 24.3016 259286401 259545601 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 :                                   671.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             263.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            841 sec.

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

