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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin597
RA = 222.624, Dec = 9.1818
tmin = 394070401, tmax = 394329601
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='810475', job_status='RUN', time_executed='2021-09-10 10:54:28.984573', time_epoch_executed='1631296468.98' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='597'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/810475

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/810475/ft1_4FGL_J1450.4+0910_daily_bin597.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/810475/ft2_4FGL_J1450.4+0910_daily_bin597.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/810475/ft1_4FGL_J1450.4+0910_daily_bin597.fits outfile=/scratch/kocevski/810475/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin597.fits ra=222.624 dec=9.1818 rad=12.0 tmin=394070401.0 tmax=394329601.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.46
user 4.23
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/810475/ft1_filtered_4FGL_J1450.4+0910_daily_bin597.fits" evtable="EVENTS" scfile=/scratch/kocevski/810475/ft2_4FGL_J1450.4+0910_daily_bin597.fits sctable="SC_DATA" outfile=/scratch/kocevski/810475/ltcube_394070401_394329601_4FGL_J1450.4+0910_daily_bin597.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/810475/ft2_4FGL_J1450.4+0910_daily_bin597.fits
.....................!
real 11.67
user 11.30
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/810475/ft1_filtered_4FGL_J1450.4+0910_daily_bin597.fits evtable="EVENTS" scfile=/scratch/kocevski/810475/ft2_4FGL_J1450.4+0910_daily_bin597.fits sctable="SC_DATA" expcube=/scratch/kocevski/810475/ltcube_394070401_394329601_4FGL_J1450.4+0910_daily_bin597.fits outfile=/scratch/kocevski/810475/expmap_394070401_394329601_4FGL_J1450.4+0910_daily_bin597.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/810475/ltcube_394070401_394329601_4FGL_J1450.4+0910_daily_bin597.fits
.....................!
real 191.11
user 185.77
sys 4.98

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/810475/ft1_filtered_4FGL_J1450.4+0910_daily_bin597.fits scfile=/scratch/kocevski/810475/ft2_4FGL_J1450.4+0910_daily_bin597.fits outfile=/scratch/kocevski/810475/cmap_394070401_394329601_4FGL_J1450.4+0910_daily_bin597.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.57
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/810475/ft1_filtered_4FGL_J1450.4+0910_daily_bin597.fits scfile=/scratch/kocevski/810475/ft2_4FGL_J1450.4+0910_daily_bin597.fits outfile=/scratch/kocevski/810475/cmap_HighResolution_394070401_394329601_4FGL_J1450.4+0910_daily_bin597.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/810475/ft1_filtered_4FGL_J1450.4+0910_daily_bin597.fits', '/scratch/kocevski/810475/ft2_4FGL_J1450.4+0910_daily_bin597.fits', expMap='/scratch/kocevski/810475/expmap_394070401_394329601_4FGL_J1450.4+0910_daily_bin597.fits', expCube='/scratch/kocevski/810475/ltcube_394070401_394329601_4FGL_J1450.4+0910_daily_bin597.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/810475/Model_4FGL_J1450.4+0910_daily_bin597.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/810475/ft1_filtered_4FGL_J1450.4+0910_daily_bin597.fits
Spacecraft file(s): /scratch/kocevski/810475/ft2_4FGL_J1450.4+0910_daily_bin597.fits
Exposure map: /scratch/kocevski/810475/expmap_394070401_394329601_4FGL_J1450.4+0910_daily_bin597.fits
Exposure cube: /scratch/kocevski/810475/ltcube_394070401_394329601_4FGL_J1450.4+0910_daily_bin597.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/810475/Model_4FGL_J1450.4+0910_daily_bin597.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) = 8251.42100792

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.115       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13288       1.0000         .10000E-03   10000.    
     3 'norm      '    12.297       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10816E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    10.309       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.9098       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10400E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    17.006       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.331       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.9192       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .25758E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .52681E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10253E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10013       1.0000         .10000E-03   10000.    
    16 'norm      '    .10107E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.7394       1.0000         .10000E-03   10000.    
    18 'norm      '    .10164E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.8211       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .92017       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0806       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=   8251.395     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2645 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.126        23.754        .49637E-06    .73382E-04
   2  Prefactor     .11983E-03    36.184       -.71460E-05** at limit **
   3  norm          12.301        12.965       -.16457E-06    .92719E-05
   4  Prefactor     .10000E-03    2.1271        .24745E-06** at limit **
   5  Prefactor     .10000E-03    6.2608        .54227E-06** at limit **
   6  norm          10.308        3.8259       -.12502E-07    .46276E-05
   7  Prefactor     9.8797        37.722       -.19189E-05   -.45010E-04
   8  Prefactor     .10000E-03    19.081       -.44423E-06** at limit **
   9  norm          17.010        18.012       -.16095E-06   -.23911E-04
  10  Prefactor     10.308        24.453       -.90054E-07    .67569E-04
  11  Prefactor     4.9265        23.356        .32160E-06   -.93448E-05
  12  Prefactor     .10001E-03    45.568        .12680E-04** at limit **
  13  Prefactor     .10000E-03    106.14       -.87110E-05** at limit **
  14  Prefactor     .10000E-03    67.788        .43836E-06** at limit **
  15  norm          .10006        .92099E-01    .45637E-07    .15831E-02
  16  norm          .10000E-03    .75122        .77149E-07** at limit **
  17  norm          4.7368        4.6704       -.10140E-06   -.45307E-04
  18  norm          .10000E-03    11.354        .34581E-07** at limit **
  19  norm          3.8211        3.6503       -.38339E-06   -.26513E-03
  20  Prefactor     .10000E-03    13.909        .13366E-06** at limit **
  21  Prefactor     .10000E-03    10.836        .91062E-07** at limit **
  22  Normalizat    .91971        .19482       -.37334E-07   -.41885E-04
  23  Prefactor     1.0810        .11715       -.17489E-06   -.18686E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.1264
  Prefactor  = 0.000119834
  norm       = 12.3005
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.3076
  Prefactor  = 9.87972
  Prefactor  = 0.0001
  norm       = 17.0096
  Prefactor  = 10.3084
  Prefactor  = 4.92646
  Prefactor  = 0.000100009
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.100057
  norm       = 0.0001
  norm       = 4.73679
  norm       = 0.0001
  norm       = 3.82111
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.919706
  Prefactor  = 1.08101
 **********
 **   18 **HESSE 
 **********

 FCN=   8251.395     FROM HESSE     STATUS=OK           384 CALLS     3029 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.126        23.901        .79933E-04   -1.4705    
   2  Prefactor     .11983E-03    23.514        .10503       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          12.301        12.968        .11423E-03   -1.5006    
   4  Prefactor     .10000E-03    2.1333        .12941E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.4984        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          10.308        3.8237        .10422E-03   -1.5066    
   7  Prefactor     9.8797        37.862        .12729E-03   -1.5079    
   8  Prefactor     .10000E-03    19.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          17.010        17.975        .97121E-04   -1.4883    
  10  Prefactor     10.308        23.960        .12466E-03   -1.5066    
  11  Prefactor     4.9265        23.290        .18134E-03   -1.5264    
  12  Prefactor     .10001E-03    45.582        .53935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    103.60        .42263E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    68.187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10006        .88285E-01    .25561E-03   -1.5645    
  16  norm          .10000E-03    3.7153        .14950E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.7368        4.6674        .18483E-03   -1.5273    
  18  norm          .10000E-03    11.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.8211        3.6378        .16156E-03   -1.5317    
  20  Prefactor     .10000E-03    13.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    10.854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .91971        .23186        .31366E-03   -.95771    
  23  Prefactor     1.0810        .14111        .18425E-03   -.90076    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.88441e-10
