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


Performing analysis on: 4FGL_J1010.2-3119_daily_bin1328
RA = 152.572, Dec = -31.3207
tmin = 583545601, tmax = 583804801
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='699694', job_status='RUN', time_executed='2021-09-01 12:09:09.978791', time_epoch_executed='1630523349.98' WHERE source_name='4FGL J1010.2-3119' and cadence='daily' and bin_id='1328'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/699694

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/699694/ft1_4FGL_J1010.2-3119_daily_bin1328.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/699694/ft2_4FGL_J1010.2-3119_daily_bin1328.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/699694/ft1_4FGL_J1010.2-3119_daily_bin1328.fits outfile=/scratch/kocevski/699694/ft1_filteredMKT_4FGL_J1010.2-3119_daily_bin1328.fits ra=152.572 dec=-31.3207 rad=12.0 tmin=583545601.0 tmax=583804801.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.53
user 3.26
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/699694/ft2_4FGL_J1010.2-3119_daily_bin1328.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/699694/ft1_filteredMKT_4FGL_J1010.2-3119_daily_bin1328.fits evtable="EVENTS" outfile="/scratch/kocevski/699694/ft1_filtered_4FGL_J1010.2-3119_daily_bin1328.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.51
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/699694/ft1_filtered_4FGL_J1010.2-3119_daily_bin1328.fits" evtable="EVENTS" scfile=/scratch/kocevski/699694/ft2_4FGL_J1010.2-3119_daily_bin1328.fits sctable="SC_DATA" outfile=/scratch/kocevski/699694/ltcube_583545601_583804801_4FGL_J1010.2-3119_daily_bin1328.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/699694/ft2_4FGL_J1010.2-3119_daily_bin1328.fits
.....................!
real 17.13
user 16.72
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/699694/ft1_filtered_4FGL_J1010.2-3119_daily_bin1328.fits evtable="EVENTS" scfile=/scratch/kocevski/699694/ft2_4FGL_J1010.2-3119_daily_bin1328.fits sctable="SC_DATA" expcube=/scratch/kocevski/699694/ltcube_583545601_583804801_4FGL_J1010.2-3119_daily_bin1328.fits outfile=/scratch/kocevski/699694/expmap_583545601_583804801_4FGL_J1010.2-3119_daily_bin1328.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/699694/ltcube_583545601_583804801_4FGL_J1010.2-3119_daily_bin1328.fits
.....................!
real 196.01
user 187.49
sys 5.11

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/699694/ft1_filtered_4FGL_J1010.2-3119_daily_bin1328.fits scfile=/scratch/kocevski/699694/ft2_4FGL_J1010.2-3119_daily_bin1328.fits outfile=/scratch/kocevski/699694/cmap_583545601_583804801_4FGL_J1010.2-3119_daily_bin1328.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.58
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/699694/ft1_filtered_4FGL_J1010.2-3119_daily_bin1328.fits scfile=/scratch/kocevski/699694/ft2_4FGL_J1010.2-3119_daily_bin1328.fits outfile=/scratch/kocevski/699694/cmap_HighResolution_583545601_583804801_4FGL_J1010.2-3119_daily_bin1328.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/699694/ft1_filtered_4FGL_J1010.2-3119_daily_bin1328.fits evtable="EVENTS" scfile=/scratch/kocevski/699694/ft2_4FGL_J1010.2-3119_daily_bin1328.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/699694/Model_4FGL_J1010.2-3119_daily_bin1328.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/699694/ft1_filtered_4FGL_J1010.2-3119_daily_bin1328.fits.....................!
real 109.39
user 107.66
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/699694/ft1_filtered_4FGL_J1010.2-3119_daily_bin1328.fits', '/scratch/kocevski/699694/ft2_4FGL_J1010.2-3119_daily_bin1328.fits', expMap='/scratch/kocevski/699694/expmap_583545601_583804801_4FGL_J1010.2-3119_daily_bin1328.fits', expCube='/scratch/kocevski/699694/ltcube_583545601_583804801_4FGL_J1010.2-3119_daily_bin1328.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/699694/Model_4FGL_J1010.2-3119_daily_bin1328.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/699694/ft1_filtered_4FGL_J1010.2-3119_daily_bin1328.fits
Spacecraft file(s): /scratch/kocevski/699694/ft2_4FGL_J1010.2-3119_daily_bin1328.fits
Exposure map: /scratch/kocevski/699694/expmap_583545601_583804801_4FGL_J1010.2-3119_daily_bin1328.fits
Exposure cube: /scratch/kocevski/699694/ltcube_583545601_583804801_4FGL_J1010.2-3119_daily_bin1328.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/699694/Model_4FGL_J1010.2-3119_daily_bin1328.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) = 10228.7472165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.800       1.0000         .10000E-03   10000.    
     3 'norm      '    7.6204       1.0000         .10000E-03   10000.    
     4 'norm      '    .10371E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    15.515       1.0000         .10000E-03   10000.    
     6 'norm      '    5.7281       1.0000         .10000E-03   10000.    
     7 'norm      '    28.704       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.1968       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10480E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.3184       1.0000         .10000E-03   10000.    
    11 'norm      '    .10732E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10848E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.1107       1.0000         .10000E-03   10000.    
    14 'norm      '    6.6346       1.0000         .10000E-03   10000.    
    15 'Prefactor '    26.478       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .73648       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2063       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=   10228.70     FROM MIGRAD    STATUS=CONVERGED    381 CALLS     1891 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.2083       -.87125E-08** at limit **
   2  Prefactor     18.796        28.646        .83640E-06    .33091E-05
   3  norm          7.6207        6.4532        .86127E-07   -.65463E-05
   4  norm          .10000E-03    16.298        .96746E-06** at limit **
   5  norm          15.515        11.769        .94588E-07   -.13015E-06
   6  norm          5.7283        1.8015        .91050E-07    .36562E-04
   7  norm          28.705        11.453       -.19735E-06   -.92608E-04
   8  Prefactor     8.1542        27.661        .60996E-05    .81249E-05
   9  Prefactor     .10000E-03    19.133       -.65008E-06** at limit **
  10  norm          3.3294        9.8895        .24194E-05   -.38028E-04
  11  norm          .10007E-03    2.9266        .37383E-06** at limit **
  12  Prefactor     .10000E-03    12.234       -.24813E-06** at limit **
  13  Prefactor     4.1076        17.171        .23728E-06   -.17283E-04
  14  norm          6.6353        4.5555        .27656E-07   -.63167E-04
  15  Prefactor     26.473        16.884        .30684E-06    .15775E-05
  16  Prefactor     .10000E-03    1.8629        .53998E-07** at limit **
  17  Prefactor     .10000E-03    5.0199        .12441E-06** at limit **
  18  Normalizat    .73642        .24409       -.23600E-05   -.85057E-04
  19  Prefactor     1.2063        .93988E-01    .79430E-07   -.25953E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 18.7957
  norm       = 7.62074
  norm       = 0.0001
  norm       = 15.5147
  norm       = 5.72831
  norm       = 28.705
  Prefactor  = 8.15421
  Prefactor  = 0.0001
  norm       = 3.3294
  norm       = 0.000100072
  Prefactor  = 0.0001
  Prefactor  = 4.10757
  norm       = 6.63534
  Prefactor  = 26.4727
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.736416
  Prefactor  = 1.20634
 **********
 **   18 **HESSE 
 **********

 FCN=   10228.70     FROM HESSE     STATUS=OK           274 CALLS     2165 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.2151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.796        28.618        .92373E-04   -1.4841    
   3  norm          7.6207        6.4414        .14527E-03   -1.5156    
   4  norm          .10000E-03    16.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          15.515        11.765        .10168E-03   -1.4920    
   6  norm          5.7283        1.8000        .36266E-03   -1.5229    
   7  norm          28.705        11.431        .74779E-04   -1.4636    
   8  Prefactor     8.1542        27.689        .14003E-03   -1.5137    
   9  Prefactor     .10000E-03    19.481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.3294        9.9174        .11111E-02   -1.5343    
  11  norm          .10007E-03    26.485        .31919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.1076        16.773        .19883E-03   -1.5303    
  14  norm          6.6353        4.5064        .14926E-03   -1.5193    
  15  Prefactor     26.473        16.876        .77852E-04   -1.4678    
  16  Prefactor     .10000E-03    1.8817        .13464E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.0557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .73642        .25796        .48171E-03   -1.0247    
  19  Prefactor     1.2063        .10125        .16176E-03   -.86137    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.58986e-09
