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


Performing analysis on: 4FGL_J1150.4+2418_daily_bin22
RA = 177.603, Dec = 24.3016
tmin = 245030401, tmax = 245289601
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='99268', job_status='RUN', time_executed='2021-09-04 12:40:26.285050', time_epoch_executed='1630784426.29' WHERE source_name='4FGL J1150.4+2418' and cadence='daily' and bin_id='22'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/99268

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/99268/ft1_4FGL_J1150.4+2418_daily_bin22.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/99268/ft2_4FGL_J1150.4+2418_daily_bin22.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/99268/ft1_4FGL_J1150.4+2418_daily_bin22.fits outfile=/scratch/kocevski/99268/ft1_filteredMKT_4FGL_J1150.4+2418_daily_bin22.fits ra=177.603 dec=24.3016 rad=12.0 tmin=245030401.0 tmax=245289601.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.43
user 1.26
sys 0.15

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/99268/ft1_filtered_4FGL_J1150.4+2418_daily_bin22.fits" evtable="EVENTS" scfile=/scratch/kocevski/99268/ft2_4FGL_J1150.4+2418_daily_bin22.fits sctable="SC_DATA" outfile=/scratch/kocevski/99268/ltcube_245030401_245289601_4FGL_J1150.4+2418_daily_bin22.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/99268/ft2_4FGL_J1150.4+2418_daily_bin22.fits
.....................!
real 12.84
user 12.42
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/99268/ft1_filtered_4FGL_J1150.4+2418_daily_bin22.fits evtable="EVENTS" scfile=/scratch/kocevski/99268/ft2_4FGL_J1150.4+2418_daily_bin22.fits sctable="SC_DATA" expcube=/scratch/kocevski/99268/ltcube_245030401_245289601_4FGL_J1150.4+2418_daily_bin22.fits outfile=/scratch/kocevski/99268/expmap_245030401_245289601_4FGL_J1150.4+2418_daily_bin22.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/99268/ltcube_245030401_245289601_4FGL_J1150.4+2418_daily_bin22.fits
.....................!
real 191.33
user 185.59
sys 5.38

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/99268/ft1_filtered_4FGL_J1150.4+2418_daily_bin22.fits scfile=/scratch/kocevski/99268/ft2_4FGL_J1150.4+2418_daily_bin22.fits outfile=/scratch/kocevski/99268/cmap_245030401_245289601_4FGL_J1150.4+2418_daily_bin22.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.59
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/99268/ft1_filtered_4FGL_J1150.4+2418_daily_bin22.fits scfile=/scratch/kocevski/99268/ft2_4FGL_J1150.4+2418_daily_bin22.fits outfile=/scratch/kocevski/99268/cmap_HighResolution_245030401_245289601_4FGL_J1150.4+2418_daily_bin22.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.56
user 0.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.1738       1.0000         .10000E-03   10000.    
     3 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.8662       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13600E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.8332       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .50272       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.8334       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    33.672       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.0235       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.2078       1.0000         .10000E-03   10000.    
    22 'norm      '    .59380       1.0000         .10000E-03   10000.    
    23 'norm      '    1.9020       1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.9991       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .96367       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .91167       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5211.102     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     2618 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.7626       -.11970E-06** at limit **
   2  Prefactor     8.1696        1.0865        .30121E-07   -.46148E-03
   3  norm          .10000E-03    5.3824        .11171E-06** at limit **
   4  Prefactor     1.8710        1.1074        .22529E-07   -.11581E-04
   5  Prefactor     .10000E-03    663.17        .83230E-05** at limit **
   6  Prefactor     .10000E-03    9.3962       -.10504E-05** at limit **
   7  Prefactor     .10000E-03    10.451        .72573E-06** at limit **
   8  Prefactor     .10000E-03    2.3744        .25464E-08** at limit **
   9  Prefactor     .10000E-03    10.996        .30150E-07** at limit **
  10  Prefactor     .10000E-03    23.627        .19722E-06** at limit **
  11  Prefactor     4.8335        2.1785       -.12026E-06   -.63725E-05
  12  Prefactor     .10001E-03    5.0026       -.78762E-06** at limit **
  13  norm          .50270        .96035       -.93976E-07   -.56850E-05
  14  Prefactor     .10000E-03    2.4610        .13311E-06** at limit **
  15  Prefactor     .10000E-03    35.006       -.98152E-06** at limit **
  16  Prefactor     2.8338        2.1753       -.18357E-06   -.18813E-05
  17  Prefactor     .10000E-03    1.0498        .64622E-07** at limit **
  18  norm          33.676        6.1299        .32886E-07    .28551E-03
  19  Prefactor     .10000E-03    1.8980       -.80771E-07** at limit **
  20  Prefactor     5.0244        2.6481       -.13328E-06   -.16871E-06
  21  Prefactor     3.2080        3.3507       -.25609E-06    .15292E-04
  22  norm          .59382        .24976       -.36655E-08   -.24820E-04
  23  norm          1.9024        2.4181        .92139E-07   -.52427E-05
  24  Prefactor     1.9927        1.2998        .62036E-07   -.17808E-03
  25  Normalizat    .96358        .20810        .70155E-06   -.33445E-04
  26  Prefactor     .91170        .22749        .18334E-05   -.30048E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.16964
  norm       = 0.0001
  Prefactor  = 1.87096
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 4.83351
  Prefactor  = 0.000100014
  norm       = 0.502702
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.83375
  Prefactor  = 0.0001
  norm       = 33.6761
  Prefactor  = 0.0001
  Prefactor  = 5.02439
  Prefactor  = 3.208
  norm       = 0.593822
  norm       = 1.90242
  Prefactor  = 1.99267
  Normalizat = 0.963575
  Prefactor  = 0.911703
 **********
 **   18 **HESSE 
 **********

 FCN=   5211.102     FROM HESSE     STATUS=OK           518 CALLS     3136 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.7079        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.1696        9.9519        .35058E-02   -1.5136    
   3  norm          .10000E-03    5.3454        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.8710        10.918        .76238E-02   -1.5434    
   5  Prefactor     .10000E-03    15.747        .90909E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.779        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.437        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.3592        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    13.201        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    22.616        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.8335        2.1805        .45746E-02   -1.5268    
  12  Prefactor     .10001E-03    12.584        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .50270        1.0211        .21868E-01   -1.5566    
  14  Prefactor     .10000E-03    2.4053        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    34.816        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.8338        2.1833        .60397E-02   -1.5371    
  17  Prefactor     .10000E-03    1.0407        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          33.676        6.2274        .17264E-02   -1.4547    
  19  Prefactor     .10000E-03    1.8610        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.0244        2.6751        .44853E-02   -1.5260    
  21  Prefactor     3.2080        3.3528        .56552E-02   -1.5350    
  22  norm          .59382        .25129        .50740E-02   -1.5554    
  23  norm          1.9024        2.4304        .75387E-02   -1.5432    
  24  Prefactor     1.9927        9.2636        .73233E-02   -1.5426    
  25  Normalizat    .96358        .18364        .45710E-01   -.94261    
  26  Prefactor     .91170        .19808        .45154E-01   -.95733    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.86823e-07
