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


Performing analysis on: 4FGL_J1010.2-3119_daily_bin1082
RA = 152.572, Dec = -31.3207
tmin = 519782401, tmax = 520041601
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='699255', job_status='RUN', time_executed='2021-09-01 12:09:11.714922', time_epoch_executed='1630523351.71' WHERE source_name='4FGL J1010.2-3119' and cadence='daily' and bin_id='1082'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/699255

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/699255/ft1_4FGL_J1010.2-3119_daily_bin1082.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/699255/ft2_4FGL_J1010.2-3119_daily_bin1082.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/699255/ft1_4FGL_J1010.2-3119_daily_bin1082.fits outfile=/scratch/kocevski/699255/ft1_filteredMKT_4FGL_J1010.2-3119_daily_bin1082.fits ra=152.572 dec=-31.3207 rad=12.0 tmin=519782401.0 tmax=520041601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.55
user 3.30
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/699255/ft1_filtered_4FGL_J1010.2-3119_daily_bin1082.fits" evtable="EVENTS" scfile=/scratch/kocevski/699255/ft2_4FGL_J1010.2-3119_daily_bin1082.fits sctable="SC_DATA" outfile=/scratch/kocevski/699255/ltcube_519782401_520041601_4FGL_J1010.2-3119_daily_bin1082.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/699255/ft2_4FGL_J1010.2-3119_daily_bin1082.fits
.....................!
real 17.25
user 16.84
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/699255/ft1_filtered_4FGL_J1010.2-3119_daily_bin1082.fits evtable="EVENTS" scfile=/scratch/kocevski/699255/ft2_4FGL_J1010.2-3119_daily_bin1082.fits sctable="SC_DATA" expcube=/scratch/kocevski/699255/ltcube_519782401_520041601_4FGL_J1010.2-3119_daily_bin1082.fits outfile=/scratch/kocevski/699255/expmap_519782401_520041601_4FGL_J1010.2-3119_daily_bin1082.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/699255/ltcube_519782401_520041601_4FGL_J1010.2-3119_daily_bin1082.fits
.....................!
real 192.39
user 187.14
sys 4.52

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/699255/ft1_filtered_4FGL_J1010.2-3119_daily_bin1082.fits scfile=/scratch/kocevski/699255/ft2_4FGL_J1010.2-3119_daily_bin1082.fits outfile=/scratch/kocevski/699255/cmap_519782401_520041601_4FGL_J1010.2-3119_daily_bin1082.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.72
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/699255/ft1_filtered_4FGL_J1010.2-3119_daily_bin1082.fits scfile=/scratch/kocevski/699255/ft2_4FGL_J1010.2-3119_daily_bin1082.fits outfile=/scratch/kocevski/699255/cmap_HighResolution_519782401_520041601_4FGL_J1010.2-3119_daily_bin1082.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/699255/ft1_filtered_4FGL_J1010.2-3119_daily_bin1082.fits evtable="EVENTS" scfile=/scratch/kocevski/699255/ft2_4FGL_J1010.2-3119_daily_bin1082.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/699255/Model_4FGL_J1010.2-3119_daily_bin1082.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/699255/ft1_filtered_4FGL_J1010.2-3119_daily_bin1082.fits.....................!
real 103.52
user 102.02
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.763       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    8.6607       1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .26334       1.0000         .10000E-03   10000.    
     7 'norm      '    60.063       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    21.015       1.0000         .10000E-03   10000.    
    11 'norm      '    9.4480       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.1309       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.541       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2873       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0647       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=   9130.164     FROM MIGRAD    STATUS=CONVERGED    375 CALLS     1621 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.760        17.050       -.16214E-05   -.55114E-05
   2  Prefactor     .10000E-03    20.163       -.54838E-05** at limit **
   3  norm          .10000E-03    3.6938       -.74505E-07** at limit **
   4  norm          8.6597        15.263       -.90248E-06   -.10809E-04
   5  norm          .10000E-03    5.0785       -.34243E-05** at limit **
   6  norm          .26240        1.0896       -.74324E-07   -.23107E-03
   7  norm          60.062        17.130       -.36912E-06   -.24780E-04
   8  Prefactor     .10000E-03    7.8768        .22859E-05** at limit **
   9  Prefactor     .10000E-03    5.8067        .17849E-05** at limit **
  10  norm          21.014        12.343        .28295E-08   -.72893E-04
  11  norm          9.4469        8.6429        .25643E-07   -.13471E-03
  12  Prefactor     .10000E-03    4.6778        .17327E-05** at limit **
  13  Prefactor     .10000E-03    10.190       -.66729E-05** at limit **
  14  norm          .10000E-03    1.0285       -.73494E-08** at limit **
  15  Prefactor     .10000E-03    14.699        .88486E-05** at limit **
  16  Prefactor     3.1276        1.8060        .32429E-06   -.28499E-02
  17  Prefactor     14.541        14.874       -.18377E-06   -.10897E-03
  18  Normalizat    1.2875        .25011        .19359E-06    .22825E-04
  19  Prefactor     1.0646        .97018E-01    .16454E-06    .34782E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.7602
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.65968
  norm       = 0.0001
  norm       = 0.2624
  norm       = 60.0623
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 21.0139
  norm       = 9.44687
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.12756
  Prefactor  = 14.541
  Normalizat = 1.28748
  Prefactor  = 1.06461
 **********
 **   18 **HESSE 
 **********

 FCN=   9130.164     FROM HESSE     STATUS=OK           268 CALLS     1889 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.760        17.051        .82172E-04   -1.4733    
   2  Prefactor     .10000E-03    20.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    3.7353        .17929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          8.6597        15.290        .13621E-03   -1.5119    
   5  norm          .10000E-03    5.0993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .26240        2.2513        .18654E-02   -1.5606    
   7  norm          60.062        17.132        .51770E-04   -1.4156    
   8  Prefactor     .10000E-03    7.8844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.8132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          21.014        12.343        .43687E-03   -1.4791    
  11  norm          9.4469        8.6434        .65190E-03   -1.5093    
  12  Prefactor     .10000E-03    4.6819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.0334        .94626E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.1276        4.7849        .11456E-02   -1.5354    
  17  Prefactor     14.541        15.160        .52518E-03   -1.4945    
  18  Normalizat    1.2875        .28581        .40073E-03   -.83941    
  19  Prefactor     1.0646        .11139        .17617E-03   -.90606    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.00646e-08
