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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin973
RA = 222.624, Dec = 9.1818
tmin = 491529601, tmax = 491788801
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='814415', job_status='RUN', time_executed='2021-09-10 11:04:42.876899', time_epoch_executed='1631297082.88' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='973'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/814415

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/814415/ft1_4FGL_J1450.4+0910_daily_bin973.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/814415/ft2_4FGL_J1450.4+0910_daily_bin973.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/814415/ft1_4FGL_J1450.4+0910_daily_bin973.fits outfile=/scratch/kocevski/814415/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin973.fits ra=222.624 dec=9.1818 rad=12.0 tmin=491529601.0 tmax=491788801.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 3.61
user 3.35
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/814415/ft2_4FGL_J1450.4+0910_daily_bin973.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/814415/ft2_4FGL_J1450.4+0910_daily_bin973.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/814415/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin973.fits evtable="EVENTS" outfile="/scratch/kocevski/814415/ft1_filtered_4FGL_J1450.4+0910_daily_bin973.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/814415/ft1_filtered_4FGL_J1450.4+0910_daily_bin973.fits" evtable="EVENTS" scfile=/scratch/kocevski/814415/ft2_4FGL_J1450.4+0910_daily_bin973.fits sctable="SC_DATA" outfile=/scratch/kocevski/814415/ltcube_491529601_491788801_4FGL_J1450.4+0910_daily_bin973.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/814415/ft2_4FGL_J1450.4+0910_daily_bin973.fits
.....................!
real 11.66
user 11.29
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/814415/ft1_filtered_4FGL_J1450.4+0910_daily_bin973.fits evtable="EVENTS" scfile=/scratch/kocevski/814415/ft2_4FGL_J1450.4+0910_daily_bin973.fits sctable="SC_DATA" expcube=/scratch/kocevski/814415/ltcube_491529601_491788801_4FGL_J1450.4+0910_daily_bin973.fits outfile=/scratch/kocevski/814415/expmap_491529601_491788801_4FGL_J1450.4+0910_daily_bin973.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/814415/ltcube_491529601_491788801_4FGL_J1450.4+0910_daily_bin973.fits
.....................!
real 190.98
user 185.88
sys 4.73

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 148 point sources and 0 extended sources

