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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin785
RA = 222.624, Dec = 9.1818
tmin = 442800001, tmax = 443059201
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='812098', job_status='RUN', time_executed='2021-09-10 11:00:21.032334', time_epoch_executed='1631296821.03' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='785'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/812098

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/812098/ft1_4FGL_J1450.4+0910_daily_bin785.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/812098/ft2_4FGL_J1450.4+0910_daily_bin785.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/812098/ft1_4FGL_J1450.4+0910_daily_bin785.fits outfile=/scratch/kocevski/812098/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin785.fits ra=222.624 dec=9.1818 rad=12.0 tmin=442800001.0 tmax=443059201.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.45
user 3.23
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/812098/ft2_4FGL_J1450.4+0910_daily_bin785.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/812098/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin785.fits evtable="EVENTS" outfile="/scratch/kocevski/812098/ft1_filtered_4FGL_J1450.4+0910_daily_bin785.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/812098/ft1_filtered_4FGL_J1450.4+0910_daily_bin785.fits" evtable="EVENTS" scfile=/scratch/kocevski/812098/ft2_4FGL_J1450.4+0910_daily_bin785.fits sctable="SC_DATA" outfile=/scratch/kocevski/812098/ltcube_442800001_443059201_4FGL_J1450.4+0910_daily_bin785.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/812098/ft2_4FGL_J1450.4+0910_daily_bin785.fits
.....................!
real 11.55
user 11.21
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/812098/ft1_filtered_4FGL_J1450.4+0910_daily_bin785.fits evtable="EVENTS" scfile=/scratch/kocevski/812098/ft2_4FGL_J1450.4+0910_daily_bin785.fits sctable="SC_DATA" expcube=/scratch/kocevski/812098/ltcube_442800001_443059201_4FGL_J1450.4+0910_daily_bin785.fits outfile=/scratch/kocevski/812098/expmap_442800001_443059201_4FGL_J1450.4+0910_daily_bin785.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/812098/ltcube_442800001_443059201_4FGL_J1450.4+0910_daily_bin785.fits
.....................!
real 191.16
user 186.15
sys 4.65

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/812098/ft1_filtered_4FGL_J1450.4+0910_daily_bin785.fits scfile=/scratch/kocevski/812098/ft2_4FGL_J1450.4+0910_daily_bin785.fits outfile=/scratch/kocevski/812098/cmap_442800001_443059201_4FGL_J1450.4+0910_daily_bin785.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/812098/ft1_filtered_4FGL_J1450.4+0910_daily_bin785.fits scfile=/scratch/kocevski/812098/ft2_4FGL_J1450.4+0910_daily_bin785.fits outfile=/scratch/kocevski/812098/cmap_HighResolution_442800001_443059201_4FGL_J1450.4+0910_daily_bin785.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.62
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94385E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10095E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .37050E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.8893       1.0000         .10000E-03   10000.    
     6 'norm      '    10.188       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10377E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.081       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.560       1.0000         .10000E-03   10000.    
    14 'Prefactor '    44.303       1.0000         .10000E-03   10000.    
    15 'norm      '    .19091       1.0000         .10000E-03   10000.    
    16 'norm      '    2.8941       1.0000         .10000E-03   10000.    
    17 'norm      '    3.1898       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    7.2852       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10183E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .47961E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .91966       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0558       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=   7007.621     FROM MIGRAD    STATUS=CONVERGED    930 CALLS     3364 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10185E-03    17.574        .10723    ** at limit **
   2  Prefactor     .10000E-03    9.0165        .18142E-02** at limit **
   3  norm          .10000E-03    5.5378        .18142E-02** at limit **
   4  Prefactor     .10003E-03    48.560        .38892E-02** at limit **
   5  Prefactor     6.8858        6.8325        .76427E-03    .86095E-03
   6  norm          10.189        4.0512        .50902E-03    .42167E-03
   7  Prefactor     .10000E-03    47.474        .18142E-02** at limit **
   8  Prefactor     .10000E-03    7.1982        .18142E-02** at limit **
   9  norm          .10000E-03    4.5148        .17368E-02** at limit **
  10  Prefactor     .10000E-03    28.817        .18142E-02** at limit **
  11  Prefactor     15.081        21.564        .10314E-03   -.47839E-04
  12  Prefactor     .10000E-03    6.8753        .18142E-02** at limit **
  13  Prefactor     21.563        28.889        .86263E-04   -.23591E-04
  14  Prefactor     44.305        39.458        .60233E-04   -.62550E-04
  15  norm          .19087        .15321        .29139E-03    .13482E-02
  16  norm          2.8938        2.3976        .11071E-03    .81636E-04
  17  norm          3.1897        5.1865        .22688E-03    .65392E-04
  18  norm          .10000E-03    15.049        .18142E-02** at limit **
  19  norm          7.2854        4.4083        .13006E-03   -.67306E-05
  20  Prefactor     .10000E-03    10.884        .18142E-02** at limit **
  21  Prefactor     .10002E-03    242.96        .78001E-02** at limit **
  22  Normalizat    .91963        .25621        .31764E-03   -.12763E-03
  23  Prefactor     1.0559        .15722        .18928E-03   -.63562E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101847
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100026
  Prefactor  = 6.88582
  norm       = 10.1886
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 15.0807
  Prefactor  = 0.000100001
  Prefactor  = 21.5626
  Prefactor  = 44.305
  norm       = 0.190868
  norm       = 2.89384
  norm       = 3.18966
  norm       = 0.0001
  norm       = 7.28544
  Prefactor  = 0.0001
  Prefactor  = 0.000100022
  Normalizat = 0.919629
  Prefactor  = 1.0559
 **********
 **   18 **HESSE 
 **********

 FCN=   7007.621     FROM HESSE     STATUS=OK           358 CALLS     3722 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10185E-03    17.171        .10930       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.0170        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    5.5378        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10003E-03    50.170        .15557E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.8858        6.8173        .30571E-04   -1.5183    
   6  norm          10.189        4.0507        .20361E-04   -1.5069    
   7  Prefactor     .10000E-03    47.476        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.1982        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.5148        .34735E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    28.824        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.081        21.563        .41255E-05   -1.4931    
  12  Prefactor     .10000E-03    6.8763        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.563        28.890        .34505E-05   -1.4779    
  14  Prefactor     44.305        39.457        .12047E-04   -1.4376    
  15  norm          .19087        .15315        .11655E-04   -1.5621    
  16  norm          2.8938        2.3973        .44285E-05   -1.5368    
  17  norm          3.1897        5.1864        .90752E-05   -1.5351    
  18  norm          .10000E-03    15.050        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.2854        4.4082        .52024E-05   -1.5168    
  20  Prefactor     .10000E-03    10.885        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10002E-03    253.90        .31200E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .91963        .25634        .12706E-04   -.95774    
  23  Prefactor     1.0559        .15738        .37857E-04   -.90889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08428e-09