Minuit parameter uncertainties:
  1  17.054
  2  2.87404e-05
  3  5.02556e-07
  4  15.2971
  5  1.56162e-05
  6  1.537
  7  17.1333
  8  1.37672e-05
  9  1.00752e-05
  10  12.344
  11  8.64458
  12  5.26877e-06
  13  3.76192e-05
  14  1.04029e-07
  15  4.3943e-05
  16  4.78546
  17  15.1643
  18  0.286162
  19  0.111413
Done.

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

Extracting fit parameters...

4FGL J1010.2-3119
   Spectrum: PowerLaw
334    Prefactor:  1.000e-04  1.008e-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.065e+00  1.114e-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.287e+00  2.862e-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: 4.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/699255/likelihoodResults_519782401_520041601_4FGL_J1010.2-3119_daily_bin1082.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) = 9130.16457228
delta logL = -0.000816536359707

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9130.16375563
delta logL = 1.16795490612e-07

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.7449       1.0000          .0000       10.000    
     3 'Normalizat'    1.2875       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0646       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9130.164     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      245 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10125E-03    29.095        .18142E-02** at limit **
   2  Index         1.6881        7.9722        .50000        .20263E-04
   3  Normalizat    1.2875        .13989E-01    .40073E-03    .19632E-04
   4  Prefactor     1.0646        .56976E-02    .17617E-03    .17294E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101252
  Index      = 1.68806
  Normalizat = 1.28748
  Prefactor  = 1.06461
 **********
 **   18 **HESSE 
 **********

 FCN=   9130.164     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .99E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10125E-03    258.61        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6881        6.2467        .50000       -.72400    
   3  Normalizat    1.2875        .43850E-01    .16029E-04   -.83941    
   4  Prefactor     1.0646        .17813E-01    .70469E-05   -.90606    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.93238e-08
Minuit parameter uncertainties:
  1  0.0361436
  2  596.83
  3  0.0438514
  4  0.0178129
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/699255': 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) = 9130.16375541
delta logL = 3.39932739735e-07

Extracting fit parameters...

4FGL J1010.2-3119
   Spectrum: PowerLaw
334    Prefactor:  1.013e-04  3.614e-02  1.000e-04  1.000e+04 ( 1.000e-14)
335        Index:  1.688e+00  5.968e+02  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.065e+00  1.781e-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.287e+00  4.385e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/699255/cmap_HighResolution_519782401_520041601_4FGL_J1010.2-3119_daily_bin1082.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.89e-08', time_completed='2021-09-01 12:21:40.629315', job_id='699255', GAL2='1.06', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1630524100.63', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='3.40e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.76' WHERE bin_id='1082' AND source_name='4FGL J1010.2-3119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:21:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 699255: <4FGL_J1010.2-3119_daily_bin1082> in cluster <slac> Done

Job <4FGL_J1010.2-3119_daily_bin1082> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep  1 12:06:01 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:06:04 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:04 2021
Terminated at Wed Sep  1 12:21:41 2021
Results reported at Wed Sep  1 12:21:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1010.2-3119_daily_bin1082 152.572 -31.3207 519782401 520041601 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 :                                   747.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             292.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            940 sec.

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

