/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 168 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 = 7493
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1450.4+0910_daily_bin193
RA = 222.624, Dec = 9.1818
tmin = 289353601, tmax = 289612801
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='805097', job_status='RUN', time_executed='2021-09-10 10:39:37.346512', time_epoch_executed='1631295577.35' WHERE source_name='4FGL J1450.4+0910' and cadence='daily' and bin_id='193'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/805097

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/805097/ft1_4FGL_J1450.4+0910_daily_bin193.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/805097/ft2_4FGL_J1450.4+0910_daily_bin193.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/805097/ft1_4FGL_J1450.4+0910_daily_bin193.fits outfile=/scratch/kocevski/805097/ft1_filteredMKT_4FGL_J1450.4+0910_daily_bin193.fits ra=222.624 dec=9.1818 rad=12.0 tmin=289353601.0 tmax=289612801.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.55
user 3.31
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/805097/ft1_filtered_4FGL_J1450.4+0910_daily_bin193.fits evtable="EVENTS" scfile=/scratch/kocevski/805097/ft2_4FGL_J1450.4+0910_daily_bin193.fits sctable="SC_DATA" expcube=/scratch/kocevski/805097/ltcube_289353601_289612801_4FGL_J1450.4+0910_daily_bin193.fits outfile=/scratch/kocevski/805097/expmap_289353601_289612801_4FGL_J1450.4+0910_daily_bin193.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/805097/ltcube_289353601_289612801_4FGL_J1450.4+0910_daily_bin193.fits
.....................!
real 190.45
user 185.41
sys 4.42

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/805097/ft1_filtered_4FGL_J1450.4+0910_daily_bin193.fits scfile=/scratch/kocevski/805097/ft2_4FGL_J1450.4+0910_daily_bin193.fits outfile=/scratch/kocevski/805097/cmap_289353601_289612801_4FGL_J1450.4+0910_daily_bin193.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 1.31
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/805097/ft1_filtered_4FGL_J1450.4+0910_daily_bin193.fits scfile=/scratch/kocevski/805097/ft2_4FGL_J1450.4+0910_daily_bin193.fits outfile=/scratch/kocevski/805097/cmap_HighResolution_289353601_289612801_4FGL_J1450.4+0910_daily_bin193.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/805097/ft1_filtered_4FGL_J1450.4+0910_daily_bin193.fits evtable="EVENTS" scfile=/scratch/kocevski/805097/ft2_4FGL_J1450.4+0910_daily_bin193.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/805097/Model_4FGL_J1450.4+0910_daily_bin193.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/805097/ft1_filtered_4FGL_J1450.4+0910_daily_bin193.fits.....................!
real 52.30
user 50.18
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    36.027       1.0000         .10000E-03   10000.    
     3 'norm      '    .10417E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.0545       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10845E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    12.283       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .62053E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10924E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.666       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11433E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .29528       1.0000         .10000E-03   10000.    
    16 'norm      '    7.0450       1.0000         .10000E-03   10000.    
    17 'norm      '    .10166E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.3974       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10731E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    73.422       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2370       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89098       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=   6431.155     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2946 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.4235        .45474E-06** at limit **
   2  Prefactor     36.018        28.948        .14025E-05    .87871E-04
   3  norm          .10000E-03    7.2781       -.64891E-06** at limit **
   4  Prefactor     .10000E-03    2.8981        .78308E-06** at limit **
   5  Prefactor     .10000E-03    7.0597        .32680E-05** at limit **
   6  norm          .10000E-03    1.5974        .43477E-06** at limit **
   7  Prefactor     2.1468        727.92       -.13944E-05    .44251E-05
   8  Prefactor     .10000E-03    22.652        .20028E-06** at limit **
   9  norm          12.299        15.356       -.31033E-06    .11850E-03
  10  Prefactor     .10000E-03    179.94       -.52937E-04** at limit **
  11  Prefactor     .10000E-03    22.830        .30444E-05** at limit **
  12  Prefactor     15.657        17.323       -.12348E-05   -.11680E-03
  13  Prefactor     .10000E-03    25.750        .10383E-05** at limit **
  14  Prefactor     .10000E-03    15.898       -.92628E-06** at limit **
  15  norm          .29531        .20437        .25174E-06    .14836E-02
  16  norm          7.0453        3.1761        .83061E-08    .51620E-03
  17  norm          .10000E-03    9.0223        .18214E-05** at limit **
  18  norm          .10000E-03    18.318        .13105E-05** at limit **
  19  norm          5.4007        4.5836        .60044E-06    .10670E-03
  20  Prefactor     .10000E-03    37.907       -.75779E-06** at limit **
  21  Prefactor     73.414        40.271        .26642E-05   -.95394E-04
  22  Normalizat    1.2379        .22789       -.63383E-05    .54843E-04
  23  Prefactor     .89024        .13356       -.29854E-05    .64796E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 36.0178
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.14679
  Prefactor  = 0.000100001
  norm       = 12.2993
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.6569
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.295306
  norm       = 7.04526
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.40065
  Prefactor  = 0.000100001
  Prefactor  = 73.4138
  Normalizat = 1.23794
  Prefactor  = 0.890241
 **********
 **   18 **HESSE 
 **********

 FCN=   6431.155     FROM HESSE     STATUS=OK           376 CALLS     3322 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.4319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     36.018        29.111        .66769E-04   -1.4507    
   3  norm          .10000E-03    7.2746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.9162        .13341E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.3653        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.4413        .19729E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.1468        708.53        .28837E-03   -1.5415    
   8  Prefactor     .10000E-03    22.669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          12.299        15.337        .11430E-03   -1.5006    
  10  Prefactor     .10000E-03    18.868        .10201       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    23.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.657        17.385        .10119E-03   -1.4916    
  13  Prefactor     .10000E-03    25.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .29531        .19916        .28476E-03   -1.5599    
  16  norm          7.0453        3.1747        .89655E-04   -1.5177    
  17  norm          .10000E-03    9.2219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    18.318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.4007        4.5875        .15050E-03   -1.5243    
  20  Prefactor     .10000E-03    38.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     73.414        40.346        .46855E-04   -1.3992    
  22  Normalizat    1.2379        .27811        .29273E-03   -.85438    
  23  Prefactor     .89024        .16254        .20708E-03   -.96483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12473e-10
