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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin789
RA = 222.624, Dec = 9.1818
tmin = 443836801, tmax = 444096001
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='812104', job_status='RUN', time_executed='2021-09-10 11:00:14.662582', time_epoch_executed='1631296814.66' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='789'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/812104

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/812104/ft1_4FGL_J1450.4+0910_daily_bin789.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/812104/ft2_4FGL_J1450.4+0910_daily_bin789.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/812104/ft1_4FGL_J1450.4+0910_daily_bin789.fits outfile=/scratch/kocevski/812104/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin789.fits ra=222.624 dec=9.1818 rad=12.0 tmin=443836801.0 tmax=444096001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.45
user 3.23
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/812104/ft1_filtered_4FGL_J1450.4+0910_daily_bin789.fits evtable="EVENTS" scfile=/scratch/kocevski/812104/ft2_4FGL_J1450.4+0910_daily_bin789.fits sctable="SC_DATA" expcube=/scratch/kocevski/812104/ltcube_443836801_444096001_4FGL_J1450.4+0910_daily_bin789.fits outfile=/scratch/kocevski/812104/expmap_443836801_444096001_4FGL_J1450.4+0910_daily_bin789.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/812104/ltcube_443836801_444096001_4FGL_J1450.4+0910_daily_bin789.fits
.....................!
real 190.15
user 185.01
sys 4.78

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/812104/ft1_filtered_4FGL_J1450.4+0910_daily_bin789.fits scfile=/scratch/kocevski/812104/ft2_4FGL_J1450.4+0910_daily_bin789.fits outfile=/scratch/kocevski/812104/cmap_443836801_444096001_4FGL_J1450.4+0910_daily_bin789.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.58
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/812104/ft1_filtered_4FGL_J1450.4+0910_daily_bin789.fits scfile=/scratch/kocevski/812104/ft2_4FGL_J1450.4+0910_daily_bin789.fits outfile=/scratch/kocevski/812104/cmap_HighResolution_443836801_444096001_4FGL_J1450.4+0910_daily_bin789.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.61
user 0.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.6718       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .14204E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    6.8156       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    22.575       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.1331       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    45.515       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .84168       1.0000         .10000E-03   10000.    
    16 'norm      '    1.9391       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      '    4.5589       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.7032       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .94921       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95399       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=   8388.965     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2207 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.338        .19105E-05** at limit **
   2  Prefactor     .10000E-03    23.856       -.14549E-05** at limit **
   3  norm          .10000E-03    14.733       -.14045E-05** at limit **
   4  Prefactor     3.6432        6.7059       -.10039E-06   -.32842E-03
   5  Prefactor     .10085        5.1660        .55165E-07    .17640E-04
   6  norm          6.8101        3.2994        .12732E-06   -.11153E-03
   7  Prefactor     .10000E-03    29.061        .60949E-06** at limit **
   8  Prefactor     .10000E-03    10.724        .47811E-06** at limit **
   9  norm          .10000E-03    6.9385        .32025E-07** at limit **
  10  Prefactor     22.562        19.861       -.20444E-05   -.29745E-03
  11  Prefactor     6.1448        19.613        .27667E-05    .89215E-04
  12  Prefactor     .10000E-03    7.8925        .16909E-07** at limit **
  13  Prefactor     45.517        26.909        .10581E-05    .74463E-04
  14  Prefactor     .10000E-03    11.399       -.56658E-06** at limit **
  15  norm          .84177        .19574       -.94029E-08   -.40289E-03
  16  norm          1.9400        1.8503       -.91364E-07   -.21489E-03
  17  norm          .10000E-03    2.8203        .48149E-07** at limit **
  18  norm          .10000E-03    11.168       -.91752E-07** at limit **
  19  norm          4.5588        3.1800        .14498E-05   -.10335E-02
  20  Prefactor     .10000E-03    10.300        .18902E-06** at limit **
  21  Prefactor     5.7118        21.850        .30198E-05    .74935E-04
  22  Normalizat    .94851        .18460        .13298E-06   -.75448E-04
  23  Prefactor     .95425        .11028       -.35944E-06   -.11446E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.64317
  Prefactor  = 0.100853
  norm       = 6.81012
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 22.5621
  Prefactor  = 6.14479
  Prefactor  = 0.0001
  Prefactor  = 45.5171
  Prefactor  = 0.0001
  norm       = 0.841769
  norm       = 1.94004
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.55879
  Prefactor  = 0.0001
  Prefactor  = 5.71179
  Normalizat = 0.948506
  Prefactor  = 0.954252
 **********
 **   18 **HESSE 
 **********

 FCN=   8388.965     FROM HESSE     STATUS=OK           374 CALLS     2581 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.612        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    24.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    14.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.6432        6.8520        .21079E-03   -1.5326    
   5  Prefactor     .10085        7.5857        .53431E-01   -1.5644    
   6  norm          6.8101        3.3003        .11073E-03   -1.5186    
   7  Prefactor     .10000E-03    29.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    6.9607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     22.562        20.446        .84304E-04   -1.4758    
  11  Prefactor     6.1448        19.805        .16211E-03   -1.5212    
  12  Prefactor     .10000E-03    7.9321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     45.517        27.058        .59429E-04   -1.4358    
  14  Prefactor     .10000E-03    11.427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .84177        .19561        .18534E-04   -1.5524    
  16  norm          1.9400        1.8361        .11439E-03   -1.5429    
  17  norm          .10000E-03    2.8366        .15021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    11.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.5588        3.3207        .68075E-03   -1.5281    
  20  Prefactor     .10000E-03    10.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.7118        21.990        .16820E-03   -1.5230    
  22  Normalizat    .94851        .22453        .30567E-03   -.94776    
  23  Prefactor     .95425        .13399        .18953E-03   -.94270    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68365e-09
