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


Performing analysis on: 4FGL_J1010.2-3119_daily_bin289
RA = 152.572, Dec = -31.3207
tmin = 314236801, tmax = 314496001
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='694722', job_status='RUN', time_executed='2021-09-01 11:52:51.586014', time_epoch_executed='1630522371.59' WHERE source_name='4FGL J1010.2-3119' and cadence='daily' and bin_id='289'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/694722

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/694722/ft1_4FGL_J1010.2-3119_daily_bin289.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/694722/ft2_4FGL_J1010.2-3119_daily_bin289.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/694722/ft1_4FGL_J1010.2-3119_daily_bin289.fits outfile=/scratch/kocevski/694722/ft1_filteredMKT_4FGL_J1010.2-3119_daily_bin289.fits ra=152.572 dec=-31.3207 rad=12.0 tmin=314236801.0 tmax=314496001.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.36
user 3.12
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/694722/ft2_4FGL_J1010.2-3119_daily_bin289.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/694722/ft2_4FGL_J1010.2-3119_daily_bin289.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/694722/ft1_filteredMKT_4FGL_J1010.2-3119_daily_bin289.fits evtable="EVENTS" outfile="/scratch/kocevski/694722/ft1_filtered_4FGL_J1010.2-3119_daily_bin289.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/694722/ft1_filtered_4FGL_J1010.2-3119_daily_bin289.fits" evtable="EVENTS" scfile=/scratch/kocevski/694722/ft2_4FGL_J1010.2-3119_daily_bin289.fits sctable="SC_DATA" outfile=/scratch/kocevski/694722/ltcube_314236801_314496001_4FGL_J1010.2-3119_daily_bin289.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/694722/ft2_4FGL_J1010.2-3119_daily_bin289.fits
.....................!
real 12.03
user 11.66
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/694722/ft1_filtered_4FGL_J1010.2-3119_daily_bin289.fits evtable="EVENTS" scfile=/scratch/kocevski/694722/ft2_4FGL_J1010.2-3119_daily_bin289.fits sctable="SC_DATA" expcube=/scratch/kocevski/694722/ltcube_314236801_314496001_4FGL_J1010.2-3119_daily_bin289.fits outfile=/scratch/kocevski/694722/expmap_314236801_314496001_4FGL_J1010.2-3119_daily_bin289.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/694722/ltcube_314236801_314496001_4FGL_J1010.2-3119_daily_bin289.fits
.....................!
real 190.05
user 184.88
sys 4.83

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 Vela Junior in ROI with RadialDisk spatial model.
Added 185 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 J1010.2-3119 @ 152.572 -31.3207

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/694722/ft1_filtered_4FGL_J1010.2-3119_daily_bin289.fits scfile=/scratch/kocevski/694722/ft2_4FGL_J1010.2-3119_daily_bin289.fits outfile=/scratch/kocevski/694722/cmap_314236801_314496001_4FGL_J1010.2-3119_daily_bin289.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=152.572 yref=-31.3207 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/694722/ft1_filtered_4FGL_J1010.2-3119_daily_bin289.fits scfile=/scratch/kocevski/694722/ft2_4FGL_J1010.2-3119_daily_bin289.fits outfile=/scratch/kocevski/694722/cmap_HighResolution_314236801_314496001_4FGL_J1010.2-3119_daily_bin289.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=152.572 yref=-31.3207 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/694722/ft1_filtered_4FGL_J1010.2-3119_daily_bin289.fits evtable="EVENTS" scfile=/scratch/kocevski/694722/ft2_4FGL_J1010.2-3119_daily_bin289.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/694722/Model_4FGL_J1010.2-3119_daily_bin289.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 Vela Junior
Working on...
/scratch/kocevski/694722/ft1_filtered_4FGL_J1010.2-3119_daily_bin289.fits.....................!
real 81.74
user 80.38
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/694722/ft1_filtered_4FGL_J1010.2-3119_daily_bin289.fits', '/scratch/kocevski/694722/ft2_4FGL_J1010.2-3119_daily_bin289.fits', expMap='/scratch/kocevski/694722/expmap_314236801_314496001_4FGL_J1010.2-3119_daily_bin289.fits', expCube='/scratch/kocevski/694722/ltcube_314236801_314496001_4FGL_J1010.2-3119_daily_bin289.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/694722/Model_4FGL_J1010.2-3119_daily_bin289.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1010.2-3119'

