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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin465
RA = 222.624, Dec = 9.1818
tmin = 359856001, tmax = 360115201
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='808439', job_status='RUN', time_executed='2021-09-10 10:48:42.741632', time_epoch_executed='1631296122.74' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='465'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/808439

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/808439/ft1_4FGL_J1450.4+0910_daily_bin465.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/808439/ft2_4FGL_J1450.4+0910_daily_bin465.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/808439/ft1_4FGL_J1450.4+0910_daily_bin465.fits outfile=/scratch/kocevski/808439/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin465.fits ra=222.624 dec=9.1818 rad=12.0 tmin=359856001.0 tmax=360115201.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.28
user 3.01
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/808439/ft1_filtered_4FGL_J1450.4+0910_daily_bin465.fits evtable="EVENTS" scfile=/scratch/kocevski/808439/ft2_4FGL_J1450.4+0910_daily_bin465.fits sctable="SC_DATA" expcube=/scratch/kocevski/808439/ltcube_359856001_360115201_4FGL_J1450.4+0910_daily_bin465.fits outfile=/scratch/kocevski/808439/expmap_359856001_360115201_4FGL_J1450.4+0910_daily_bin465.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/808439/ltcube_359856001_360115201_4FGL_J1450.4+0910_daily_bin465.fits
.....................!
real 191.16
user 185.78
sys 5.00

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/808439/ft1_filtered_4FGL_J1450.4+0910_daily_bin465.fits scfile=/scratch/kocevski/808439/ft2_4FGL_J1450.4+0910_daily_bin465.fits outfile=/scratch/kocevski/808439/cmap_359856001_360115201_4FGL_J1450.4+0910_daily_bin465.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.53
user 0.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.8504       1.0000         .10000E-03   10000.    
     3 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10248E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.8431       1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.941       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10437E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .35936E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   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      '    .11021E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.9713       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0853       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1155       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=   6276.844     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2502 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.556        .10652E-04** at limit **
   2  Prefactor     8.8510        21.023        .25953E-06   -.25569E-04
   3  norm          .10000E-03    10.308       -.19012E-05** at limit **
   4  Prefactor     .10000E-03    2.1474       -.18075E-06** at limit **
   5  Prefactor     .10000E-03    4.3692       -.10003E-06** at limit **
   6  norm          .10000E-03    .84682       -.16900E-07** at limit **
   7  Prefactor     .10000E-03    40.756        .17662E-04** at limit **
   8  Prefactor     .10000E-03    33.047        .25643E-04** at limit **
   9  norm          8.8378        17.825       -.11895E-05   -.23052E-03
  10  Prefactor     24.945        20.661        .15038E-05   -.96767E-05
  11  Prefactor     .10000E-03    50.163       -.34011E-04** at limit **
  12  Prefactor     .10000E-03    7.4222        .17227E-06** at limit **
  13  Prefactor     .10000E-03    16.555        .21975E-05** at limit **
  14  Prefactor     .10000E-03    17.111       -.11378E-05** at limit **
  15  norm          .35927E-01    .11955       -.28921E-07   -.31664E-02
  16  norm          .10000E-03    .79350        .24987E-06** at limit **
  17  norm          .10000E-03    2.0382       -.19215E-06** at limit **
  18  norm          .10000E-03    20.077       -.12078E-04** at limit **
  19  norm          .10000E-03    2.2256       -.11734E-06** at limit **
  20  Prefactor     .10000E-03    21.714       -.11244E-04** at limit **
  21  Prefactor     9.9740        28.682        .30517E-05   -.84388E-05
  22  Normalizat    1.0853        .22053       -.12597E-06    .99879E-04
  23  Prefactor     1.1155        .13931       -.11611E-06    .14602E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.85105
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.83777
  Prefactor  = 24.9447
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0359272
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.97397
  Normalizat = 1.08528
  Prefactor  = 1.11548
 **********
 **   18 **HESSE 
 **********

 FCN=   6276.844     FROM HESSE     STATUS=OK           362 CALLS     2864 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.8510        21.051        .13473E-03   -1.5113    
   3  norm          .10000E-03    10.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.1517        .11338E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.4692        .16163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .85558        .71191E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    40.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    33.217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.8378        17.823        .13479E-03   -1.5113    
  10  Prefactor     24.945        20.660        .80211E-04   -1.4709    
  11  Prefactor     .10000E-03    50.500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.4507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    17.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .35927E-01    .15179        .46690E-03   -1.5670    
  16  norm          .10000E-03    .80700        .68877E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.0386        .11046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    20.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.5769        .22951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    21.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.9740        28.669        .12690E-03   -1.5076    
  22  Normalizat    1.0853        .26470        .29734E-03   -.90226    
  23  Prefactor     1.1155        .16811        .18796E-03   -.88973    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.11177e-10