Minuit parameter uncertainties:
  1  4.57379e-07
  2  28.6388
  3  6.44201
  4  2.93546e-05
  5  11.7668
  6  1.79999
  7  11.4316
  8  27.7326
  9  9.54958e-05
  10  9.92232
  11  0.00277116
  12  3.83506e-06
  13  16.6088
  14  4.50663
  15  16.8786
  16  2.39296e-06
  17  9.2065e-06
  18  0.258382
  19  0.101265
Done.

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

Extracting fit parameters...

4FGL J1010.2-3119
   Spectrum: PowerLaw
334    Prefactor:  1.000e-04  9.550e-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.206e+00  1.013e-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:  7.364e-01  2.584e-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: 6.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/699694/likelihoodResults_583545601_583804801_4FGL_J1010.2-3119_daily_bin1328.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) = 10228.7027546
delta logL = -0.000244621985985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10228.702508
delta logL = 2.01019065571e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15751E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8963       1.0000          .0000       10.000    
     3 'Normalizat'    .73622       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2064       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10227.29     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      256 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21148        .67809        .56847E-05   -.53173E-02
   2  Index         3.4709        .91127       -.68308E-04   -.34592E-03
   3  Normalizat    .61375        .25037        .12900E-04   -.31362E-03
   4  Prefactor     1.2306        .10303        .35168E-06   -.23715E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.211479
  Index      = 3.47088
  Normalizat = 0.613745
  Prefactor  = 1.23055
 **********
 **   18 **HESSE 
 **********

 FCN=   10227.29     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      295 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21148        1.5775        .65080E-02   -1.5616    
   2  Index         3.4709        1.2322        .62113E-01   -.31080    
   3  Normalizat    .61375        .52721E-01    .11807       -1.0740    
   4  Prefactor     1.2306        .21991E-01    .34481E-01   -.85396    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.7634e-09
