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


Performing analysis on: 4FGL_J0650.2-1636_daily_bin1338
RA = 102.572, Dec = -16.6012
tmin = 586137601, tmax = 586396801
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='914438', job_status='RUN', time_executed='2021-08-26 07:46:10.792142', time_epoch_executed='1629989170.79' WHERE source_name='4FGL J0650.2-1636' and cadence='daily' and bin_id='1338'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/914438

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/914438/ft1_4FGL_J0650.2-1636_daily_bin1338.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/914438/ft2_4FGL_J0650.2-1636_daily_bin1338.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/914438/ft1_4FGL_J0650.2-1636_daily_bin1338.fits outfile=/scratch/kocevski/914438/ft1_filteredMKT_4FGL_J0650.2-1636_daily_bin1338.fits ra=102.572 dec=-16.6012 rad=12.0 tmin=586137601.0 tmax=586396801.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.63
user 4.27
sys 1.31

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/914438/ft2_4FGL_J0650.2-1636_daily_bin1338.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/914438/ft2_4FGL_J0650.2-1636_daily_bin1338.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/914438/ft1_filteredMKT_4FGL_J0650.2-1636_daily_bin1338.fits evtable="EVENTS" outfile="/scratch/kocevski/914438/ft1_filtered_4FGL_J0650.2-1636_daily_bin1338.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 1.65
user 0.33
sys 1.29

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/914438/ft1_filtered_4FGL_J0650.2-1636_daily_bin1338.fits" evtable="EVENTS" scfile=/scratch/kocevski/914438/ft2_4FGL_J0650.2-1636_daily_bin1338.fits sctable="SC_DATA" outfile=/scratch/kocevski/914438/ltcube_586137601_586396801_4FGL_J0650.2-1636_daily_bin1338.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/914438/ft2_4FGL_J0650.2-1636_daily_bin1338.fits
.....................!
real 11.56
user 9.87
sys 1.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/914438/ft1_filtered_4FGL_J0650.2-1636_daily_bin1338.fits evtable="EVENTS" scfile=/scratch/kocevski/914438/ft2_4FGL_J0650.2-1636_daily_bin1338.fits sctable="SC_DATA" expcube=/scratch/kocevski/914438/ltcube_586137601_586396801_4FGL_J0650.2-1636_daily_bin1338.fits outfile=/scratch/kocevski/914438/expmap_586137601_586396801_4FGL_J0650.2-1636_daily_bin1338.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/914438/ltcube_586137601_586396801_4FGL_J0650.2-1636_daily_bin1338.fits
.....................!
real 195.62
user 187.40
sys 6.86

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
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Added 157 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0650.2-1636 @ 102.572 -16.6012

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/914438/ft1_filtered_4FGL_J0650.2-1636_daily_bin1338.fits scfile=/scratch/kocevski/914438/ft2_4FGL_J0650.2-1636_daily_bin1338.fits outfile=/scratch/kocevski/914438/cmap_586137601_586396801_4FGL_J0650.2-1636_daily_bin1338.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=102.572 yref=-16.6012 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.63
user 0.36
sys 1.22

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/914438/ft1_filtered_4FGL_J0650.2-1636_daily_bin1338.fits scfile=/scratch/kocevski/914438/ft2_4FGL_J0650.2-1636_daily_bin1338.fits outfile=/scratch/kocevski/914438/cmap_HighResolution_586137601_586396801_4FGL_J0650.2-1636_daily_bin1338.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=102.572 yref=-16.6012 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.69
user 0.38
sys 1.27

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/914438/ft1_filtered_4FGL_J0650.2-1636_daily_bin1338.fits evtable="EVENTS" scfile=/scratch/kocevski/914438/ft2_4FGL_J0650.2-1636_daily_bin1338.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/914438/Model_4FGL_J0650.2-1636_daily_bin1338.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
adding source Rosette
Working on...
/scratch/kocevski/914438/ft1_filtered_4FGL_J0650.2-1636_daily_bin1338.fits.....................!
real 186.91
user 179.81
sys 2.64

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/914438/ft1_filtered_4FGL_J0650.2-1636_daily_bin1338.fits', '/scratch/kocevski/914438/ft2_4FGL_J0650.2-1636_daily_bin1338.fits', expMap='/scratch/kocevski/914438/expmap_586137601_586396801_4FGL_J0650.2-1636_daily_bin1338.fits', expCube='/scratch/kocevski/914438/ltcube_586137601_586396801_4FGL_J0650.2-1636_daily_bin1338.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/914438/Model_4FGL_J0650.2-1636_daily_bin1338.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0650.2-1636'