4FGL J1010.2-3119
   Spectrum: PowerLaw
334    Prefactor:  2.205e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
335        Index:  1.764e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  5.749e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/694722/ft1_filtered_4FGL_J1010.2-3119_daily_bin289.fits
Spacecraft file(s): /scratch/kocevski/694722/ft2_4FGL_J1010.2-3119_daily_bin289.fits
Exposure map: /scratch/kocevski/694722/expmap_314236801_314496001_4FGL_J1010.2-3119_daily_bin289.fits
Exposure cube: /scratch/kocevski/694722/ltcube_314236801_314496001_4FGL_J1010.2-3119_daily_bin289.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/694722/Model_4FGL_J1010.2-3119_daily_bin289.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) = 6807.37794309

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.053       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.876       1.0000         .10000E-03   10000.    
     3 'norm      '    .16543E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.5120       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    18.383       1.0000         .10000E-03   10000.    
    11 'norm      '    18.349       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.807       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1701       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1210       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6807.376     FROM MIGRAD    STATUS=CONVERGED    383 CALLS     1864 TOTAL
                     EDM=   .75E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.052        22.470        .28487E-07    .12429E-04
   2  Prefactor     11.870        33.242        .77424E-06    .30843E-04
   3  norm          .10000E-03    11.974       -.76015E-05** at limit **
   4  norm          .10000E-03    4.4899       -.95923E-08** at limit **
   5  norm          .10000E-03    3.1502       -.30128E-08** at limit **
   6  norm          .10000E-03    .71650        .61178E-07** at limit **
   7  norm          6.5136        15.340        .42592E-06    .12391E-03
   8  Prefactor     .10000E-03    26.699        .69746E-06** at limit **
   9  Prefactor     .10000E-03    10.303       -.66968E-06** at limit **
  10  norm          18.380        18.998        .28985E-06    .10859E-03
  11  norm          18.350        12.524        .59371E-08    .11524E-03
  12  Prefactor     .10000E-03    5.8818        .47485E-06** at limit **
  13  Prefactor     .10000E-03    6.0362       -.38712E-06** at limit **
  14  norm          .10000E-03    1.2183        .29801E-07** at limit **
  15  Prefactor     10.808        15.660       -.66177E-07   -.39905E-05
  16  Prefactor     .10000E-03    1.9794        .10016E-06** at limit **
  17  Prefactor     .10000E-03    18.835       -.50797E-06** at limit **
  18  Normalizat    1.1699        .27624       -.18790E-07    .17746E-03
  19  Prefactor     1.1211        .10908       -.34278E-07    .37673E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.0517
  Prefactor  = 11.8704
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 6.51361
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.3804
  norm       = 18.3497
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.8083
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.16993
  Prefactor  = 1.12106
 **********
 **   18 **HESSE 
 **********

 FCN=   6807.376     FROM HESSE     STATUS=OK           266 CALLS     2130 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.052        22.483        .10685E-03   -1.4958    
   2  Prefactor     11.870        33.234        .11624E-03   -1.5019    
   3  norm          .10000E-03    11.874        .31848E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.4918        .17074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.1506        .14302E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.1783        .13553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.5136        15.319        .15727E-03   -1.5197    
   8  Prefactor     .10000E-03    26.713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          18.380        18.987        .93414E-04   -1.4850    
  11  norm          18.350        12.510        .93501E-04   -1.4851    
  12  Prefactor     .10000E-03    5.8929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.0400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.2210        .88925E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.808        15.677        .12187E-03   -1.5050    
  16  Prefactor     .10000E-03    1.9888        .11337E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    18.938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1699        .30830        .41463E-03   -.87537    
  19  Prefactor     1.1211        .12297        .17008E-03   -.88796    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50404e-10
