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


Performing analysis on: 4FGL_J0703.3-0050_daily_bin1510
RA = 105.837, Dec = -0.8436
tmin = 630720001, tmax = 630979201
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='91473', job_status='RUN', time_executed='2021-08-26 17:15:45.624140', time_epoch_executed='1630023345.62' WHERE source_name='4FGL J0703.3-0050' and cadence='daily' and bin_id='1510'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/91473

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/91473/ft1_4FGL_J0703.3-0050_daily_bin1510.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/91473/ft2_4FGL_J0703.3-0050_daily_bin1510.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/91473/ft1_4FGL_J0703.3-0050_daily_bin1510.fits outfile=/scratch/kocevski/91473/ft1_filteredMKT_4FGL_J0703.3-0050_daily_bin1510.fits ra=105.837 dec=-0.8436 rad=12.0 tmin=630720001.0 tmax=630979201.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 11.66
user 2.70
sys 8.82

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/91473/ft2_4FGL_J0703.3-0050_daily_bin1510.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/91473/ft2_4FGL_J0703.3-0050_daily_bin1510.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/91473/ft1_filteredMKT_4FGL_J0703.3-0050_daily_bin1510.fits evtable="EVENTS" outfile="/scratch/kocevski/91473/ft1_filtered_4FGL_J0703.3-0050_daily_bin1510.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 9.22
user 0.35
sys 8.76

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/91473/ft1_filtered_4FGL_J0703.3-0050_daily_bin1510.fits" evtable="EVENTS" scfile=/scratch/kocevski/91473/ft2_4FGL_J0703.3-0050_daily_bin1510.fits sctable="SC_DATA" outfile=/scratch/kocevski/91473/ltcube_630720001_630979201_4FGL_J0703.3-0050_daily_bin1510.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/91473/ft2_4FGL_J0703.3-0050_daily_bin1510.fits
.....................!
real 23.20
user 12.68
sys 10.03

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/91473/ft1_filtered_4FGL_J0703.3-0050_daily_bin1510.fits evtable="EVENTS" scfile=/scratch/kocevski/91473/ft2_4FGL_J0703.3-0050_daily_bin1510.fits sctable="SC_DATA" expcube=/scratch/kocevski/91473/ltcube_630720001_630979201_4FGL_J0703.3-0050_daily_bin1510.fits outfile=/scratch/kocevski/91473/expmap_630720001_630979201_4FGL_J0703.3-0050_daily_bin1510.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/91473/ltcube_630720001_630979201_4FGL_J0703.3-0050_daily_bin1510.fits
.....................!
real 203.84
user 187.33
sys 15.12

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.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 158 point sources and 2 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 J0703.3-0050 @ 105.837 -0.8436

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/91473/ft1_filtered_4FGL_J0703.3-0050_daily_bin1510.fits scfile=/scratch/kocevski/91473/ft2_4FGL_J0703.3-0050_daily_bin1510.fits outfile=/scratch/kocevski/91473/cmap_630720001_630979201_4FGL_J0703.3-0050_daily_bin1510.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=105.837 yref=-0.8436 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 8.84
user 0.38
sys 8.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/91473/ft1_filtered_4FGL_J0703.3-0050_daily_bin1510.fits scfile=/scratch/kocevski/91473/ft2_4FGL_J0703.3-0050_daily_bin1510.fits outfile=/scratch/kocevski/91473/cmap_HighResolution_630720001_630979201_4FGL_J0703.3-0050_daily_bin1510.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=105.837 yref=-0.8436 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 8.82
user 0.38
sys 8.42

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/91473/ft1_filtered_4FGL_J0703.3-0050_daily_bin1510.fits evtable="EVENTS" scfile=/scratch/kocevski/91473/ft2_4FGL_J0703.3-0050_daily_bin1510.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/91473/Model_4FGL_J0703.3-0050_daily_bin1510.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 Monoceros
adding source Rosette
Working on...
/scratch/kocevski/91473/ft1_filtered_4FGL_J0703.3-0050_daily_bin1510.fits......................!
real 60.56
user 47.93
sys 12.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/91473/ft1_filtered_4FGL_J0703.3-0050_daily_bin1510.fits', '/scratch/kocevski/91473/ft2_4FGL_J0703.3-0050_daily_bin1510.fits', expMap='/scratch/kocevski/91473/expmap_630720001_630979201_4FGL_J0703.3-0050_daily_bin1510.fits', expCube='/scratch/kocevski/91473/ltcube_630720001_630979201_4FGL_J0703.3-0050_daily_bin1510.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/91473/Model_4FGL_J0703.3-0050_daily_bin1510.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0703.3-0050'