Minuit parameter uncertainties:
  1  0.000209231
  2  0.000138273
  3  0.000116189
  4  6.85343
  5  1.74869
  6  3.30043
  7  8.13914e-05
  8  3.06651e-05
  9  5.13985e-06
  10  20.452
  11  19.8263
  12  2.58291e-06
  13  27.0656
  14  5.82065e-05
  15  0.195612
  16  1.83614
  17  1.63287e-06
  18  7.61549e-06
  19  3.32085
  20  1.30507e-05
  21  22.0208
  22  0.224754
  23  0.13404
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  6.145e+00  1.983e+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:  9.543e-01  1.340e-01  0.000e+00  1.000e+01 ( 1.000e+00)
481        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
482        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
479   Normalization:  9.485e-01  2.248e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 222.624 9.182
Photon Flux Upper Limit: 9.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/812104/likelihoodResults_443836801_444096001_4FGL_J1450.4+0910_daily_bin789.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) = 8388.60401171
delta logL = 0.3608266788

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8388.58601214
delta logL = 0.378826249813

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74101       1.0000         .10000E-03   10000.    
     2 'Index     '    4.3058       1.0000          .0000       10.000    
     3 'Normalizat'    .89871       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97463       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8388.586     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      318 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .73755        14.190        .12218E-01    .12777E-02
   2  Index         4.3079        3.0223        .12357        .17192E-03
   3  Normalizat    .89882        .37159E-01    .70748E-01   -.72520E-05
   4  Prefactor     .97457        .23222E-01    .45949E-01   -.25964E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.737547
  Index      = 4.30792
  Normalizat = 0.898821
  Prefactor  = 0.974568
 **********
 **   18 **HESSE 
 **********

 FCN=   8388.586     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      351 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .73755        46.231        .86948E-04   -1.5536    
   2  Index         4.3079        7.1266        .75740E-02   -.13886    
   3  Normalizat    .89882        .16585        .31303E-03   -.96502    
   4  Prefactor     .97457        .10213        .18772E-03   -.93582    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.64781e-06
Minuit parameter uncertainties:
  1  11.6873
  2  7.82414
  3  0.165944
  4  0.102153
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/812104': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8388.58601171
delta logL = 0.378826683129

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  7.375e-01  1.169e+01  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  4.308e+00  7.824e+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:  9.746e-01  1.022e-01  0.000e+00  1.000e+01 ( 1.000e+00)
481        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
482        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
479   Normalization:  8.988e-01  1.659e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 222.624 9.182

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/812104/cmap_HighResolution_443836801_444096001_4FGL_J1450.4+0910_daily_bin789.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.44e-03', job_status='DONE', photon_flux_upper_limit='9.63e-08', time_completed='2021-09-10 11:11:17.362941', job_id='812104', GAL2='0.97', fit_tolerance='1e-08', EG2='0.90', EG='0.95', time_epoch_completed='1631297477.36', return_code2='102', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.79e-01', ts2='0.93', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='789' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:11:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 812104: <4FGL_J1450.4+0910_daily_bin789> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin789> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 10:56:30 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:56:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 10:56:31 2021
Terminated at Fri Sep 10 11:11:18 2021
Results reported at Fri Sep 10 11:11:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin789 222.624 9.1818 443836801 444096001 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 :                                   662.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   886 sec.
    Turnaround time :                            888 sec.

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