Minuit parameter uncertainties:
  1  22.496
  2  33.2854
  3  2.30975e-05
  4  1.3016e-06
  5  4.52109e-07
  6  3.60908e-06
  7  15.3287
  8  2.90601e-05
  9  3.02545e-05
  10  18.9928
  11  12.5121
  12  1.41881e-05
  13  2.72213e-06
  14  2.00183e-06
  15  15.6833
  16  9.07302e-06
  17  0.000169389
  18  0.308782
  19  0.123004
Done.

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

Extracting fit parameters...

4FGL J1010.2-3119
   Spectrum: PowerLaw
334    Prefactor:  1.000e-04  3.025e-05  1.000e-04  1.000e+04 ( 1.000e-14)
335        Index:  1.764e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
336        Scale:  5.749e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  1.121e+00  1.230e-01  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  1.170e+00  3.088e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 152.572 -31.321
Photon Flux Upper Limit: 7.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/694722/likelihoodResults_314236801_314496001_4FGL_J1010.2-3119_daily_bin289.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) = 6807.37622964
delta logL = -0.000460644600935

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6807.375769
delta logL = -7.70342012402e-10

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 'Index     '    1.7654       1.0000          .0000       10.000    
     3 'Normalizat'    1.1699       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1211       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6807.376     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      206 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    38.727        .90712E-02** at limit **
   2  Index         1.7673        5.4251        .50000       -.15733E-05
   3  Normalizat    1.1699        .14326E-01    .93600E-01    .18186E-04
   4  Prefactor     1.1211        .57996E-02    .36836E-01   -.39412E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.76733
  Normalizat = 1.16993
  Prefactor  = 1.12106
 **********
 **   18 **HESSE 
 **********

 FCN=   6807.376     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      239 TOTAL
                     EDM=   .78E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    347.45        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7673        5.9699        .50000       -.70303    
   3  Normalizat    1.1699        .44436E-01    .41463E-03   -.87537    
   4  Prefactor     1.1211        .18034E-01    .17008E-03   -.88796    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.77285e-11
Minuit parameter uncertainties:
  1  7.74498e-06
  2  22.2827
  3  0.0444377
  4  0.0180341
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/694722': 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) = 6807.375769
delta logL = 1.39880285133e-09

Extracting fit parameters...

4FGL J1010.2-3119
   Spectrum: PowerLaw
334    Prefactor:  1.000e-04  7.745e-06  1.000e-04  1.000e+04 ( 1.000e-14)
335        Index:  1.767e+00  2.228e+01  0.000e+00  1.000e+01 (-1.000e+00)
336        Scale:  5.749e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  1.121e+00  1.803e-02  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  1.170e+00  4.444e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 152.572 -31.321

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/694722/cmap_HighResolution_314236801_314496001_4FGL_J1010.2-3119_daily_bin289.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.30e-03', job_status='DONE', photon_flux_upper_limit='7.22e-08', time_completed='2021-09-01 12:03:23.841020', job_id='694722', GAL2='1.12', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1630523003.84', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.40e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.76' WHERE bin_id='289' AND source_name='4FGL J1010.2-3119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:03:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 694722: <4FGL_J1010.2-3119_daily_bin289> in cluster <slac> Done

Job <4FGL_J1010.2-3119_daily_bin289> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  1 11:50:53 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 11:50:55 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 11:50:55 2021
Terminated at Wed Sep  1 12:03:24 2021
Results reported at Wed Sep  1 12:03:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1010.2-3119_daily_bin289 152.572 -31.3207 314236801 314496001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1010.2-3119 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   632.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             320.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            751 sec.

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

