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


Performing analysis on: 4FGL_J1450.4+0910_daily_bin747
RA = 222.624, Dec = 9.1818
tmin = 432950401, tmax = 433209601
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='812042', job_status='RUN', time_executed='2021-09-10 10:58:51.738873', time_epoch_executed='1631296731.74' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/812042

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/812042/ft1_4FGL_J1450.4+0910_daily_bin747.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/812042/ft2_4FGL_J1450.4+0910_daily_bin747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/812042/ft1_4FGL_J1450.4+0910_daily_bin747.fits outfile=/scratch/kocevski/812042/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin747.fits ra=222.624 dec=9.1818 rad=12.0 tmin=432950401.0 tmax=433209601.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 5.67
user 5.41
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/812042/ft1_filtered_4FGL_J1450.4+0910_daily_bin747.fits evtable="EVENTS" scfile=/scratch/kocevski/812042/ft2_4FGL_J1450.4+0910_daily_bin747.fits sctable="SC_DATA" expcube=/scratch/kocevski/812042/ltcube_432950401_433209601_4FGL_J1450.4+0910_daily_bin747.fits outfile=/scratch/kocevski/812042/expmap_432950401_433209601_4FGL_J1450.4+0910_daily_bin747.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/812042/ltcube_432950401_433209601_4FGL_J1450.4+0910_daily_bin747.fits
.....................!
real 190.31
user 185.08
sys 4.87

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/812042/ft1_filtered_4FGL_J1450.4+0910_daily_bin747.fits scfile=/scratch/kocevski/812042/ft2_4FGL_J1450.4+0910_daily_bin747.fits outfile=/scratch/kocevski/812042/cmap_432950401_433209601_4FGL_J1450.4+0910_daily_bin747.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.36
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10011E-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      '    .10048E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    14.220       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12338E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.516       1.0000         .10000E-03   10000.    
    15 'norm      '    .77124E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    2.0042       1.0000         .10000E-03   10000.    
    17 'norm      '    2.4357       1.0000         .10000E-03   10000.    
    18 'norm      '    .10080E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .98441       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.230       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0917       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0708       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=   9691.304     FROM MIGRAD    STATUS=CONVERGED    909 CALLS     3311 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.193        .18142E-02** at limit **
   2  Prefactor     .10000E-03    8.1363        .18142E-02** at limit **
   3  norm          .10000E-03    4.8811        .18142E-02** at limit **
   4  Prefactor     .10000E-03    4.8823        .36285E-03** at limit **
   5  Prefactor     .10000E-03    5.6184        .36285E-03** at limit **
   6  norm          .10000E-03    1.7646        .19449E-02** at limit **
   7  Prefactor     .10000E-03    55.535        .18142E-02** at limit **
   8  Prefactor     .10000E-03    10.863        .18142E-02** at limit **
   9  norm          14.219        11.986        .10621E-03    .12052E-03
  10  Prefactor     .10000E-03    9.0773        .18142E-02** at limit **
  11  Prefactor     .10000E-03    17.426        .96444E-01** at limit **
  12  Prefactor     .10000E-03    5.0134        .18142E-02** at limit **
  13  Prefactor     .10000E-03    9.4043        .18142E-02** at limit **
  14  Prefactor     12.509        29.843        .11323E-03   -.68678E-04
  15  norm          .74399E-02    .21003        .42660E-03    .48293E-02
  16  norm          2.0043        1.6834        .10987E-03    .38347E-03
  17  norm          2.4371        4.9779        .13109E-02   -.22188E-03
  18  norm          .10000E-03    12.272        .18142E-02** at limit **
  19  norm          .98399        2.5440        .24047E-03   -.27043E-04
  20  Prefactor     .10000E-03    5.6003        .18142E-02** at limit **
  21  Prefactor     11.206        26.146        .11955E-03    .56107E-04
  22  Normalizat    1.0921        .21777        .30040E-03    .21110E-03
  23  Prefactor     1.0706        .13231        .18771E-03    .29694E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.219
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 12.509
  norm       = 0.00743986
  norm       = 2.00426
  norm       = 2.43706
  norm       = 0.0001
  norm       = 0.983988
  Prefactor  = 0.0001
  Prefactor  = 11.2062
  Normalizat = 1.09213
  Prefactor  = 1.07057
 **********
 **   18 **HESSE 
 **********

 FCN=   9691.304     FROM HESSE     STATUS=OK           360 CALLS     3671 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.196        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.1370        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.8812        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.8825        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.6187        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.7692        .38898E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    55.546        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.864        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          14.219        11.985        .42486E-05   -1.4954    
  10  Prefactor     .10000E-03    9.0782        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    15.639        .10341       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.0140        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.4056        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.509        29.836        .45291E-05   -1.5000    
  15  norm          .74399E-02    .21045        .17064E-04   -1.5691    
  16  norm          2.0043        1.6830        .43949E-05   -1.5425    
  17  norm          2.4371        4.9754        .52436E-04   -1.5396    
  18  norm          .10000E-03    12.272        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .98399        2.5432        .96186E-05   -1.5510    
  20  Prefactor     .10000E-03    5.6004        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.206        26.131        .47819E-05   -1.5038    
  22  Normalizat    1.0921        .21792        .12016E-04   -.90005    
  23  Prefactor     1.0706        .13242        .37542E-04   -.90413    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63157e-09