4FGL J0650.2-1636
   Spectrum: PowerLaw
251    Prefactor:  1.216e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
252        Index:  2.592e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
253        Scale:  9.842e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/914438/ft1_filtered_4FGL_J0650.2-1636_daily_bin1338.fits
Spacecraft file(s): /scratch/kocevski/914438/ft2_4FGL_J0650.2-1636_daily_bin1338.fits
Exposure map: /scratch/kocevski/914438/expmap_586137601_586396801_4FGL_J0650.2-1636_daily_bin1338.fits
Exposure cube: /scratch/kocevski/914438/ltcube_586137601_586396801_4FGL_J0650.2-1636_daily_bin1338.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/914438/Model_4FGL_J0650.2-1636_daily_bin1338.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) = 11749.5598258

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.583       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.489       1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.639       1.0000         .10000E-03   10000.    
     6 'norm      '    .25277E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.2203       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.7375       1.0000         .10000E-03   10000.    
    10 'norm      '    4.7291       1.0000         .10000E-03   10000.    
    11 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    25.451       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .17039E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    31.060       1.0000         .10000E-03   10000.    
    16 'norm      '    1.7497       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.3490       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .45211       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .98892       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11749.56     FROM MIGRAD    STATUS=CONVERGED    426 CALLS     2042 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.4488       -.38450E-06** at limit **
   2  Prefactor     14.580        10.865       -.13436E-05   -.66803E-04
   3  Prefactor     .10000E-03    131.78       -.11120E-04** at limit **
   4  Prefactor     14.482        14.428        .52338E-06   -.95514E-05
   5  Prefactor     33.617        37.073       -.17378E-04   -.53506E-04
   6  norm          .10003E-03    3.1530       -.13080E-05** at limit **
   7  Prefactor     9.1752        22.458        .15863E-04    .51559E-04
   8  Prefactor     .10000E-03    2.8968       -.47038E-07** at limit **
   9  norm          8.7367        5.8885       -.71389E-06   -.47948E-04
  10  norm          4.7287        2.5163       -.38167E-06    .12100E-04
  11  norm          .10000E-03    3.8623       -.10750E-06** at limit **
  12  Prefactor     .10000E-03    3.6361       -.18216E-06** at limit **
  13  norm          25.428        12.965       -.24686E-05   -.17921E-03
  14  Prefactor     .10000E-03    5.8589        .20913E-06** at limit **
  15  norm          31.003        74.869       -.85548E-04   -.10289E-04
  16  norm          1.7495        1.7325        .53206E-07    .43409E-03
  17  Prefactor     .10000E-03    6.2592        .11507E-06** at limit **
  18  norm          2.3487        1.5905       -.17524E-06   -.43034E-03
  19  Normalizat    .45275        .41715        .13344E-04    .13566E-03
  20  Prefactor     .98881        .60211E-01    .13933E-06   -.10279E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 14.5797
  Prefactor  = 0.000100003
  Prefactor  = 14.4817
  Prefactor  = 33.617
  norm       = 0.000100027
  Prefactor  = 9.17516
  Prefactor  = 0.0001
  norm       = 8.73667
  norm       = 4.72867
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 25.4281
  Prefactor  = 0.0001
  norm       = 31.0034
  norm       = 1.7495
  Prefactor  = 0.0001
  norm       = 2.34868
  Normalizat = 0.452752
  Prefactor  = 0.988815
 **********
 **   18 **HESSE 
 **********

 FCN=   11749.56     FROM HESSE     STATUS=OK           293 CALLS     2335 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.5195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.580        10.789        .10488E-03   -1.4944    
   3  Prefactor     .10000E-03    132.24        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.482        14.337        .10523E-03   -1.4947    
   5  Prefactor     33.617        36.820        .69091E-04   -1.4548    
   6  norm          .10003E-03    18.679        .36627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.1752        21.764        .13199E-03   -1.5102    
   8  Prefactor     .10000E-03    2.8992        .18015E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.7367        5.8679        .13560E-03   -1.5117    
  10  norm          4.7287        2.5003        .12032E-03   -1.5273    
  11  norm          .10000E-03    3.8684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.6743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          25.428        12.793        .79404E-04   -1.4699    
  14  Prefactor     .10000E-03    6.0108        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          31.003        74.707        .71894E-04   -1.4594    
  16  norm          1.7495        1.7476        .13828E-03   -1.5443    
  17  Prefactor     .10000E-03    6.2609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.3487        1.5880        .10892E-03   -1.5401    
  19  Normalizat    .45275        .33957        .10855E-02   -1.1466    
  20  Prefactor     .98881        .50998E-01    .12024E-03   -.93103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.0954e-09