4FGL J0703.3-0050
   Spectrum: LogParabola
249         norm:  5.472e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
250        alpha:  2.189e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
251         beta:  1.965e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
252           Eb:  1.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/91473/ft1_filtered_4FGL_J0703.3-0050_daily_bin1510.fits
Spacecraft file(s): /scratch/kocevski/91473/ft2_4FGL_J0703.3-0050_daily_bin1510.fits
Exposure map: /scratch/kocevski/91473/expmap_630720001_630979201_4FGL_J0703.3-0050_daily_bin1510.fits
Exposure cube: /scratch/kocevski/91473/ltcube_630720001_630979201_4FGL_J0703.3-0050_daily_bin1510.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/91473/Model_4FGL_J0703.3-0050_daily_bin1510.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) = 2528.38536912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0394       1.0000         .10000E-03   10000.    
     2 'norm      '    7.8016       1.0000         .10000E-03   10000.    
     3 'norm      '    29.085       1.0000         .10000E-03   10000.    
     4 'norm      '    214.25       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.0270       1.0000         .10000E-03   10000.    
     6 'norm      '    .70405E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10092E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.7217       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .81148E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .58109E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.4671       1.0000         .10000E-03   10000.    
    12 'norm      '    34.814       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .15087E-02   1.0000         .10000E-03   10000.    
    14 'Normalizat'    .71139E-01   1.0000         .10000E-01   10.000    
    15 'Prefactor '    .94998       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2522.132     FROM MIGRAD    STATUS=CONVERGED    152 CALLS      381 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9843        10.593       -.79584E-05   -.77002E-05
   2  norm          7.8016        1.0021         .0000         .0000    
   3  norm          30.618        40.810       -.92313E-05   -.37992E-03
   4  norm          211.79        36.060       -.14267E-05    .42706E-01
   5  Prefactor     .97706E-03    785.92       -.33928E-04** at limit **
   6  norm          .10000E-03    11.163       -.31906E-05** at limit **
   7  norm          .10000E-03    7.7366        .24414E-05** at limit **
   8  Prefactor     .12219E-03    208.69        .32557E-04** at limit **
   9  Prefactor     .10000E-03    12.868       -.88972E-05** at limit **
  10  Prefactor     .10000E-03    31.699       -.19226E-04** at limit **
  11  Prefactor     .10951E-03    169.71        .43902E-04** at limit **
  12  norm          34.862        16.939       -.37278E-05   -.21303E-04
  13  Prefactor     .10000E-03    51.132       -.38768E-05** at limit **
  14  Normalizat    .72291E-01    6.5794       -.87638E-05   -.70208E-06
  15  Prefactor     .94927        .11475        .90785E-05    .75392E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.98428
  norm       = 7.80156
  norm       = 30.6184
  norm       = 211.789
  Prefactor  = 0.000977058
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000122186
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010951
  norm       = 34.8617
  Prefactor  = 0.0001
  Normalizat = 0.0722908
  Prefactor  = 0.94927
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2522.132     FROM HESSE     STATUS=FAILED        15 CALLS      396 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9843        10.039        .40845E-02   -1.5219    
   2  norm          506.79        498.95         .0000       -1.5149    
   3  norm          30.618        1.0261       -.92313E-05   -1.4601    
   4  norm          211.79        .99437       -.14267E-05   -1.2787    
   5  Prefactor     .97706E-03    .50260E-01   -.33928E-04   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .27500       -.31906E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .20571        .24414E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12219E-03    .53581E-01    .32557E-04   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    .27284       -.88972E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    .27775       -.19226E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10951E-03    .46143E-01    .43902E-04   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          34.862        1.0008       -.37278E-05   -1.4526    
  13  Prefactor     .10000E-03    .26179       -.38768E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .72291E-01    .26776       -.87638E-05   -1.7289    
  15  Prefactor     .94927        1.2918        .90785E-05   -.94440    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.71298e-10