Minuit parameter uncertainties:
  1  2.0501e-07
  2  9.95388
  3  3.99862e-07
  4  9.04135
  5  1.26261e-05
  6  0.00045932
  7  6.46655e-05
  8  7.06127e-08
  9  0.000438868
  10  4.3029e-05
  11  2.18054
  12  0.0008323
  13  1.02113
  14  9.93717e-08
  15  6.65798e-06
  16  2.1834
  17  4.04453e-08
  18  6.2275
  19  1.01066e-07
  20  2.67521
  21  3.353
  22  0.251291
  23  2.43056
  24  8.59481
  25  0.18376
  26  0.198233
Done.

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

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  4.834e+00  2.181e+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:  9.117e-01  1.982e-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.636e-01  1.838e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.26
Ra Dec: 177.603 24.302
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 8.36e-08 +/- 3.77e-08
Energy Flux (Fixed Index): 3.57e-05 +/- 1.61e-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) = 5211.10113885
delta logL = 0.000774415611886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5211.10064593
delta logL = 0.00126733194338

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7520       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2470       1.0000          .0000       10.000    
     3 'Normalizat'    .96234       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91249       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=   5211.101     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      226 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7520        2.7658        .67864E-04   -.11427E-02
   2  Index         2.2470        .38487        .44748E-02   -.21199E-03
   3  Normalizat    .96236        .20711        .24159E-03    .64470E-04
   4  Prefactor     .91248        .22763        .27308E-03    .82429E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.75204
  Index      = 2.24695
  Normalizat = 0.962355
  Prefactor  = 0.912485
 **********
 **   18 **HESSE 
 **********

 FCN=   5211.101     FROM HESSE     STATUS=OK            25 CALLS      251 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7520        2.6940        .27146E-05   -1.5272    
   2  Index         2.2470        .37475        .17899E-03   -.58309    
   3  Normalizat    .96236        .20725        .96634E-05   -.94302    
   4  Prefactor     .91248        .22781        .10923E-04   -.95706    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9971e-10
Minuit parameter uncertainties:
  1  2.69407
  2  0.375255
  3  0.207425
  4  0.228048
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/99268': 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) = 5211.10064593
delta logL = 0.00126733584784

Extracting fit parameters...

4FGL J1150.4+2418
   Spectrum: PowerLaw
286    Prefactor:  4.752e+00  2.694e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        Index:  2.247e+00  3.753e-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:  9.125e-01  2.280e-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.624e-01  2.074e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.16
Ra Dec: 177.603 24.302
Photon Index (Free Index): 2.25 +/- 0.38
Photon Flux (Free Index): 8.47e-08 +/- 4.38e-08
Energy Flux (Free Index): 3.50e-05 +/- 2.08e-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/99268/cmap_HighResolution_245030401_245289601_4FGL_J1150.4+2418_daily_bin22.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.36e-08', energy_flux2='3.50e-05', photon_flux_error='3.77e-08', dlogl='1.27e-03', energy_flux='3.57e-05', photon_flux2='8.47e-08', job_status='DONE', time_completed='2021-09-04 12:50:22.871630', photon_index_error2='0.38', photon_index2='2.25', ts='13.26', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='2.08e-05', EG='0.96', time_epoch_completed='1630785022.87', return_code='0', job_id='99268', GAL2='0.91', EG2='0.96', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='4.38e-08', ts2='13.16', photon_index='2.23' WHERE bin_id='22' AND source_name='4FGL J1150.4+2418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 12:50:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 99268: <4FGL_J1150.4+2418_daily_bin22> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1150.4+2418_daily_bin22 177.603 24.3016 245030401 245289601 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 :                                   596.36 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             252.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            819 sec.

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