Minuit parameter uncertainties:
  1  2.4363e-05
  2  29.123
  3  5.20636e-05
  4  1.01041e-05
  5  3.26306e-05
  6  5.68494e-05
  7  78.9605
  8  0.000307931
  9  15.342
  10  9.17468e-05
  11  0.000104921
  12  17.3902
  13  0.000178993
  14  8.46787e-05
  15  0.199159
  16  3.17476
  17  2.72699e-06
  18  3.84094e-05
  19  4.58776
  20  0.000294229
  21  40.3606
  22  0.27844
  23  0.16263
Done.

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

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.000e-04  1.049e-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:  8.902e-01  1.626e-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.238e+00  2.784e-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.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/805097/likelihoodResults_289353601_289612801_4FGL_J1450.4+0910_daily_bin193.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) = 6431.15504947
delta logL = -0.000205554109925

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6431.15484504
delta logL = -1.13143869385e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10723E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7085       1.0000          .0000       10.000    
     3 'Normalizat'    1.2379       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89024       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=   6431.155     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      292 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10418E-03    .35749        .86208E-01** at limit **
   2  Index         2.6059        5.8598        .50000        .16128E-04
   3  Normalizat    1.2379        .10848E-02    .29273E-03   -.11325E-03
   4  Prefactor     .89024        .66667E-03    .20708E-03   -.30888E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010418
  Index      = 2.60592
  Normalizat = 1.23794
  Prefactor  = 0.890239
 **********
 **   18 **HESSE 
 **********

 FCN=   6431.155     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      323 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10418E-03    51.950        .47238E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6059        6.7512        .50000       -.49931    
   3  Normalizat    1.2379        .91040E-02    .11709E-04   -.85438    
   4  Prefactor     .89024        .55952E-02    .41417E-04   -.96483    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.7295e-09
Minuit parameter uncertainties:
  1  0.0294983
  2  217.471
  3  0.00910406
  4  0.00559518
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/805097': 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) = 6431.1548445
delta logL = -5.89265255257e-07

Extracting fit parameters...

4FGL J1450.4+0910
   Spectrum: PowerLaw
222    Prefactor:  1.042e-04  2.950e-02  1.000e-04  1.000e+04 ( 1.000e-13)
223        Index:  2.606e+00  2.175e+02  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.902e-01  5.595e-03  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.238e+00  9.104e-03  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/805097/cmap_HighResolution_289353601_289612801_4FGL_J1450.4+0910_daily_bin193.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.21e-03', job_status='DONE', photon_flux_upper_limit='8.04e-08', time_completed='2021-09-10 10:49:57.609462', job_id='805097', GAL2='0.89', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1631296197.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='-5.89e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='193' AND source_name='4FGL J1450.4+0910' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:49:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 805097: <4FGL_J1450.4+0910_daily_bin193> in cluster <slac> Done

Job <4FGL_J1450.4+0910_daily_bin193> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 10 10:36:38 2021
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:36:39 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:36:39 2021
Terminated at Fri Sep 10 10:49:58 2021
Results reported at Fri Sep 10 10:49:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1450.4+0910_daily_bin193 222.624 9.1818 289353601 289612801 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 :                                   617.16 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             253.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            800 sec.

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

