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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin644
RA = 222.624, Dec = 9.1818
tmin = 406252801, tmax = 406512001
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='811898', job_status='RUN', time_executed='2021-09-10 10:59:40.630639', time_epoch_executed='1631296780.63' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='644'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/811898

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/811898/ft1_4FGL_J1450.4+0910_daily_bin644.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/811898/ft2_4FGL_J1450.4+0910_daily_bin644.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/811898/ft1_4FGL_J1450.4+0910_daily_bin644.fits outfile=/scratch/kocevski/811898/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin644.fits ra=222.624 dec=9.1818 rad=12.0 tmin=406252801.0 tmax=406512001.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.85
user 3.59
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/811898/ft1_filtered_4FGL_J1450.4+0910_daily_bin644.fits" evtable="EVENTS" scfile=/scratch/kocevski/811898/ft2_4FGL_J1450.4+0910_daily_bin644.fits sctable="SC_DATA" outfile=/scratch/kocevski/811898/ltcube_406252801_406512001_4FGL_J1450.4+0910_daily_bin644.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/811898/ft2_4FGL_J1450.4+0910_daily_bin644.fits
.....................!
real 11.90
user 11.50
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/811898/ft1_filtered_4FGL_J1450.4+0910_daily_bin644.fits evtable="EVENTS" scfile=/scratch/kocevski/811898/ft2_4FGL_J1450.4+0910_daily_bin644.fits sctable="SC_DATA" expcube=/scratch/kocevski/811898/ltcube_406252801_406512001_4FGL_J1450.4+0910_daily_bin644.fits outfile=/scratch/kocevski/811898/expmap_406252801_406512001_4FGL_J1450.4+0910_daily_bin644.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/811898/ltcube_406252801_406512001_4FGL_J1450.4+0910_daily_bin644.fits
.....................!
real 191.17
user 186.85
sys 3.92

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/811898/ft1_filtered_4FGL_J1450.4+0910_daily_bin644.fits scfile=/scratch/kocevski/811898/ft2_4FGL_J1450.4+0910_daily_bin644.fits outfile=/scratch/kocevski/811898/cmap_406252801_406512001_4FGL_J1450.4+0910_daily_bin644.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.39
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/811898/ft1_filtered_4FGL_J1450.4+0910_daily_bin644.fits scfile=/scratch/kocevski/811898/ft2_4FGL_J1450.4+0910_daily_bin644.fits outfile=/scratch/kocevski/811898/cmap_HighResolution_406252801_406512001_4FGL_J1450.4+0910_daily_bin644.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    21.143       1.0000         .10000E-03   10000.    
     3 'norm      '    12.356       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10367E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.7969       1.0000         .10000E-03   10000.    
     7 'Prefactor '    79.742       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.569       1.0000         .10000E-03   10000.    
    11 'Prefactor '    32.546       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.719       1.0000         .10000E-03   10000.    
    15 'norm      '    .16762       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0997       1.0000         .10000E-03   10000.    
    17 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    21.111       1.0000         .10000E-03   10000.    
    19 'norm      '    .10231E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    20.419       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1793       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1431       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=   6673.612     FROM MIGRAD    STATUS=CONVERGED    502 CALLS     2670 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.5405       -.22085E-06** at limit **
   2  Prefactor     21.138        33.874        .49709E-06    .35959E-04
   3  norm          12.357        27.156       -.38090E-06    .85757E-05
   4  Prefactor     .10000E-03    2.7834       -.68417E-07** at limit **
   5  Prefactor     .10000E-03    27.530       -.93349E-05** at limit **
   6  norm          4.7970        2.9796       -.80103E-07    .77671E-04
   7  Prefactor     79.760        70.379       -.23540E-05   -.57863E-05
   8  Prefactor     .10000E-03    21.391       -.33615E-05** at limit **
   9  norm          .10000E-03    9.5840       -.36890E-06** at limit **
  10  Prefactor     10.568        24.272       -.62524E-06    .23247E-04
  11  Prefactor     32.545        28.290        .27523E-06    .75973E-04
  12  Prefactor     .10000E-03    6.4182        .24764E-06** at limit **
  13  Prefactor     .10000E-03    9.5601       -.36557E-06** at limit **
  14  Prefactor     21.721        40.392       -.47671E-06    .70207E-05
  15  norm          .16763        .17465       -.83224E-07   -.42299E-03
  16  norm          1.1001        2.3901       -.12999E-05    .11450E-03
  17  norm          .10000E-03    12.259        .86913E-06** at limit **
  18  norm          21.106        54.290        .79021E-06    .90713E-05
  19  norm          .10000E-03    2.3780        .54108E-06** at limit **
  20  Prefactor     20.427        47.424       -.12819E-05    .10505E-06
  21  Prefactor     .10000E-03    12.554        .62331E-06** at limit **
  22  Normalizat    1.1794        .24823        .30278E-06    .24725E-03
  23  Prefactor     1.1430        .15175        .51717E-06    .45100E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 21.1381
  norm       = 12.3566
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.79697
  Prefactor  = 79.7603
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.5684
  Prefactor  = 32.5447
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.7207
  norm       = 0.167628
  norm       = 1.10009
  norm       = 0.0001
  norm       = 21.1062
  norm       = 0.0001
  Prefactor  = 20.4272
  Prefactor  = 0.0001
  Normalizat = 1.17943
  Prefactor  = 1.143
 **********
 **   18 **HESSE 
 **********

 FCN=   6673.612     FROM HESSE     STATUS=OK           374 CALLS     3044 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.5442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     21.138        33.992        .87109E-04   -1.4788    
   3  norm          12.357        27.115        .11396E-03   -1.5005    
   4  Prefactor     .10000E-03    2.7897        .13307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    27.211        .35073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.7970        2.9731        .10753E-03   -1.5270    
   7  Prefactor     79.760        70.647        .44974E-04   -1.3919    
   8  Prefactor     .10000E-03    21.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    9.5961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.568        24.302        .12324E-03   -1.5058    
  11  Prefactor     32.545        28.312        .70238E-04   -1.4566    
  12  Prefactor     .10000E-03    6.4336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.5692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.721        40.386        .85947E-04   -1.4776    
  15  norm          .16763        .16565        .33128E-03   -1.5626    
  16  norm          1.1001        2.4094        .17865E-03   -1.5498    
  17  norm          .10000E-03    12.597        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          21.106        54.396        .87175E-04   -1.4789    
  19  norm          .10000E-03    4.8095        .24271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     20.427        47.550        .88637E-04   -1.4804    
  21  Prefactor     .10000E-03    12.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1794        .29381        .32190E-03   -.87241    
  23  Prefactor     1.1430        .17950        .20344E-03   -.88104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57386e-09
