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


Performing analysis on: 4FGL_J1150.4+2418_daily_bin1105
RA = 177.603, Dec = 24.3016
tmin = 525744001, tmax = 526003201
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='105534', job_status='RUN', time_executed='2021-09-04 12:58:32.472091', time_epoch_executed='1630785512.47' WHERE source_name='4FGL J1150.4+2418' and cadence='daily' and bin_id='1105'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/105534

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/105534/ft1_4FGL_J1150.4+2418_daily_bin1105.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/105534/ft2_4FGL_J1150.4+2418_daily_bin1105.fits


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

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

Done.
real 4.35
user 4.09
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/105534/ft1_filtered_4FGL_J1150.4+2418_daily_bin1105.fits evtable="EVENTS" scfile=/scratch/kocevski/105534/ft2_4FGL_J1150.4+2418_daily_bin1105.fits sctable="SC_DATA" expcube=/scratch/kocevski/105534/ltcube_525744001_526003201_4FGL_J1150.4+2418_daily_bin1105.fits outfile=/scratch/kocevski/105534/expmap_525744001_526003201_4FGL_J1150.4+2418_daily_bin1105.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/105534/ltcube_525744001_526003201_4FGL_J1150.4+2418_daily_bin1105.fits
.....................!
real 190.69
user 185.30
sys 4.74

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/105534/ft1_filtered_4FGL_J1150.4+2418_daily_bin1105.fits scfile=/scratch/kocevski/105534/ft2_4FGL_J1150.4+2418_daily_bin1105.fits outfile=/scratch/kocevski/105534/cmap_525744001_526003201_4FGL_J1150.4+2418_daily_bin1105.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/105534/ft1_filtered_4FGL_J1150.4+2418_daily_bin1105.fits scfile=/scratch/kocevski/105534/ft2_4FGL_J1150.4+2418_daily_bin1105.fits outfile=/scratch/kocevski/105534/cmap_HighResolution_525744001_526003201_4FGL_J1150.4+2418_daily_bin1105.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/105534/ft1_filtered_4FGL_J1150.4+2418_daily_bin1105.fits evtable="EVENTS" scfile=/scratch/kocevski/105534/ft2_4FGL_J1150.4+2418_daily_bin1105.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/105534/Model_4FGL_J1150.4+2418_daily_bin1105.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/105534/ft1_filtered_4FGL_J1150.4+2418_daily_bin1105.fits.....................!
real 60.56
user 58.53
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3306       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.9656       1.0000         .10000E-03   10000.    
     3 'norm      '    4.4379       1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.198       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10293E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.8087       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.0843       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.9422       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.3586       1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.930       1.0000         .10000E-03   10000.    
    13 'norm      '    8.5949       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.0532       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .24992       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    14.293       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.7933       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .90808       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10496E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .28912       1.0000         .10000E-03   10000.    
    23 'norm      '    4.8411       1.0000         .10000E-03   10000.    
    24 'Prefactor '    7.2234       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .98250       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0418       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=   6666.607     FROM MIGRAD    STATUS=CONVERGED    658 CALLS     2731 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3303        2.2823        .43478E-07    .14670E-04
   2  Prefactor     3.9647        5.9289       -.22141E-06   -.25186E-04
   3  norm          4.4356        8.8490        .24956E-05    .15850E-03
   4  Prefactor     21.195        13.283        .10033E-05    .21770E-04
   5  Prefactor     .10000E-03    5.4959       -.11823E-07** at limit **
   6  Prefactor     .10000E-03    16.774        .58050E-08** at limit **
   7  Prefactor     .10000E-03    5.8156       -.30909E-06** at limit **
   8  Prefactor     7.8062        5.5798        .13942E-06    .46649E-04
   9  Prefactor     8.0838        12.074        .30564E-06    .87923E-05
  10  Prefactor     1.9377        14.001       -.61452E-06   -.32858E-05
  11  Prefactor     1.3584        1.2612       -.19928E-08   -.92254E-05
  12  Prefactor     16.972        22.371        .82460E-06    .59479E-04
  13  norm          8.5951        1.7691        .57000E-08    .23399E-03
  14  Prefactor     2.0534        3.1813        .32337E-06    .12027E-03
  15  Prefactor     .20823        22.034       -.30640E-05    .20932E-03
  16  Prefactor     .10000E-03    1.3177        .54448E-07** at limit **
  17  Prefactor     .10000E-03    1.1564        .98664E-07** at limit **
  18  norm          14.293        3.9526        .19519E-07    .66358E-04
  19  Prefactor     5.7933        2.7793       -.43515E-08    .34454E-04
  20  Prefactor     .90789        1.0944       -.18598E-07   -.40980E-04
  21  Prefactor     .10000E-03    5.7501        .40215E-06** at limit **
  22  norm          .28904        .22056        .63407E-08   -.18231E-03
  23  norm          4.8437        4.2302        .92346E-06    .17815E-03
  24  Prefactor     7.2231        6.5090        .34089E-06   -.84970E-06
  25  Normalizat    .98265        .18910       -.28975E-06    .12600E-03
  26  Prefactor     1.0418        .19698       -.82242E-06    .14040E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.33028
  Prefactor  = 3.96468
  norm       = 4.43564
  Prefactor  = 21.1949
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.80624
  Prefactor  = 8.08379
  Prefactor  = 1.93765
  Prefactor  = 1.35841
  Prefactor  = 16.9716
  norm       = 8.59512
  Prefactor  = 2.0534
  Prefactor  = 0.208228
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.293
  Prefactor  = 5.79325
  Prefactor  = 0.907889
  Prefactor  = 0.0001
  norm       = 0.289035
  norm       = 4.84373
  Prefactor  = 7.22312
  Normalizat = 0.98265
  Prefactor  = 1.04177
 **********
 **   18 **HESSE 
 **********

 FCN=   6666.607     FROM HESSE     STATUS=OK           480 CALLS     3211 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3303        2.2715        .11769E-03   -1.5403    
   2  Prefactor     3.9647        5.9210        .20255E-03   -1.5310    
   3  norm          4.4356        8.9187        .95577E-03   -1.5287    
   4  Prefactor     21.195        13.310        .86995E-04   -1.4787    
   5  Prefactor     .10000E-03    5.5054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    16.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.8399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.8062        5.5884        .14350E-03   -1.5149    
   9  Prefactor     8.0838        12.053        .14101E-03   -1.5139    
  10  Prefactor     1.9377        13.919        .29788E-03   -1.5430    
  11  Prefactor     1.3584        1.2644        .84550E-04   -1.5475    
  12  Prefactor     16.972        22.365        .97340E-04   -1.4884    
  13  norm          8.5951        1.7705        .46817E-04   -1.5122    
  14  Prefactor     2.0534        3.1528        .17090E-03   -1.5421    
  15  Prefactor     .20823        21.564        .10460       -1.5617    
  16  Prefactor     .10000E-03    1.3658        .18270E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.3311        .17034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          14.293        3.9600        .79118E-04   -1.4952    
  19  Prefactor     5.7933        2.7841        .87583E-04   -1.5227    
  20  Prefactor     .90789        1.0667        .90782E-04   -1.5517    
  21  Prefactor     .10000E-03    5.8257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .28904        .21278        .31728E-03   -1.5600    
  23  norm          4.8437        4.2371        .75557E-03   -1.5268    
  24  Prefactor     7.2231        6.5026        .14924E-03   -1.5170    
  25  Normalizat    .98265        .22490        .26304E-03   -.93614    
  26  Prefactor     1.0418        .23365        .28596E-03   -.91350    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6185e-09
