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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin598
RA = 222.624, Dec = 9.1818
tmin = 394329601, tmax = 394588801
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='810476', job_status='RUN', time_executed='2021-09-10 10:54:39.359019', time_epoch_executed='1631296479.36' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='598'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/810476

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

Retrieving the FT1 file...

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

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

Retrieving 53 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/810476/ft1_4FGL_J1450.4+0910_daily_bin598.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/810476/ft2_4FGL_J1450.4+0910_daily_bin598.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/810476/ft1_4FGL_J1450.4+0910_daily_bin598.fits outfile=/scratch/kocevski/810476/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin598.fits ra=222.624 dec=9.1818 rad=12.0 tmin=394329601.0 tmax=394588801.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 7.38
user 7.09
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/810476/ft2_4FGL_J1450.4+0910_daily_bin598.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/810476/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin598.fits evtable="EVENTS" outfile="/scratch/kocevski/810476/ft1_filtered_4FGL_J1450.4+0910_daily_bin598.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.52
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/810476/ft1_filtered_4FGL_J1450.4+0910_daily_bin598.fits" evtable="EVENTS" scfile=/scratch/kocevski/810476/ft2_4FGL_J1450.4+0910_daily_bin598.fits sctable="SC_DATA" outfile=/scratch/kocevski/810476/ltcube_394329601_394588801_4FGL_J1450.4+0910_daily_bin598.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/810476/ft2_4FGL_J1450.4+0910_daily_bin598.fits
.....................!
real 11.28
user 10.95
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/810476/ft1_filtered_4FGL_J1450.4+0910_daily_bin598.fits evtable="EVENTS" scfile=/scratch/kocevski/810476/ft2_4FGL_J1450.4+0910_daily_bin598.fits sctable="SC_DATA" expcube=/scratch/kocevski/810476/ltcube_394329601_394588801_4FGL_J1450.4+0910_daily_bin598.fits outfile=/scratch/kocevski/810476/expmap_394329601_394588801_4FGL_J1450.4+0910_daily_bin598.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/810476/ltcube_394329601_394588801_4FGL_J1450.4+0910_daily_bin598.fits
.....................!
real 191.82
user 186.68
sys 4.79

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/810476/ft1_filtered_4FGL_J1450.4+0910_daily_bin598.fits scfile=/scratch/kocevski/810476/ft2_4FGL_J1450.4+0910_daily_bin598.fits outfile=/scratch/kocevski/810476/cmap_394329601_394588801_4FGL_J1450.4+0910_daily_bin598.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.52
user 0.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    43.394       1.0000         .10000E-03   10000.    
     2 'Prefactor '    21.971       1.0000         .10000E-03   10000.    
     3 'norm      '    12.942       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.3220       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10259E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.7417       1.0000         .10000E-03   10000.    
     7 'Prefactor '    27.679       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.7775       1.0000         .10000E-03   10000.    
     9 'norm      '    .10055E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    30.226       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10273E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .23104       1.0000         .10000E-03   10000.    
    16 'norm      '    .40563       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    18.492       1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.836       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .65152       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1069       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=   6670.147     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2628 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     43.391        26.193       -.20661E-05    .30149E-04
   2  Prefactor     21.971        22.654        .46057E-06    .24860E-04
   3  norm          12.934        20.459       -.30342E-05    .71480E-06
   4  Prefactor     7.3209        6.6953       -.20802E-06    .13432E-03
   5  Prefactor     .10000E-03    10.546       -.32798E-05** at limit **
   6  norm          1.7402        3.7129       -.17519E-05   -.10309E-02
   7  Prefactor     27.653        72.625       -.44198E-04    .30653E-04
   8  Prefactor     5.7775        15.158        .37347E-07    .67058E-06
   9  norm          .10000E-03    7.1875       -.75741E-06** at limit **
  10  Prefactor     .10000E-03    7.6296        .12898E-05** at limit **
  11  Prefactor     30.228        24.619       -.48420E-06    .74084E-04
  12  Prefactor     .10000E-03    15.338        .11438E-04** at limit **
  13  Prefactor     .10000E-03    38.417        .27210E-04** at limit **
  14  Prefactor     .10000E-03    53.311       -.24634E-04** at limit **
  15  norm          .23104        .17770       -.12101E-06   -.15515E-02
  16  norm          .40542        1.8008       -.20463E-05   -.36524E-03
  17  norm          .10000E-03    3.1201       -.31416E-07** at limit **
  18  norm          .10000E-03    19.983       -.16740E-04** at limit **
  19  norm          .10000E-03    1.9077       -.27328E-07** at limit **
  20  Prefactor     18.493        34.604       -.12987E-06    .80812E-04
  21  Prefactor     19.822        41.000       -.22872E-04    .73310E-05
  22  Normalizat    .65154        .22673        .80815E-05    .25948E-03
  23  Prefactor     1.1070        .13134        .98464E-06    .58837E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 43.3911
  Prefactor  = 21.9709
  norm       = 12.9344
  Prefactor  = 7.32088
  Prefactor  = 0.0001
  norm       = 1.74018
  Prefactor  = 27.653
  Prefactor  = 5.77747
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.2277
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.231039
  norm       = 0.405424
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 18.4928
  Prefactor  = 19.8218
  Normalizat = 0.651542
  Prefactor  = 1.10698
 **********
 **   18 **HESSE 
 **********

 FCN=   6670.147     FROM HESSE     STATUS=OK           374 CALLS     3002 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     43.391        26.200        .60858E-04   -1.4390    
   2  Prefactor     21.971        22.653        .85454E-04   -1.4770    
   3  norm          12.934        20.450        .11135E-03   -1.4989    
   4  Prefactor     7.3209        6.6738        .14823E-03   -1.5167    
   5  Prefactor     .10000E-03    10.915        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.7402        3.7265        .22027E-03   -1.5444    
   7  Prefactor     27.653        72.718        .76148E-04   -1.4656    
   8  Prefactor     5.7775        15.126        .16710E-03   -1.5227    
   9  norm          .10000E-03    7.1962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.6340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     30.228        24.596        .72876E-04   -1.4608    
  12  Prefactor     .10000E-03    15.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    38.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    53.612        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .23104        .17137        .28080E-03   -1.5612    
  16  norm          .40542        3.3537        .19505E-02   -1.5581    
  17  norm          .10000E-03    3.1306        .14087E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    19.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.9230        .11001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     18.493        34.545        .93138E-04   -1.4848    
  21  Prefactor     19.822        41.107        .89930E-04   -1.4817    
  22  Normalizat    .65154        .26078        .35378E-03   -1.0584    
  23  Prefactor     1.1070        .15564        .17312E-03   -.89244    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52741e-09
