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


Performing analysis on: 4FGL_J0650.2-1636_daily_bin1235
RA = 102.572, Dec = -16.6012
tmin = 559440001, tmax = 559699201
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='913001', job_status='RUN', time_executed='2021-08-26 07:43:16.243324', time_epoch_executed='1629988996.24' WHERE source_name='4FGL J0650.2-1636' and cadence='daily' and bin_id='1235'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/913001

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/913001/ft1_4FGL_J0650.2-1636_daily_bin1235.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/913001/ft2_4FGL_J0650.2-1636_daily_bin1235.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/913001/ft1_4FGL_J0650.2-1636_daily_bin1235.fits outfile=/scratch/kocevski/913001/ft1_filteredMKT_4FGL_J0650.2-1636_daily_bin1235.fits ra=102.572 dec=-16.6012 rad=12.0 tmin=559440001.0 tmax=559699201.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.55
user 3.32
sys 2.14

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/913001/ft2_4FGL_J0650.2-1636_daily_bin1235.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/913001/ft1_filteredMKT_4FGL_J0650.2-1636_daily_bin1235.fits evtable="EVENTS" outfile="/scratch/kocevski/913001/ft1_filtered_4FGL_J0650.2-1636_daily_bin1235.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 2.51
user 0.34
sys 2.10

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/913001/ft1_filtered_4FGL_J0650.2-1636_daily_bin1235.fits" evtable="EVENTS" scfile=/scratch/kocevski/913001/ft2_4FGL_J0650.2-1636_daily_bin1235.fits sctable="SC_DATA" outfile=/scratch/kocevski/913001/ltcube_559440001_559699201_4FGL_J0650.2-1636_daily_bin1235.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/913001/ft2_4FGL_J0650.2-1636_daily_bin1235.fits
.....................!
real 14.00
user 11.46
sys 2.48

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/913001/ft1_filtered_4FGL_J0650.2-1636_daily_bin1235.fits evtable="EVENTS" scfile=/scratch/kocevski/913001/ft2_4FGL_J0650.2-1636_daily_bin1235.fits sctable="SC_DATA" expcube=/scratch/kocevski/913001/ltcube_559440001_559699201_4FGL_J0650.2-1636_daily_bin1235.fits outfile=/scratch/kocevski/913001/expmap_559440001_559699201_4FGL_J0650.2-1636_daily_bin1235.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/913001/ltcube_559440001_559699201_4FGL_J0650.2-1636_daily_bin1235.fits
.....................!
real 195.00
user 186.28
sys 8.19

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/913001/ft1_filtered_4FGL_J0650.2-1636_daily_bin1235.fits scfile=/scratch/kocevski/913001/ft2_4FGL_J0650.2-1636_daily_bin1235.fits outfile=/scratch/kocevski/913001/cmap_559440001_559699201_4FGL_J0650.2-1636_daily_bin1235.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 2.45
user 0.37
sys 2.06

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/913001/ft1_filtered_4FGL_J0650.2-1636_daily_bin1235.fits scfile=/scratch/kocevski/913001/ft2_4FGL_J0650.2-1636_daily_bin1235.fits outfile=/scratch/kocevski/913001/cmap_HighResolution_559440001_559699201_4FGL_J0650.2-1636_daily_bin1235.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 2.46
user 0.38
sys 2.06

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/913001/ft1_filtered_4FGL_J0650.2-1636_daily_bin1235.fits evtable="EVENTS" scfile=/scratch/kocevski/913001/ft2_4FGL_J0650.2-1636_daily_bin1235.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/913001/Model_4FGL_J0650.2-1636_daily_bin1235.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/913001/ft1_filtered_4FGL_J0650.2-1636_daily_bin1235.fits.......................!
real 41.56
user 36.54
sys 3.70

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/913001/ft1_filtered_4FGL_J0650.2-1636_daily_bin1235.fits', '/scratch/kocevski/913001/ft2_4FGL_J0650.2-1636_daily_bin1235.fits', expMap='/scratch/kocevski/913001/expmap_559440001_559699201_4FGL_J0650.2-1636_daily_bin1235.fits', expCube='/scratch/kocevski/913001/ltcube_559440001_559699201_4FGL_J0650.2-1636_daily_bin1235.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/913001/Model_4FGL_J0650.2-1636_daily_bin1235.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/913001/ft1_filtered_4FGL_J0650.2-1636_daily_bin1235.fits
Spacecraft file(s): /scratch/kocevski/913001/ft2_4FGL_J0650.2-1636_daily_bin1235.fits
Exposure map: /scratch/kocevski/913001/expmap_559440001_559699201_4FGL_J0650.2-1636_daily_bin1235.fits
Exposure cube: /scratch/kocevski/913001/ltcube_559440001_559699201_4FGL_J0650.2-1636_daily_bin1235.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/913001/Model_4FGL_J0650.2-1636_daily_bin1235.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 1617.95913267

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 1614.42317086

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14538E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .20396       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.7587       1.0000         .10000E-03   10000.    
     4 'Prefactor '    90.703       1.0000         .10000E-03   10000.    
     5 'Prefactor '    257.59       1.0000         .10000E-03   10000.    
     6 'norm      '    .37173       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .26666E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.8242       1.0000         .10000E-03   10000.    
     9 'norm      '    33.235       1.0000         .10000E-03   10000.    
    10 'norm      '    .44999E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    .82814E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12596E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    60.026       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.365       1.0000         .10000E-03   10000.    
    15 'norm      '    9.3718       1.0000         .10000E-03   10000.    
    16 'norm      '    .97344E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14492E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .23587E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    .81925       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   1614.416     FROM MIGRAD    STATUS=CONVERGED    200 CALLS      576 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    51.470        .90955E-02** at limit **
   2  Prefactor     .10003E-03    144.36        .99957E-02** at limit **
   3  Prefactor     .10976E-03    650.26        .52061E-02** at limit **
   4  Prefactor     85.921        118.80        .10548E-02   -.18222E-02
   5  Prefactor     259.54        134.37        .63125E-03   -.14781E-01
   6  norm          .15237E-03    452.83        .10735E-01** at limit **
   7  Prefactor     .16970E-03    174.74        .10719E-01** at limit **
   8  Prefactor     .11142E-03    1400.2        .60502E-02** at limit **
   9  norm          35.257        66.095        .17377E-02   -.10313E-02
  10  norm          .10001E-03    86.134        .96721E-02** at limit **
  11  norm          .11701E-03    177.56        .10441E-01** at limit **
  12  Prefactor     .77333E-03    318.87        .90859E-02** at limit **
  13  norm          57.867        83.226        .12947E-02    .24459E-04
  14  Prefactor     11.610        25.758        .29709E-02    .44947E-02
  15  norm          9.3718        1.0014         .0000         .0000    
  16  norm          .10000E-03    .20574        .78127E-05** at limit **
  17  Prefactor     .10000E-03    .20681        .65696E-05** at limit **
  18  norm          .10000E-03    .20571       -.12293E-05** at limit **
  19  Normalizat    .10000E-01    .25505        .31947E-06** at limit **
  20  Prefactor     .81914        1.1673        .10498E-05    .11374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 0.000100034
  Prefactor  = 0.000109758
  Prefactor  = 85.9206
  Prefactor  = 259.541
  norm       = 0.000152375
  Prefactor  = 0.000169704
  Prefactor  = 0.000111422
  norm       = 35.2568
  norm       = 0.00010001
  norm       = 0.000117007
  Prefactor  = 0.000773325
  norm       = 57.8669
  Prefactor  = 11.6105
  norm       = 9.37181
  norm       = 0.000100002
  Prefactor  = 0.000100001
  norm       = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.819145
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   1614.416     FROM HESSE     STATUS=FAILED        39 CALLS      615 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    51.470        .90955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10003E-03    144.36        .99957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10976E-03    650.26        .52061E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     85.921        118.80        .10548E-02   -1.3851    
   5  Prefactor     259.54        134.37        .63125E-03   -1.2472    
   6  norm          .15237E-03    452.83        .10735E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16970E-03    174.74        .10719E-01   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11142E-03    1400.2        .60502E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          35.257        66.095        .17377E-02   -1.4520    
  10  norm          .10001E-03    86.134        .96721E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .11701E-03    177.56        .10441E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .77333E-03    318.87        .90859E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          57.867        83.226        .12947E-02   -1.4185    
  14  Prefactor     11.610        25.758        .29709E-02   -1.5026    
  15  norm          495.08        485.68         .0000       -1.5096    
  16  norm          .10000E-03    .20574        .78127E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    .20681        .65696E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .20571       -.12293E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .10000E-01    .25505        .31947E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .81914        1.1673        .10498E-05   -.99026    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.84501e-09