Minuit parameter uncertainties:
  1  1.15495
  2  1.24642
  3  0.0527251
  4  0.0219909
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/699694': 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) = 10227.2933325
delta logL = 1.4091775205

Extracting fit parameters...

4FGL J1010.2-3119
   Spectrum: PowerLaw
334    Prefactor:  2.115e-01  1.155e+00  1.000e-04  1.000e+04 ( 1.000e-14)
335        Index:  3.471e+00  1.246e+00  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.231e+00  2.199e-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:  6.137e-01  5.273e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.06
Ra Dec: 152.572 -31.321
Photon Index (Free Index): 3.47 +/- 1.25
Photon Flux (Free Index): 1.10e-07 +/- 1.04e-07
Energy Flux (Free Index): 1.84e-05 +/- 2.36e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/699694/cmap_HighResolution_583545601_583804801_4FGL_J1010.2-3119_daily_bin1328.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.55e-03', comment='SUCCESS', energy_flux2='1.84e-05', dlogl='1.41e+00', photon_flux2='1.10e-07', job_status='DONE', time_completed='2021-09-01 12:23:12.968336', photon_index_error2='1.25', photon_index2='3.47', ts='-0.00', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', photon_flux_upper_limit='6.19e-08', energy_flux_error2='2.36e-05', EG='0.74', time_epoch_completed='1630524192.97', return_code='0', job_id='699694', GAL2='1.23', EG2='0.61', return_code2='102', photon_flux_error2='1.04e-07', ts2='3.06', photon_index='1.76' WHERE bin_id='1328' AND source_name='4FGL J1010.2-3119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:23:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 699694: <4FGL_J1010.2-3119_daily_bin1328> in cluster <slac> Done

Job <4FGL_J1010.2-3119_daily_bin1328> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep  1 12:06:44 2021
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:06:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 12:06:48 2021
Terminated at Wed Sep  1 12:23:13 2021
Results reported at Wed Sep  1 12:23:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1010.2-3119_daily_bin1328 152.572 -31.3207 583545601 583804801 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 :                                   839.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             284.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   985 sec.
    Turnaround time :                            989 sec.

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