Minuit parameter uncertainties:
  1  0.011268
  2  3.21928e-05
  3  6.1866e-06
  4  0.00230658
  5  6.81806
  6  4.05084
  7  7.54634e-05
  8  1.30778e-05
  9  7.67947e-06
  10  0.000523504
  11  21.574
  12  0.000120753
  13  28.9083
  14  39.4805
  15  0.153152
  16  2.3974
  17  5.18717
  18  9.26814e-06
  19  4.40839
  20  1.0925e-05
  21  0.00472818
  22  0.256679
  23  0.157447
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.508e+01  2.157e+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.056e+00  1.574e-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.196e-01  2.567e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.59
Ra Dec: 222.624 9.182
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/812098/likelihoodResults_442800001_443059201_4FGL_J1450.4+0910_daily_bin785.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) = 7007.34614826
delta logL = 0.274896785017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7007.32691899
delta logL = 0.294126055843

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8263       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2479       1.0000          .0000       10.000    
     3 'Normalizat'    .88779       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0697       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.

 FCN=   7007.327     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      255 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7927        165.14        .41596E-02    .34487E-03
   2  Index         3.2501        3.8274        .12816        .17435E-03
   3  Normalizat    .88811        .65944E-01    .72905E-01   -.12750E-03
   4  Prefactor     1.0696        .40888E-01    .38871E-01   -.20174E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.7927
  Index      = 3.25008
  Normalizat = 0.888105
  Prefactor  = 1.06956
 **********
 **   18 **HESSE 
 **********

 FCN=   7007.327     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      286 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7927        299.04        .16638E-03   -1.5227    
   2  Index         3.2501        6.4429        .72707E-02   -.35755    
   3  Normalizat    .88811        .25148        .32261E-03   -.96879    
   4  Prefactor     1.0696        .16363        .18819E-03   -.90445    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.51017e-09
Minuit parameter uncertainties:
  1  83.6858
  2  7.48173
  3  0.25181
  4  0.163706
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/812098': 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) = 7007.32691524
delta logL = 0.294129801679

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  5.793e+00  8.369e+01  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  3.250e+00  7.482e+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.070e+00  1.637e-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:  8.881e-01  2.518e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 222.624 9.182
Photon Index (Free Index): 3.25 +/- 7.48
Photon Flux (Free Index): 4.87e-08 +/- 5.34e-08
Energy Flux (Free Index): 8.76e-06 +/- 2.79e-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/812098/cmap_HighResolution_442800001_443059201_4FGL_J1450.4+0910_daily_bin785.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.88e-03', comment='SUCCESS', energy_flux2='8.76e-06', dlogl='2.94e-01', photon_flux2='4.87e-08', job_status='DONE', time_completed='2021-09-10 11:11:39.123649', photon_index_error2='7.48', photon_index2='3.25', ts='0.59', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='2.79e-05', EG='0.92', time_epoch_completed='1631297499.12', return_code='0', job_id='812098', GAL2='1.07', EG2='0.89', return_code2='102', photon_flux_error2='5.34e-08', ts2='1.22', photon_index='2.39' WHERE bin_id='785' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:11:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0299>
Subject: Job 812098: <4FGL_J1450.4+0910_daily_bin785> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin785> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 10:56:30 2021
Job was executed on host(s) <bullet0299>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:56:31 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:56:31 2021
Terminated at Fri Sep 10 11:11:39 2021
Results reported at Fri Sep 10 11:11:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin785 222.624 9.1818 442800001 443059201 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 :                                   677.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             265.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   908 sec.
    Turnaround time :                            909 sec.

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