Minuit parameter uncertainties:
  1  0.000564877
  2  0.00441326
  3  0.16109
  4  119.135
  5  134.53
  6  0.310378
  7  0.221376
  8  0.259239
  9  66.2328
  10  0.00181555
  11  0.110233
  12  0.931721
  13  83.3939
  14  25.7824
  15  1.00143
  16  3.51517e-05
  17  3.32242e-05
  18  5.07195e-06
  19  3.67153e-08
  20  1.20573
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 1614.41648396

Extracting fit parameters...

4FGL J0650.2-1636
   Spectrum: PowerLaw
251    Prefactor:  1.161e+01  2.578e+01  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:  8.191e-01  1.206e+00  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:  1.000e-02  3.672e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 102.572 -16.601
Photon Flux Upper Limit: 2.04e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.59e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/913001/likelihoodResults_559440001_559699201_4FGL_J0650.2-1636_daily_bin1235.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1614.39244269
delta logL = 0.0240412705557

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1614.39210869
delta logL = 0.0243752716344

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.241       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2075       1.0000          .0000       10.000    
     3 'Normalizat'    .10002E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81863       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=   1614.392     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      279 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.261        45.091        .93778E-04   -.83031E-03
   2  Index         2.2090        1.5436        .87413E-02   -.33198E-03
   3  Normalizat    .10000E-01    .26299        .63921E-02** at limit **
   4  Prefactor     .81858        .82067E-01    .11630E-03    .12747E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.2609
  Index      = 2.20902
  Normalizat = 0.01
  Prefactor  = 0.81858
 **********
 **   18 **HESSE 
 **********

 FCN=   1614.392     FROM HESSE     STATUS=OK            23 CALLS      302 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.261        43.604        .18756E-04   -1.4853    
   2  Index         2.2090        1.4954        .34965E-03   -.59221    
   3  Normalizat    .10000E-01    .26299        .12784E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .81858        .82068E-01    .23259E-04   -.99047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42971e-08