Minuit parameter uncertainties:
  1  23.9098
  2  0.0432082
  3  12.971
  4  3.48809e-06
  5  1.94479e-05
  6  3.8238
  7  37.9547
  8  2.08417e-05
  9  17.981
  10  23.9819
  11  21.4363
  12  0.00128753
  13  0.000793301
  14  0.000369652
  15  0.0882849
  16  2.22718e-06
  17  4.66771
  18  4.81412e-06
  19  3.63798
  20  1.3971e-05
  21  6.70924e-06
  22  0.23211
  23  0.141159
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  4.926e+00  2.144e+01  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.081e+00  1.412e-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.197e-01  2.321e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/810475/likelihoodResults_394070401_394329601_4FGL_J1450.4+0910_daily_bin597.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) = 8249.76680656
delta logL = 1.62790511932

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8249.23031379
delta logL = 2.16439789709

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    8.8762       1.0000          .0000       10.000    
     3 'Normalizat'    .76151       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1513       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=   8249.230     FROM MIGRAD    STATUS=CONVERGED    223 CALLS      541 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .15003E-01    .12519E-03** at limit **
   2  Index         8.8764        7.3847        .64639E-02   -.66546E-04
   3  Normalizat    .76159        .12574        .34157E-03    .59711E-04
   4  Prefactor     1.1512        .78240E-01    .17913E-03    .21740E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.87641
  Normalizat = 0.761591
  Prefactor  = 1.15125
 **********
 **   18 **HESSE 
 **********

 FCN=   8249.230     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      576 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .77454E-02    .17862E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.8764        7.3098        .25855E-03    .88716    
   3  Normalizat    .76159        .10542        .13663E-04   -1.0151    
   4  Prefactor     1.1512        .65662E-01    .35827E-04   -.87845    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.16276e-09
Minuit parameter uncertainties:
  1  2.88717e-08
  2  3.27285
  3  0.105443
  4  0.0656663
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/810475': 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) = 8249.23029718
delta logL = 2.16441450671

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.000e-04  2.887e-08  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  8.876e+00  3.273e+00  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.151e+00  6.567e-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:  7.616e-01  1.054e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.89
Ra Dec: 222.624 9.182
Photon Index (Free Index): 8.88 +/- 3.27
Photon Flux (Free Index): 1.15e-07 +/- 8.09e-07
Energy Flux (Free Index): 1.32e-05 +/- 9.19e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/810475/cmap_HighResolution_394070401_394329601_4FGL_J1450.4+0910_daily_bin597.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.56e-03', comment='SUCCESS', energy_flux2='1.32e-05', dlogl='2.16e+00', photon_flux2='1.15e-07', job_status='DONE', time_completed='2021-09-10 11:06:26.292127', photon_index_error2='3.27', photon_index2='8.88', ts='0.06', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='9.79e-08', energy_flux_error2='9.19e-05', EG='0.92', time_epoch_completed='1631297186.29', return_code='0', job_id='810475', GAL2='1.15', EG2='0.76', return_code2='102', photon_flux_error2='8.09e-07', ts2='4.89', photon_index='2.39' WHERE bin_id='597' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:06:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 810475: <4FGL_J1450.4+0910_daily_bin597> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin597> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 10:52:05 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:52:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 10:52:06 2021
Terminated at Fri Sep 10 11:06:27 2021
Results reported at Fri Sep 10 11:06:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin597 222.624 9.1818 394070401 394329601 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 :                                   713.00 sec.
    Max Memory :                                 1143 MB
    Average Memory :                             296.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   860 sec.
    Turnaround time :                            862 sec.

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