Minuit parameter uncertainties:
  1  9.69034e-05
  2  1.71509e-05
  3  9.90775e-06
  4  3.80346e-05
  5  5.80814e-05
  6  2.51088e-05
  7  0.000332965
  8  1.13252e-05
  9  11.9873
  10  1.66942e-05
  11  2.11597e-05
  12  5.60308e-05
  13  0.000146341
  14  29.872
  15  0.0786054
  16  1.683
  17  4.97626
  18  5.5324e-05
  19  2.54348
  20  9.25031e-06
  21  26.1578
  22  0.218101
  23  0.132462
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.000e-04  2.116e-05  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.071e+00  1.325e-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.092e+00  2.181e-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: 8.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/812042/likelihoodResults_432950401_433209601_4FGL_J1450.4+0910_daily_bin747.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) = 9691.3038678
delta logL = -1.2346315998e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9691.30386779
delta logL = -1.23363315652e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96366E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3936       1.0000          .0000       10.000    
     3 'Normalizat'    1.0921       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0706       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=   9690.801     FROM MIGRAD    STATUS=CONVERGED    121 CALLS      302 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7054        26.806        .90712E-02    .11757E-02
   2  Index         3.8931        2.3681        .18028        .14455E-03
   3  Normalizat    1.0241        .36420E-01    .69846E-01    .23477E-04
   4  Prefactor     1.0949        .22533E-01    .38830E-01    .17487E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.70539
  Index      = 3.89315
  Normalizat = 1.02409
  Prefactor  = 1.09493
 **********
 **   18 **HESSE 
 **********

 FCN=   9690.801     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      333 TOTAL
                     EDM=   .79E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7054        89.474        .12848E-03   -1.5447    
   2  Index         3.8931        6.9237        .62866E-02   -.22322    
   3  Normalizat    1.0241        .19708        .30906E-03   -.92228    
   4  Prefactor     1.0949        .12059        .18583E-03   -.89629    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.89292e-07
Minuit parameter uncertainties:
  1  24.7437
  2  7.23085
  3  0.197224
  4  0.12062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/812042': 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) = 9690.80089781
delta logL = 0.50295765207

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.705e+00  2.474e+01  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  3.893e+00  7.231e+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:  1.095e+00  1.206e-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.024e+00  1.972e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.09
Ra Dec: 222.624 9.182
Photon Index (Free Index): 3.89 +/- 7.23
Photon Flux (Free Index): 4.97e-08 +/- 5.36e-08
Energy Flux (Free Index): 7.58e-06 +/- 1.40e-05

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/812042/cmap_HighResolution_432950401_433209601_4FGL_J1450.4+0910_daily_bin747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.20e-03', comment='SUCCESS', energy_flux2='7.58e-06', dlogl='5.03e-01', photon_flux2='4.97e-08', job_status='DONE', time_completed='2021-09-10 11:12:37.596458', photon_index_error2='7.23', photon_index2='3.89', ts='-0.00', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='8.02e-08', energy_flux_error2='1.40e-05', EG='1.09', time_epoch_completed='1631297557.6', return_code='0', job_id='812042', GAL2='1.09', EG2='1.02', return_code2='102', photon_flux_error2='5.36e-08', ts2='1.09', photon_index='2.39' WHERE bin_id='747' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 11:12:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 812042: <4FGL_J1450.4+0910_daily_bin747> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin747 222.624 9.1818 432950401 433209601 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 :                                   824.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   970 sec.
    Turnaround time :                            972 sec.

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