Minuit parameter uncertainties:
  1  43.6798
  2  1.52987
  3  1.69112e-08
  4  0.0820803
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/913001': 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): 0
logL (Free Index) = 1614.39210329
delta logL = 0.024380667664

Extracting fit parameters...

4FGL J0650.2-1636
   Spectrum: PowerLaw
251    Prefactor:  1.826e+01  4.368e+01  1.000e-04  1.000e+04 ( 1.000e-12)
252        Index:  2.209e+00  1.530e+00  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:  8.186e-01  8.208e-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:  1.000e-02  1.691e-08  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/913001/cmap_HighResolution_559440001_559699201_4FGL_J0650.2-1636_daily_bin1235.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.59e-01', job_status='DONE', photon_flux_upper_limit='2.04e-06', time_completed='2021-08-26 07:51:49.356230', job_id='913001', GAL2='0.82', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1629989509.36', return_code2='0', ts='0.25', comment='SUCCESS', return_code='101', GAL='0.82', dlogl='2.44e-02', ts2='0.30', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1235' AND source_name='4FGL J0650.2-1636' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 07:51:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 913001: <4FGL_J0650.2-1636_daily_bin1235> in cluster <slac> Done

Job <4FGL_J0650.2-1636_daily_bin1235> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Aug 26 07:40:40 2021
Job was executed on host(s) <bullet0212>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 07:40:50 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:40:50 2021
Terminated at Thu Aug 26 07:51:50 2021
Results reported at Thu Aug 26 07:51:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0650.2-1636_daily_bin1235 102.572 -16.6012 559440001 559699201 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 :                                   414.49 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   659 sec.
    Turnaround time :                            670 sec.

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