Minuit parameter uncertainties:
  1  8.28729e-05
  2  10.7906
  3  0.00132374
  4  14.3405
  5  36.8445
  6  0.00143291
  7  21.7831
  8  8.48778e-06
  9  5.86828
  10  2.5004
  11  2.10665e-05
  12  3.53615e-05
  13  12.794
  14  7.83557e-05
  15  74.9339
  16  1.74767
  17  6.27425e-06
  18  1.58805
  19  0.341131
  20  0.0510006
Done.

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

Extracting fit parameters...

4FGL J0650.2-1636
   Spectrum: PowerLaw
251    Prefactor:  1.000e-04  7.836e-05  1.000e-04  1.000e+04 ( 1.000e-12)
252        Index:  2.592e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
253        Scale:  9.842e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  9.888e-01  5.100e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  4.528e-01  3.411e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 102.572 -16.601
Photon Flux Upper Limit: 2.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.76e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/914438/likelihoodResults_586137601_586396801_4FGL_J0650.2-1636_daily_bin1338.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) = 11749.5586449
delta logL = -0.000791031134213

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11749.5578568
delta logL = -2.85348869511e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10803E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5730       1.0000          .0000       10.000    
     3 'Normalizat'    .45209       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98891       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+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=   11749.56     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      264 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10054E-03    20.050        .36285E-02** at limit **
   2  Index         2.5368        8.6447        .50000        .18729E-04
   3  Normalizat    .45274        .16950E-01    .10855E-02    .53393E-04
   4  Prefactor     .98882        .27326E-02    .12024E-03    .43624E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100538
  Index      = 2.53681
  Normalizat = 0.452743
  Prefactor  = 0.988816
 **********
 **   18 **HESSE 
 **********

 FCN=   11749.56     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      293 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10054E-03    118.28        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5368        6.1663        .50000       -.51512    
   3  Normalizat    .45274        .41769E-01    .43419E-04   -1.1466    
   4  Prefactor     .98882        .67343E-02    .48098E-05   -.93103    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.27353e-09
Minuit parameter uncertainties:
  1  0.0159868
  2  306.572
  3  0.0417723
  4  0.00673433
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/914438': 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) = 11749.5578537
delta logL = 2.41951056523e-07

Extracting fit parameters...

4FGL J0650.2-1636
   Spectrum: PowerLaw
251    Prefactor:  1.005e-04  1.599e-02  1.000e-04  1.000e+04 ( 1.000e-12)
252        Index:  2.537e+00  3.066e+02  0.000e+00  1.000e+01 (-1.000e+00)
253        Scale:  9.842e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  9.888e-01  6.734e-03  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  4.527e-01  4.177e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 102.572 -16.601

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/914438/cmap_HighResolution_586137601_586396801_4FGL_J0650.2-1636_daily_bin1338.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.76e-02', job_status='DONE', photon_flux_upper_limit='2.25e-07', time_completed='2021-08-26 08:01:29.109778', job_id='914438', GAL2='0.99', fit_tolerance='1e-08', EG2='0.45', EG='0.45', time_epoch_completed='1629990089.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.42e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1338' AND source_name='4FGL J0650.2-1636' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 08:01:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0016>
Subject: Job 914438: <4FGL_J0650.2-1636_daily_bin1338> in cluster <slac> Done

Job <4FGL_J0650.2-1636_daily_bin1338> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Aug 26 07:45:31 2021
Job was executed on host(s) <bullet0016>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 07:45:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 07:45:33 2021
Terminated at Thu Aug 26 08:01:29 2021
Results reported at Thu Aug 26 08:01:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0650.2-1636_daily_bin1338 102.572 -16.6012 586137601 586396801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0650.2-1636 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   922.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             369.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   956 sec.
    Turnaround time :                            958 sec.

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

