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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin799
RA = 222.624, Dec = 9.1818
tmin = 446428801, tmax = 446688001
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='812117', job_status='RUN', time_executed='2021-09-10 10:58:31.422799', time_epoch_executed='1631296711.42' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='799'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/812117

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/812117/ft1_4FGL_J1450.4+0910_daily_bin799.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/812117/ft2_4FGL_J1450.4+0910_daily_bin799.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/812117/ft1_4FGL_J1450.4+0910_daily_bin799.fits outfile=/scratch/kocevski/812117/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin799.fits ra=222.624 dec=9.1818 rad=12.0 tmin=446428801.0 tmax=446688001.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.46
user 3.25
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/812117/ft2_4FGL_J1450.4+0910_daily_bin799.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/812117/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin799.fits evtable="EVENTS" outfile="/scratch/kocevski/812117/ft1_filtered_4FGL_J1450.4+0910_daily_bin799.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/812117/ft1_filtered_4FGL_J1450.4+0910_daily_bin799.fits" evtable="EVENTS" scfile=/scratch/kocevski/812117/ft2_4FGL_J1450.4+0910_daily_bin799.fits sctable="SC_DATA" outfile=/scratch/kocevski/812117/ltcube_446428801_446688001_4FGL_J1450.4+0910_daily_bin799.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/812117/ft2_4FGL_J1450.4+0910_daily_bin799.fits
.....................!
real 11.96
user 11.62
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/812117/ft1_filtered_4FGL_J1450.4+0910_daily_bin799.fits evtable="EVENTS" scfile=/scratch/kocevski/812117/ft2_4FGL_J1450.4+0910_daily_bin799.fits sctable="SC_DATA" expcube=/scratch/kocevski/812117/ltcube_446428801_446688001_4FGL_J1450.4+0910_daily_bin799.fits outfile=/scratch/kocevski/812117/expmap_446428801_446688001_4FGL_J1450.4+0910_daily_bin799.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/812117/ltcube_446428801_446688001_4FGL_J1450.4+0910_daily_bin799.fits
.....................!
real 191.05
user 184.94
sys 5.71

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/812117/ft1_filtered_4FGL_J1450.4+0910_daily_bin799.fits scfile=/scratch/kocevski/812117/ft2_4FGL_J1450.4+0910_daily_bin799.fits outfile=/scratch/kocevski/812117/cmap_446428801_446688001_4FGL_J1450.4+0910_daily_bin799.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/812117/ft1_filtered_4FGL_J1450.4+0910_daily_bin799.fits scfile=/scratch/kocevski/812117/ft2_4FGL_J1450.4+0910_daily_bin799.fits outfile=/scratch/kocevski/812117/cmap_HighResolution_446428801_446688001_4FGL_J1450.4+0910_daily_bin799.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.58
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6872       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.5830       1.0000         .10000E-03   10000.    
     3 'norm      '    20.474       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.6621       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    46.144       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.682       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11072E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .45571       1.0000         .10000E-03   10000.    
    16 'norm      '    1.6191       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    25.387       1.0000         .10000E-03   10000.    
    19 'norm      '    2.4606       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.5994       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1887       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .83638       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=   6294.882     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2503 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.6893        18.395        .49539E-06   -.45175E-04
   2  Prefactor     6.5879        25.553        .44769E-06   -.39582E-04
   3  norm          20.481        32.099        .52627E-05   -.15654E-04
   4  Prefactor     .10000E-03    2.7418        .61189E-06** at limit **
   5  Prefactor     .10000E-03    4.1463        .30169E-06** at limit **
   6  norm          2.6618        2.2208        .26861E-06   -.94206E-04
   7  Prefactor     .10000E-03    51.377        .34492E-05** at limit **
   8  Prefactor     .10000E-03    11.935        .26879E-07** at limit **
   9  norm          .10000E-03    5.0552        .20726E-06** at limit **
  10  Prefactor     .10000E-03    52.703        .10233E-05** at limit **
  11  Prefactor     46.158        27.530        .69167E-05   -.25923E-04
  12  Prefactor     15.660        17.691       -.57449E-06   -.72045E-04
  13  Prefactor     .10000E-03    45.711        .19329E-05** at limit **
  14  Prefactor     .10000E-03    18.157        .69553E-07** at limit **
  15  norm          .45575        .17208       -.43724E-08   -.91624E-03
  16  norm          1.6198        2.4123        .13114E-06   -.85781E-03
  17  norm          .10000E-03    1.9082        .45446E-06** at limit **
  18  norm          25.387        27.656        .21336E-07    .13198E-05
  19  norm          2.4604        3.1397        .24551E-06   -.35291E-03
  20  Prefactor     .10000E-03    44.066       -.32410E-05** at limit **
  21  Prefactor     3.6050        41.722        .62982E-05   -.34538E-04
  22  Normalizat    1.1881        .21952       -.24367E-05   -.57835E-04
  23  Prefactor     .83666        .12737       -.62707E-06   -.18935E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.68933
  Prefactor  = 6.58787
  norm       = 20.4812
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.66177
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.1576
  Prefactor  = 15.6602
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.455752
  norm       = 1.61978
  norm       = 0.0001
  norm       = 25.3871
  norm       = 2.46042
  Prefactor  = 0.0001
  Prefactor  = 3.60497
  Normalizat = 1.18808
  Prefactor  = 0.836657
 **********
 **   18 **HESSE 
 **********

 FCN=   6294.882     FROM HESSE     STATUS=OK           370 CALLS     2873 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.6893        18.401        .16844E-03   -1.5231    
   2  Prefactor     6.5879        25.576        .15641E-03   -1.5195    
   3  norm          20.481        31.990        .88518E-04   -1.4803    
   4  Prefactor     .10000E-03    2.7553        .12833E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.2036        .15773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.6618        2.2163        .10489E-03   -1.5382    
   7  Prefactor     .10000E-03    51.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    5.0585        .17421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    53.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     46.158        27.482        .59025E-04   -1.4348    
  12  Prefactor     15.660        17.814        .10114E-03   -1.4916    
  13  Prefactor     .10000E-03    46.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    18.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .45575        .17122        .19307E-04   -1.5573    
  16  norm          1.6198        2.3889        .13856E-03   -1.5453    
  17  norm          .10000E-03    1.9095        .10704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          25.387        27.657        .79504E-04   -1.4700    
  19  norm          2.4604        3.1139        .15142E-03   -1.5394    
  20  Prefactor     .10000E-03    44.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.6050        41.254        .21298E-03   -1.5328    
  22  Normalizat    1.1881        .27069        .27319E-03   -.86972    
  23  Prefactor     .83666        .15806        .19791E-03   -.98391    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.17314e-10