Minuit parameter uncertainties:
  1  6.57321e-06
  2  34.0233
  3  27.1422
  4  2.8223e-06
  5  0.00011922
  6  2.97318
  7  70.7218
  8  0.000110257
  9  1.63789e-06
  10  24.3248
  11  28.324
  12  5.51305e-06
  13  7.77628e-06
  14  40.4365
  15  0.165653
  16  2.40958
  17  1.83852e-05
  18  54.5244
  19  6.66637e-05
  20  47.6387
  21  1.09132e-05
  22  0.294222
  23  0.179593
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  3.254e+01  2.832e+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.143e+00  1.796e-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.179e+00  2.942e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.81
Ra Dec: 222.624 9.182
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 6.05e-08 +/- 5.26e-08
Energy Flux (Fixed Index): 2.00e-05 +/- 1.74e-05

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

Saving results to:
/scratch/kocevski/811898/likelihoodResults_406252801_406512001_4FGL_J1450.4+0910_daily_bin644.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) = 6673.26311198
delta logL = 0.349298264016

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6673.2335719
delta logL = 0.378838346013

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.422       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0099       1.0000          .0000       10.000    
     3 'Normalizat'    1.1362       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1605       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=   6673.234     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      278 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.413        30.188        .95956E-04   -.97508E-04
   2  Index         3.0102        .98192        .58555E-02    .56026E-03
   3  Normalizat    1.1362        .28798        .32707E-03   -.35037E-04
   4  Prefactor     1.1605        .17672        .20206E-03   -.86580E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.4126
  Index      = 3.01017
  Normalizat = 1.13624
  Prefactor  = 1.16049
 **********
 **   18 **HESSE 
 **********

 FCN=   6673.234     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.413        24.949        .38382E-05   -1.4873    
   2  Index         3.0102        .81220        .11711E-02   -.40930    
   3  Normalizat    1.1362        .28765        .13083E-04   -.88597    
   4  Prefactor     1.1605        .17648        .40412E-04   -.87556    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8297e-11
Minuit parameter uncertainties:
  1  24.9637
  2  0.816506
  3  0.288049
  4  0.176567
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/811898': 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) = 6673.23357182
delta logL = 0.378838427182

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.741e+01  2.496e+01  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  3.010e+00  8.165e-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:  1.160e+00  1.766e-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.136e+00  2.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.63
Ra Dec: 222.624 9.182
Photon Index (Free Index): 3.01 +/- 0.82
Photon Flux (Free Index): 9.39e-08 +/- 7.31e-08
Energy Flux (Free Index): 1.87e-05 +/- 1.40e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/811898/cmap_HighResolution_406252801_406512001_4FGL_J1450.4+0910_daily_bin644.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.31e-02', comment='SUCCESS', photon_flux='6.05e-08', energy_flux2='1.87e-05', photon_flux_error='5.26e-08', dlogl='3.79e-01', energy_flux='2.00e-05', photon_flux2='9.39e-08', job_status='DONE', time_completed='2021-09-10 11:10:04.127901', photon_index_error2='0.82', photon_index2='3.01', ts='1.81', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='1.70e-07', energy_flux_error2='1.40e-05', EG='1.18', time_epoch_completed='1631297404.13', return_code='0', job_id='811898', GAL2='1.16', EG2='1.14', return_code2='0', energy_flux_error='1.74e-05', photon_flux_error2='7.31e-08', ts2='2.63', photon_index='2.39' WHERE bin_id='644' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:10:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 811898: <4FGL_J1450.4+0910_daily_bin644> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin644 222.624 9.1818 406252801 406512001 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 :                                   622.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            828 sec.

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