Minuit parameter uncertainties:
  1  2.27154
  2  5.92192
  3  8.92134
  4  13.3117
  5  4.97207e-08
  6  3.59765e-08
  7  5.81041e-07
  8  5.58875
  9  12.057
  10  10.3896
  11  1.26442
  12  22.3759
  13  1.77053
  14  3.15301
  15  4.23856
  16  2.46012e-06
  17  3.07754e-06
  18  3.96008
  19  2.78413
  20  1.06672
  21  2.2626e-06
  22  0.212781
  23  4.23736
  24  6.50328
  25  0.225112
  26  0.233881
Done.

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

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  1.358e+00  1.264e+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.042e+00  2.339e-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.827e-01  2.251e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.84
Ra Dec: 177.603 24.302
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 2.35e-08 +/- 2.19e-08
Energy Flux (Fixed Index): 1.00e-05 +/- 9.34e-06

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

Saving results to:
/scratch/kocevski/105534/likelihoodResults_525744001_526003201_4FGL_J1150.4+2418_daily_bin1105.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) = 6666.42531673
delta logL = 0.18165065684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6666.42153124
delta logL = 0.185436147483

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4713       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7606       1.0000          .0000       10.000    
     3 'Normalizat'    .99438       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0354       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=   6666.422     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4714        60.899        .88561E-02   -.15916E-03
   2  Index         1.7606        5.2322        .27379       -.20718E-04
   3  Normalizat    .99454        .11660        .46096E-01    .12383E-04
   4  Prefactor     1.0352        .93756E-01    .64834E-01    .80477E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.47143
  Index      = 1.76055
  Normalizat = 0.994544
  Prefactor  = 1.03518
 **********
 **   18 **HESSE 
 **********

 FCN=   6666.422     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .48E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4714        1.4694        .93659E-04   -1.5465    
   2  Index         1.7606        .72303        .11026E-01   -.70481    
   3  Normalizat    .99454        .20697        .26165E-03   -.93213    
   4  Prefactor     1.0352        .23144        .28677E-03   -.91566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.80547e-13
