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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin620
RA = 222.624, Dec = 9.1818
tmin = 400032001, tmax = 400291201
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='810511', job_status='RUN', time_executed='2021-09-10 10:55:38.233714', time_epoch_executed='1631296538.23' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='620'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/810511

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/810511/ft1_4FGL_J1450.4+0910_daily_bin620.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/810511/ft2_4FGL_J1450.4+0910_daily_bin620.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/810511/ft1_4FGL_J1450.4+0910_daily_bin620.fits outfile=/scratch/kocevski/810511/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin620.fits ra=222.624 dec=9.1818 rad=12.0 tmin=400032001.0 tmax=400291201.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.42
user 4.10
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/810511/ft1_filtered_4FGL_J1450.4+0910_daily_bin620.fits evtable="EVENTS" scfile=/scratch/kocevski/810511/ft2_4FGL_J1450.4+0910_daily_bin620.fits sctable="SC_DATA" expcube=/scratch/kocevski/810511/ltcube_400032001_400291201_4FGL_J1450.4+0910_daily_bin620.fits outfile=/scratch/kocevski/810511/expmap_400032001_400291201_4FGL_J1450.4+0910_daily_bin620.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/810511/ltcube_400032001_400291201_4FGL_J1450.4+0910_daily_bin620.fits
.....................!
real 190.86
user 185.27
sys 5.22

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/810511/ft1_filtered_4FGL_J1450.4+0910_daily_bin620.fits scfile=/scratch/kocevski/810511/ft2_4FGL_J1450.4+0910_daily_bin620.fits outfile=/scratch/kocevski/810511/cmap_400032001_400291201_4FGL_J1450.4+0910_daily_bin620.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.55
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/810511/ft1_filtered_4FGL_J1450.4+0910_daily_bin620.fits scfile=/scratch/kocevski/810511/ft2_4FGL_J1450.4+0910_daily_bin620.fits outfile=/scratch/kocevski/810511/cmap_HighResolution_400032001_400291201_4FGL_J1450.4+0910_daily_bin620.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.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    43.877       1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.342       1.0000         .10000E-03   10000.    
     3 'norm      '    .11397E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.4713       1.0000         .10000E-03   10000.    
     6 'norm      '    22.579       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.909       1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    59.435       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .85866       1.0000         .10000E-03   10000.    
    13 'Prefactor '    41.579       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .12606       1.0000         .10000E-03   10000.    
    16 'norm      '    1.2501       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    6.1394       1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.477       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2856       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .82401       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=   6258.981     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2552 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     43.875        35.586        .79027E-08    .32243E-04
   2  Prefactor     18.352        26.538       -.17441E-05   -.37561E-05
   3  norm          .10000E-03    100.46        .60671E-05** at limit **
   4  Prefactor     .10000E-03    5.9712        .22254E-06** at limit **
   5  Prefactor     6.4724        6.6128       -.26731E-05   -.10870E-03
   6  norm          22.579        5.2697        .62197E-06    .22053E-03
   7  Prefactor     .10000E-03    221.31       -.14870E-04** at limit **
   8  Prefactor     13.911        24.613       -.87428E-06   -.13792E-03
   9  norm          .10000E-03    8.0696       -.56680E-06** at limit **
  10  Prefactor     .10000E-03    7.5089        .15443E-06** at limit **
  11  Prefactor     59.440        31.844        .25794E-07    .18196E-03
  12  Prefactor     .81898        12.250       -.59863E-05    .77017E-03
  13  Prefactor     41.573        27.570       -.31809E-06    .36079E-03
  14  Prefactor     .10000E-03    17.049        .13606E-04** at limit **
  15  norm          .12599        .13090       -.36040E-07   -.10644E-02
  16  norm          1.2499        2.0225       -.43686E-06   -.74986E-03
  17  norm          .10000E-03    2.3869        .73046E-07** at limit **
  18  norm          .10000E-03    14.212        .47299E-05** at limit **
  19  norm          6.1393        4.0337       -.27379E-07    .34601E-04
  20  Prefactor     16.477        26.115        .26581E-06    .22774E-05
  21  Prefactor     .10000E-03    15.758       -.15937E-04** at limit **
  22  Normalizat    1.2854        .23416        .23196E-05    .32726E-03
  23  Prefactor     .82416        .13393       -.43491E-06    .50331E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 43.875
  Prefactor  = 18.3519
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.47244
  norm       = 22.5789
  Prefactor  = 0.0001
  Prefactor  = 13.9106
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 59.4401
  Prefactor  = 0.81898
  Prefactor  = 41.5732
  Prefactor  = 0.0001
  norm       = 0.125991
  norm       = 1.24991
  norm       = 0.0001
  norm       = 0.0001
  norm       = 6.13933
  Prefactor  = 16.4766
  Prefactor  = 0.0001
  Normalizat = 1.28539
  Prefactor  = 0.824158
 **********
 **   18 **HESSE 
 **********

 FCN=   6258.981     FROM HESSE     STATUS=OK           368 CALLS     2920 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     43.875        35.717        .60524E-04   -1.4382    
   2  Prefactor     18.352        26.663        .93517E-04   -1.4851    
   3  norm          .10000E-03    103.03        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.0285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.4724        6.6666        .15777E-03   -1.5199    
   6  norm          22.579        5.2742        .84296E-04   -1.4757    
   7  Prefactor     .10000E-03    223.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.911        24.664        .53699E-03   -1.4962    
   9  norm          .10000E-03    8.0755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.5139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     59.440        32.007        .52041E-04   -1.4164    
  12  Prefactor     .81898        50.431        .49037E-02   -1.5527    
  13  Prefactor     41.573        27.457        .62167E-04   -1.4418    
  14  Prefactor     .10000E-03    17.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .12599        .12181        .27996E-03   -1.5637    
  16  norm          1.2499        1.9905        .13638E-03   -1.5484    
  17  norm          .10000E-03    2.3900        .11937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    14.213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.1393        4.0287        .12409E-03   -1.5212    
  20  Prefactor     16.477        26.120        .98668E-04   -1.4896    
  21  Prefactor     .10000E-03    15.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2854        .28378        .29040E-03   -.84003    
  23  Prefactor     .82416        .16191        .21385E-03   -.98844    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3113e-08