Setting source of interest to:
4FGL J1450.4+0910 @ 222.624 9.1818

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/814415/ft1_filtered_4FGL_J1450.4+0910_daily_bin973.fits scfile=/scratch/kocevski/814415/ft2_4FGL_J1450.4+0910_daily_bin973.fits outfile=/scratch/kocevski/814415/cmap_491529601_491788801_4FGL_J1450.4+0910_daily_bin973.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=222.624 yref=9.1818 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/814415/ft1_filtered_4FGL_J1450.4+0910_daily_bin973.fits scfile=/scratch/kocevski/814415/ft2_4FGL_J1450.4+0910_daily_bin973.fits outfile=/scratch/kocevski/814415/cmap_HighResolution_491529601_491788801_4FGL_J1450.4+0910_daily_bin973.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=222.624 yref=9.1818 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/814415/ft1_filtered_4FGL_J1450.4+0910_daily_bin973.fits evtable="EVENTS" scfile=/scratch/kocevski/814415/ft2_4FGL_J1450.4+0910_daily_bin973.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/814415/Model_4FGL_J1450.4+0910_daily_bin973.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/814415/ft1_filtered_4FGL_J1450.4+0910_daily_bin973.fits.....................!
real 49.64
user 48.39
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/814415/ft1_filtered_4FGL_J1450.4+0910_daily_bin973.fits', '/scratch/kocevski/814415/ft2_4FGL_J1450.4+0910_daily_bin973.fits', expMap='/scratch/kocevski/814415/expmap_491529601_491788801_4FGL_J1450.4+0910_daily_bin973.fits', expCube='/scratch/kocevski/814415/ltcube_491529601_491788801_4FGL_J1450.4+0910_daily_bin973.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/814415/Model_4FGL_J1450.4+0910_daily_bin973.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1450.4+0910'

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  4.181e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.394e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
224        Scale:  1.019e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/814415/ft1_filtered_4FGL_J1450.4+0910_daily_bin973.fits
Spacecraft file(s): /scratch/kocevski/814415/ft2_4FGL_J1450.4+0910_daily_bin973.fits
Exposure map: /scratch/kocevski/814415/expmap_491529601_491788801_4FGL_J1450.4+0910_daily_bin973.fits
Exposure cube: /scratch/kocevski/814415/ltcube_491529601_491788801_4FGL_J1450.4+0910_daily_bin973.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/814415/Model_4FGL_J1450.4+0910_daily_bin973.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) = 6369.42083321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17367E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    25.383       1.0000         .10000E-03   10000.    
     3 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.469       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .65170E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    36.593       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11032E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10081E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    41.378       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.0389       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.7255       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12505E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .33221       1.0000         .10000E-03   10000.    
    16 'norm      '    5.1996       1.0000         .10000E-03   10000.    
    17 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    33.873       1.0000         .10000E-03   10000.    
    19 'norm      '    .67370       1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.204       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .26095E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .98364       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0786       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6369.415     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2598 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.146        .20270E-04** at limit **
   2  Prefactor     25.370        22.994       -.32819E-05    .11306E-04
   3  norm          .10000E-03    9.4390        .86521E-07** at limit **
   4  Prefactor     15.473        9.8011        .72192E-06   -.15957E-03
   5  Prefactor     .10000E-03    3.6182        .10488E-09** at limit **
   6  norm          .26913E-01    1.4713       -.81794E-07    .26747E-03
   7  Prefactor     36.629        62.553        .41738E-04    .26793E-04
   8  Prefactor     .10000E-03    22.354       -.60708E-05** at limit **
   9  norm          .10000E-03    34.304       -.22875E-04** at limit **
  10  Prefactor     41.324        35.407        .13839E-05    .77658E-04
  11  Prefactor     .10000E-03    7.8142       -.13706E-07** at limit **
  12  Prefactor     5.0440        11.883        .66797E-05   -.90707E-05
  13  Prefactor     7.6220        40.975       -.67710E-04   -.15702E-03
  14  Prefactor     .10006E-03    98.204        .54883E-04** at limit **
  15  norm          .33221        .17085        .11907E-07    .13129E-03
  16  norm          5.2009        3.3521       -.26663E-06    .99554E-04
  17  norm          .10000E-03    3.3509        .51245E-07** at limit **
  18  norm          33.895        45.973        .21071E-04   -.48737E-05
  19  norm          .67175        4.5170       -.11507E-05   -.43834E-03
  20  Prefactor     19.202        27.536       -.13019E-05    .18514E-04
  21  Prefactor     .10000E-03    77.321        .68060E-05** at limit **
  22  Normalizat    .98374        .23564        .43421E-05   -.71774E-04
  23  Prefactor     1.0785        .14240       -.12275E-05    .34991E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 25.3702
  norm       = 0.0001
  Prefactor  = 15.4734
  Prefactor  = 0.0001
  norm       = 0.0269133
  Prefactor  = 36.6286
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 41.3236
  Prefactor  = 0.0001
  Prefactor  = 5.044
  Prefactor  = 7.62196
  Prefactor  = 0.000100059
  norm       = 0.332211
  norm       = 5.20093
  norm       = 0.0001
  norm       = 33.8948
  norm       = 0.671754
  Prefactor  = 19.2015
  Prefactor  = 0.0001
  Normalizat = 0.983739
  Prefactor  = 1.0785
 **********
 **   18 **HESSE 
 **********

 FCN=   6369.415     FROM HESSE     STATUS=OK           376 CALLS     2974 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     25.370        23.014        .79511E-04   -1.4700    
   3  norm          .10000E-03    9.4475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     15.473        9.8109        .10183E-03   -1.4921    
   5  Prefactor     .10000E-03    3.6363        .14811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .26913E-01    2.2969        .35689E-01   -1.5675    
   7  Prefactor     36.629        62.440        .66252E-04   -1.4497    
   8  Prefactor     .10000E-03    22.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    34.843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     41.324        35.284        .62318E-04   -1.4421    
  11  Prefactor     .10000E-03    7.8198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.0440        11.841        .17913E-03   -1.5259    
  13  Prefactor     7.6220        41.248        .14427E-03   -1.5156    
  14  Prefactor     .10006E-03    101.23        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .33221        .17075        .22626E-04   -1.5593    
  16  norm          5.2009        3.2793        .10463E-03   -1.5252    
  17  norm          .10000E-03    3.3599        .14267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          33.895        45.912        .68852E-04   -1.4543    
  19  norm          .67175        9.0331        .30323E-02   -1.5544    
  20  Prefactor     19.202        27.519        .91398E-04   -1.4831    
  21  Prefactor     .10000E-03    78.319        .21448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .98374        .28011        .32728E-03   -.93577    
  23  Prefactor     1.0785        .16979        .19507E-03   -.90157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78962e-09