Minuit parameter uncertainties:
  1  5.96056e-06
  2  21.0685
  3  6.02526e-07
  4  3.25058e-07
  5  1.64656e-06
  6  4.15439e-07
  7  5.39797e-06
  8  2.6126e-05
  9  17.8336
  10  20.6657
  11  0.000575211
  12  1.98319e-06
  13  2.46987e-05
  14  3.43743e-06
  15  0.147488
  16  5.30844e-07
  17  5.19924e-07
  18  6.8417e-07
  19  3.92622e-05
  20  8.61501e-06
  21  28.7085
  22  0.265025
  23  0.168191
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.000e-04  5.752e-04  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.115e+00  1.682e-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.085e+00  2.650e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/808439/likelihoodResults_359856001_360115201_4FGL_J1450.4+0910_daily_bin465.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): 102
logL (Free Index) = 6276.84363454
delta logL = -9.42765245782e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6276.84350093
delta logL = 3.93378149965e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24243E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    3.2175       1.0000          .0000       10.000    
     3 'Normalizat'    1.0853       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1155       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=   6276.838     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      287 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .45064        5.4894        .67332E-01    .51828E-03
   2  Index         3.4704        .62572        .50000       -.15465E-04
   3  Normalizat    1.0778        .86705E-02    .67421E-01    .43493E-03
   4  Prefactor     1.1180        .55727E-02    .37026E-01    .30124E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.450638
  Index      = 3.47044
  Normalizat = 1.07775
  Prefactor  = 1.11803
 **********
 **   18 **HESSE 
 **********

 FCN=   6276.838     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      318 TOTAL
                     EDM=   .82E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .45064        1628.1        .22298E-02   -1.5574    
   2  Index         3.4704        6.4375        .62721E-02   -.31090    
   3  Normalizat    1.0778        .15530        .29828E-03   -.90469    
   4  Prefactor     1.1180        .95097E-01    .18777E-03   -.88892    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.16743e-08
Minuit parameter uncertainties:
  1  55.7572
  2  57.0427
  3  0.155362
  4  0.0951116
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/808439': 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) = 6276.83774286
delta logL = 0.0057974039064

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  4.506e-01  5.576e+01  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  3.470e+00  5.704e+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.118e+00  9.511e-02  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.078e+00  1.554e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 222.624 9.182

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/808439/cmap_HighResolution_359856001_360115201_4FGL_J1450.4+0910_daily_bin465.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.21e-03', job_status='DONE', photon_flux_upper_limit='9.34e-08', time_completed='2021-09-10 10:58:21.290534', job_id='808439', GAL2='1.12', fit_tolerance='1e-08', EG2='1.08', EG='1.09', time_epoch_completed='1631296701.29', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='5.80e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='465' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:58:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0136>
Subject: Job 808439: <4FGL_J1450.4+0910_daily_bin465> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin465> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 10:46:27 2021
Job was executed on host(s) <bullet0136>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:46:28 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:46:28 2021
Terminated at Fri Sep 10 10:58:22 2021
Results reported at Fri Sep 10 10:58:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin465 222.624 9.1818 359856001 360115201 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 :                                   581.16 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             293.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            715 sec.

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