Minuit parameter uncertainties:
  1  1.4694
  2  0.727442
  3  0.207141
  4  0.231664
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/105534': 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) = 6666.42153054
delta logL = 0.185436844738

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  1.471e+00  1.469e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  1.761e+00  7.274e-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.035e+00  2.317e-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.945e-01  2.071e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.21
Ra Dec: 177.603 24.302
Photon Index (Free Index): 1.76 +/- 0.73
Photon Flux (Free Index): 1.33e-08 +/- 1.87e-08
Energy Flux (Free Index): 1.79e-05 +/- 2.82e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/105534/cmap_HighResolution_525744001_526003201_4FGL_J1150.4+2418_daily_bin1105.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.25e-03', comment='SUCCESS', photon_flux='2.35e-08', energy_flux2='1.79e-05', photon_flux_error='2.19e-08', dlogl='1.85e-01', energy_flux='1.00e-05', photon_flux2='1.33e-08', job_status='DONE', time_completed='2021-09-04 13:11:46.232572', photon_index_error2='0.73', photon_index2='1.76', ts='3.84', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='8.18e-08', energy_flux_error2='2.82e-05', EG='0.98', time_epoch_completed='1630786306.23', return_code='0', job_id='105534', GAL2='1.04', EG2='0.99', return_code2='0', energy_flux_error='9.34e-06', photon_flux_error2='1.87e-08', ts2='4.21', photon_index='2.23' WHERE bin_id='1105' AND source_name='4FGL J1150.4+2418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 13:11:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 105534: <4FGL_J1150.4+2418_daily_bin1105> in cluster <slac> Done

Job <4FGL_J1150.4+2418_daily_bin1105> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep  4 12:56:23 2021
Job was executed on host(s) <bullet0236>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 12:56:24 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:24 2021
Terminated at Sat Sep  4 13:11:47 2021
Results reported at Sat Sep  4 13:11:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.4+2418_daily_bin1105 177.603 24.3016 525744001 526003201 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 :                                   789.13 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             298.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   922 sec.
    Turnaround time :                            924 sec.

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