Minuit parameter uncertainties:
  1  0.000101955
  2  23.0219
  3  1.19302e-05
  4  9.81191
  5  8.4211e-08
  6  0.496357
  7  62.5521
  8  5.92435e-05
  9  6.4491e-05
  10  35.3021
  11  4.66122e-06
  12  11.8461
  13  35.4999
  14  0.00490311
  15  0.170748
  16  3.27941
  17  7.9575e-07
  18  45.9595
  19  4.9272
  20  27.5372
  21  9.66681e-05
  22  0.280534
  23  0.169876
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.000e-04  4.661e-06  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.394e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
224        Scale:  1.019e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
480    Prefactor:  1.079e+00  1.699e-01  0.000e+00  1.000e+01 ( 1.000e+00)
481        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
482        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
479   Normalization:  9.837e-01  2.805e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 222.624 9.182
Photon Flux Upper Limit: 7.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/814415/likelihoodResults_491529601_491788801_4FGL_J1450.4+0910_daily_bin973.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): 102
logL (Free Index) = 6369.41576785
delta logL = -0.000608688647844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6369.4151593
delta logL = -1.35830305226e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10411E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3711       1.0000          .0000       10.000    
     3 'Normalizat'    .98378       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0785       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4830E+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=   6369.415     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      237 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10273E-03    8.7648        .18142E-01** at limit **
   2  Index         2.2848        7.9388        .50000        .19970E-04
   3  Normalizat    .98374        .56167E-02    .32728E-03    .26400E-04
   4  Prefactor     1.0785        .35104E-02    .19507E-03    .35097E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102733
  Index      = 2.28479
  Normalizat = 0.983745
  Prefactor  = 1.0785
 **********
 **   18 **HESSE 
 **********

 FCN=   6369.415     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      266 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10273E-03    77.911        .22822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2848        7.2253        .50000       -.57405    
   3  Normalizat    .98374        .16880E-01    .13091E-04   -.93577    
   4  Prefactor     1.0785        .10550E-01    .39014E-04   -.90157    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.93432e-09
Minuit parameter uncertainties:
  1  0.029224
  2  355.21
  3  0.0168798
  4  0.0105497
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/814415': 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): 102
logL (Free Index) = 6369.41515875
delta logL = 4.19277057517e-07

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.027e-04  2.922e-02  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.285e+00  3.552e+02  0.000e+00  1.000e+01 (-1.000e+00)
224        Scale:  1.019e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
480    Prefactor:  1.078e+00  1.055e-02  0.000e+00  1.000e+01 ( 1.000e+00)
481        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
482        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
479   Normalization:  9.837e-01  1.688e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 222.624 9.182

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/814415/cmap_HighResolution_491529601_491788801_4FGL_J1450.4+0910_daily_bin973.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.49e-03', job_status='DONE', photon_flux_upper_limit='7.11e-08', time_completed='2021-09-10 11:14:35.581771', job_id='814415', GAL2='1.08', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1631297675.58', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.19e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='973' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:14:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 814415: <4FGL_J1450.4+0910_daily_bin973> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin973> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 11:01:24 2021
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 11:01:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 11:01:25 2021
Terminated at Fri Sep 10 11:14:36 2021
Results reported at Fri Sep 10 11:14:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin973 222.624 9.1818 491529601 491788801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1450.4+0910 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   587.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             235.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            792 sec.

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