Minuit parameter uncertainties:
  1  26.2072
  2  22.6615
  3  20.4607
  4  6.67451
  5  8.01703e-05
  6  3.72699
  7  72.9525
  8  15.1357
  9  6.31887e-06
  10  2.37109e-05
  11  24.6038
  12  0.000178552
  13  0.000545492
  14  0.000219705
  15  0.171367
  16  2.33198
  17  4.32287e-06
  18  7.6696e-06
  19  2.05449e-06
  20  34.5823
  21  41.1654
  22  0.261278
  23  0.155699
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  3.023e+01  2.460e+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.107e+00  1.557e-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:  6.515e-01  2.613e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.11
Ra Dec: 222.624 9.182
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 5.62e-08 +/- 4.57e-08
Energy Flux (Fixed Index): 1.86e-05 +/- 1.51e-05

TS (Fixed Index): 2.11
Ra Dec: 222.624 9.182
Photon Flux Upper Limit: 1.48e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.14e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/810476/likelihoodResults_394329601_394588801_4FGL_J1450.4+0910_daily_bin598.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) = 6670.02876853
delta logL = 0.118122703008

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6670.01365511
delta logL = 0.133236130117

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.426       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9351       1.0000          .0000       10.000    
     3 'Normalizat'    .61712       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1230       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=   6670.014     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      311 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.436        62.590        .98821E-04    .36733E-03
   2  Index         2.9351        2.2628        .62351E-02    .13480E-03
   3  Normalizat    .61560        .27210        .36334E-03   -.41622E-03
   4  Prefactor     1.1240        .16618        .17198E-03   -.39711E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.4357
  Index      = 2.93512
  Normalizat = 0.615602
  Prefactor  = 1.124
 **********
 **   18 **HESSE 
 **********

 FCN=   6670.014     FROM HESSE     STATUS=OK            25 CALLS      336 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.436        30.483        .39528E-05   -1.4897    
   2  Index         2.9351        1.1352        .24940E-03   -.42572    
   3  Normalizat    .61560        .25770        .14533E-04   -1.0733    
   4  Prefactor     1.1240        .15806        .34395E-04   -.88703    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15219e-09
Minuit parameter uncertainties:
  1  30.5115
  2  1.14734
  3  0.258202
  4  0.158129
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/810476': 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) = 6670.01363469
delta logL = 0.13325654229

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.644e+01  3.051e+01  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.935e+00  1.147e+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.124e+00  1.581e-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:  6.156e-01  2.582e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.45
Ra Dec: 222.624 9.182
Photon Index (Free Index): 2.94 +/- 1.15
Photon Flux (Free Index): 7.74e-08 +/- 6.45e-08
Energy Flux (Free Index): 1.60e-05 +/- 1.26e-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/810476/cmap_HighResolution_394329601_394588801_4FGL_J1450.4+0910_daily_bin598.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', comment='SUCCESS', photon_flux='5.62e-08', energy_flux2='1.60e-05', photon_flux_error='4.57e-08', dlogl='1.33e-01', energy_flux='1.86e-05', photon_flux2='7.74e-08', job_status='DONE', time_completed='2021-09-10 11:05:11.117590', photon_index_error2='1.15', photon_index2='2.94', ts='2.11', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.48e-07', energy_flux_error2='1.26e-05', EG='0.65', time_epoch_completed='1631297111.12', return_code='0', job_id='810476', GAL2='1.12', EG2='0.62', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='6.45e-08', ts2='2.45', photon_index='2.39' WHERE bin_id='598' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:05:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 810476: <4FGL_J1450.4+0910_daily_bin598> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin598> 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) <bullet0050>, 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:05:11 2021
Results reported at Fri Sep 10 11:05:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin598 222.624 9.1818 394329601 394588801 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 :                                   627.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             275.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   785 sec.
    Turnaround time :                            786 sec.

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