Minuit parameter uncertainties:
  1  18.4193
  2  25.6188
  3  32.0171
  4  5.29892e-06
  5  1.67741e-05
  6  2.2164
  7  2.74649e-05
  8  1.13128e-05
  9  7.48384e-06
  10  0.000249664
  11  27.4897
  12  17.8205
  13  0.00018697
  14  1.80251e-05
  15  0.171218
  16  2.38899
  17  1.10774e-07
  18  27.671
  19  3.11407
  20  8.39664e-05
  21  24.411
  22  0.271009
  23  0.158151
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  4.616e+01  2.749e+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.367e-01  1.582e-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.188e+00  2.710e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.01
Ra Dec: 222.624 9.182
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 8.58e-08 +/- 5.10e-08
Energy Flux (Fixed Index): 2.83e-05 +/- 1.69e-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) = 6293.98802122
delta logL = 0.894253943038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6293.97825386
delta logL = 0.904021296174

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.251       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2400       1.0000          .0000       10.000    
     3 'Normalizat'    1.1251       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86681       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=   6293.978     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      286 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.246        32.130        .10256E-03   -.69925E-03
   2  Index         3.2408        1.1202        .38485E-02   -.17415E-03
   3  Normalizat    1.1252        .25885        .27934E-03   -.14314E-03
   4  Prefactor     .86673        .15899        .19474E-03   -.25610E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.2462
  Index      = 3.24075
  Normalizat = 1.12521
  Prefactor  = 0.866731
 **********
 **   18 **HESSE 
 **********

 FCN=   6293.978     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.246        21.162        .41023E-05   -1.4927    
   2  Index         3.2408        .74086        .15394E-03   -.35955    
   3  Normalizat    1.1252        .25834        .11174E-04   -.88946    
   4  Prefactor     .86673        .15834        .38949E-04   -.97314    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18155e-10
Minuit parameter uncertainties:
  1  21.1725
  2  0.743992
  3  0.25863
  4  0.158427
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/812117': 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) = 6293.97825133
delta logL = 0.90402382781

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.525e+01  2.117e+01  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  3.241e+00  7.440e-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.667e-01  1.584e-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.125e+00  2.586e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.01
Ra Dec: 222.624 9.182
Photon Index (Free Index): 3.24 +/- 0.74
Photon Flux (Free Index): 1.26e-07 +/- 6.46e-08
Energy Flux (Free Index): 2.27e-05 +/- 1.20e-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/812117/cmap_HighResolution_446428801_446688001_4FGL_J1450.4+0910_daily_bin799.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.58e-08', energy_flux2='2.27e-05', photon_flux_error='5.10e-08', dlogl='9.04e-01', energy_flux='2.83e-05', photon_flux2='1.26e-07', job_status='DONE', time_completed='2021-09-10 11:07:35.537039', photon_index_error2='0.74', photon_index2='3.24', ts='4.01', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='1.20e-05', EG='1.19', time_epoch_completed='1631297255.54', return_code='0', job_id='812117', GAL2='0.87', EG2='1.13', return_code2='0', energy_flux_error='1.69e-05', photon_flux_error2='6.46e-08', ts2='6.01', photon_index='2.39' WHERE bin_id='799' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:07:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 812117: <4FGL_J1450.4+0910_daily_bin799> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin799 222.624 9.1818 446428801 446688001 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 :                                   544.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   663 sec.
    Turnaround time :                            665 sec.

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