Minuit parameter uncertainties:
  1  35.7346
  2  26.6805
  3  0.000136163
  4  4.71273e-05
  5  6.66734
  6  5.27429
  7  0.000102224
  8  24.6822
  9  4.0993e-07
  10  5.97044e-06
  11  32.0162
  12  12.8639
  13  27.4655
  14  2.2688e-05
  15  0.121806
  16  1.99061
  17  5.30268e-07
  18  2.38819e-07
  19  4.0289
  20  26.1377
  21  4.22348e-06
  22  0.284129
  23  0.161999
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  5.944e+01  3.202e+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:  8.242e-01  1.620e-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:  1.285e+00  2.841e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.59
Ra Dec: 222.624 9.182
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 1.10e-07 +/- 5.95e-08
Energy Flux (Fixed Index): 3.65e-05 +/- 1.97e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6256.33381986
delta logL = 2.64693664722

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6256.3178737
delta logL = 2.66288280549

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.475       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6818       1.0000          .0000       10.000    
     3 'Normalizat'    1.1469       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88136       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6256.318     FROM MIGRAD    STATUS=FAILED       101 CALLS      305 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.454        35.555        .47498E-03   -.11812E-03
   2  Index         3.6828        1.6003        .28917E-02    .66773E-03
   3  Normalizat    1.1470        .27502        .30402E-03    .21315E-04
   4  Prefactor     .88135        .16432        .20734E-03    .39698E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6256.318     FROM SIMPLEX   STATUS=UNCHANGED     78 CALLS      383 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.454        35.555        .17218E-03   -1.5031    
   2  Index         3.6828        1.6003        .60835E-03   -.26659    
   3  Normalizat    1.1470        .27502        .30915E-03   -.88258    
   4  Prefactor     .88135        .16432        .10365E-03   -.96796    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6256.318     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      423 TOTAL
                     EDM=   .70E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.454        15.264        .18999E-04    .17951E-05
   2  Index         3.6828        .69640        .57833E-03   -.12778E-05
   3  Normalizat    1.1470        .27384        .12161E-04    .74790E-07
   4  Prefactor     .88135        .16290        .82935E-05    .54832E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4543
  Index      = 3.6828
  Normalizat = 1.14697
  Prefactor  = 0.881352
 **********
 **   18 **HESSE 
 **********

 FCN=   6256.318     FROM HESSE     STATUS=OK            23 CALLS      446 TOTAL
                     EDM=   .18E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.454        14.309        .75997E-06   -1.5031    
   2  Index         3.6828        .65296        .23133E-04   -.26659    
   3  Normalizat    1.1470        .27381        .12161E-04   -.88258    
   4  Prefactor     .88135        .16286        .82935E-05   -.96796    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79787e-13
Minuit parameter uncertainties:
  1  14.3136
  2  0.654972
  3  0.274154
  4  0.162945
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/810511': 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) = 6256.31787252
delta logL = 2.66288399218

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.145e+01  1.431e+01  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  3.683e+00  6.550e-01  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:  8.814e-01  1.629e-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:  1.147e+00  2.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.48
Ra Dec: 222.624 9.182
Photon Index (Free Index): 3.68 +/- 0.65
Photon Flux (Free Index): 2.21e-07 +/- 8.66e-08
Energy Flux (Free Index): 3.52e-05 +/- 1.36e-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/810511/cmap_HighResolution_400032001_400291201_4FGL_J1450.4+0910_daily_bin620.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.10e-07', energy_flux2='3.52e-05', photon_flux_error='5.95e-08', dlogl='2.66e+00', energy_flux='3.65e-05', photon_flux2='2.21e-07', job_status='DONE', time_completed='2021-09-10 11:04:47.206494', photon_index_error2='0.65', photon_index2='3.68', ts='5.59', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='1.36e-05', EG='1.29', time_epoch_completed='1631297087.21', return_code='0', job_id='810511', GAL2='0.88', EG2='1.15', return_code2='0', energy_flux_error='1.97e-05', photon_flux_error2='8.66e-08', ts2='11.48', photon_index='2.39' WHERE bin_id='620' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:04:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 810511: <4FGL_J1450.4+0910_daily_bin620> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin620> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 10:52:08 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:52:09 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:09 2021
Terminated at Fri Sep 10 11:04:48 2021
Results reported at Fri Sep 10 11:04:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin620 222.624 9.1818 400032001 400291201 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 :                                   548.47 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             229.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            760 sec.

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