Minuit parameter uncertainties:
  1  10.0415
  2  1.00207
  3  1.0261
  4  0.99437
  5  0.0132787
  6  3.61328e-07
  7  9.27233e-07
  8  0.0021806
  9  3.05925e-06
  10  2.89299e-06
  11  0.00132486
  12  1.00078
  13  5.91485e-06
  14  0.260296
  15  1.33774
Done.

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

Extracting fit parameters...

4FGL J0703.3-0050
   Spectrum: LogParabola
249         norm:  2.118e+02  9.944e-01  1.000e-04  1.000e+04 ( 1.000e-13)
250        alpha:  2.189e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
251         beta:  1.965e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
252           Eb:  1.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  9.493e-01  1.338e+00  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  7.229e-02  2.603e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.43
Ra Dec: 105.837 -0.844
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 3.42e-07 +/- 1.60e-09
Energy Flux (Fixed Index): 1.97e-04 +/- 9.24e-07

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) = 2522.0325624
delta logL = 0.0996904433723

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2522.0317751
delta logL = 0.100477750547

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    248.21       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8490       1.0000          .0000       5.0000    
     3 'Normalizat'    .81075E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95034       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+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=   2522.032     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      314 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          248.26        201.27        .12855E-03    .62790E-06
   2  alpha         1.8494        .74394        .13079E-01    .34741E-04
   3  Normalizat    .81872E-01    5.8133        .19294E-01    .10358E-03
   4  Prefactor     .95028        .11893        .12262E-03   -.28696E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 248.258
  alpha      = 1.8494
  Normalizat = 0.0818723
  Prefactor  = 0.95028
 **********
 **   18 **HESSE 
 **********

 FCN=   2522.032     FROM HESSE     STATUS=OK            27 CALLS      341 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          248.26        200.26        .25710E-04   -1.2544    
   2  alpha         1.8494        .74033        .26158E-02   -.26327    
   3  Normalizat    .81872E-01    2.1231        .38587E-02   -1.4010    
   4  Prefactor     .95028        .11224        .49046E-05   -.94406    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40376e-12
Minuit parameter uncertainties:
  1  200.812
  2  0.752455
  3  0.815426
  4  0.112266
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/91473': 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) = 2522.03177431
delta logL = 0.100478541181

Extracting fit parameters...

4FGL J0703.3-0050
   Spectrum: LogParabola
249         norm:  2.483e+02  2.008e+02  1.000e-04  1.000e+04 ( 1.000e-13)
250        alpha:  1.849e+00  7.525e-01  0.000e+00  5.000e+00 ( 1.000e+00)
251         beta:  1.965e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
252           Eb:  1.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  9.503e-01  1.123e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  8.187e-02  8.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.64
Ra Dec: 105.837 -0.844
Photon Index (Free Index): 1.85 +/- 0.75
Photon Flux (Free Index): 2.48e-07 +/- 2.64e-07
Energy Flux (Free Index): 2.38e-04 +/- 2.26e-04

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/91473/cmap_HighResolution_630720001_630979201_4FGL_J0703.3-0050_daily_bin1510.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.42e-07', energy_flux2='2.38e-04', photon_flux_error='1.60e-09', dlogl='1.00e-01', energy_flux='1.97e-04', photon_flux2='2.48e-07', job_status='DONE', time_completed='2021-08-26 17:24:04.148219', photon_index_error2='0.75', photon_index2='1.85', ts='5.43', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='2.26e-04', EG='0.07', time_epoch_completed='1630023844.15', return_code='101', job_id='91473', GAL2='0.95', EG2='0.08', return_code2='0', energy_flux_error='9.24e-07', photon_flux_error2='2.64e-07', ts2='5.64', photon_index='2.19' WHERE bin_id='1510' AND source_name='4FGL J0703.3-0050' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 17:24:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0160>
Subject: Job 91473: <4FGL_J0703.3-0050_daily_bin1510> in cluster <slac> Done

Job <4FGL_J0703.3-0050_daily_bin1510> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Aug 26 17:10:25 2021
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 17:10:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 17:10:27 2021
Terminated at Thu Aug 26 17:24:06 2021
Results reported at Thu Aug 26 17:24:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0703.3-0050_daily_bin1510 105.837 -0.8436 630720001 630979201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0703.3-0050 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   628.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             211.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            821 sec.

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

