aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 110 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 = 74146
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0720.0-3507_monthly_bin168
RA = 110.004, Dec = -35.1226
tmin = 672451201, tmax = 675043201
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='622654', job_status='RUN', time_executed='2022-05-24 02:28:05.816476', time_epoch_executed='1653384485.82' WHERE source_name='4FGL J0720.0-3507' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/622654

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/622654/ft1_4FGL_J0720.0-3507_monthly_bin168.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/622654/ft2_4FGL_J0720.0-3507_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/622654/ft1_4FGL_J0720.0-3507_monthly_bin168.fits outfile=/scratch/kocevski/622654/ft1_filteredMKT_4FGL_J0720.0-3507_monthly_bin168.fits ra=110.004 dec=-35.1226 rad=12.0 tmin=672451201.0 tmax=675043201.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 29.06
user 28.37
sys 0.61

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/622654/ft2_4FGL_J0720.0-3507_monthly_bin168.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/622654/ft2_4FGL_J0720.0-3507_monthly_bin168.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/622654/ft1_filteredMKT_4FGL_J0720.0-3507_monthly_bin168.fits evtable="EVENTS" outfile="/scratch/kocevski/622654/ft1_filtered_4FGL_J0720.0-3507_monthly_bin168.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.90
user 0.70
sys 0.18

Number of photons that the gtmktime cut: 26027

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/622654/ft1_filtered_4FGL_J0720.0-3507_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/622654/ft2_4FGL_J0720.0-3507_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/622654/ltcube_672451201_675043201_4FGL_J0720.0-3507_monthly_bin168.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/622654/ft2_4FGL_J0720.0-3507_monthly_bin168.fits
.....................!
real 159.51
user 158.31
sys 0.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/622654/ft1_filtered_4FGL_J0720.0-3507_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/622654/ft2_4FGL_J0720.0-3507_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/622654/ltcube_672451201_675043201_4FGL_J0720.0-3507_monthly_bin168.fits outfile=/scratch/kocevski/622654/expmap_672451201_675043201_4FGL_J0720.0-3507_monthly_bin168.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/622654/ltcube_672451201_675043201_4FGL_J0720.0-3507_monthly_bin168.fits
.....................!
real 192.39
user 186.46
sys 5.46

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 Puppis A in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
Added 212 point sources and 3 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 J0720.0-3507 @ 110.004 -35.1226

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/622654/ft1_filtered_4FGL_J0720.0-3507_monthly_bin168.fits scfile=/scratch/kocevski/622654/ft2_4FGL_J0720.0-3507_monthly_bin168.fits outfile=/scratch/kocevski/622654/cmap_672451201_675043201_4FGL_J0720.0-3507_monthly_bin168.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=110.004 yref=-35.1226 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.82
user 0.69
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/622654/ft1_filtered_4FGL_J0720.0-3507_monthly_bin168.fits scfile=/scratch/kocevski/622654/ft2_4FGL_J0720.0-3507_monthly_bin168.fits outfile=/scratch/kocevski/622654/cmap_HighResolution_672451201_675043201_4FGL_J0720.0-3507_monthly_bin168.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=110.004 yref=-35.1226 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.83
user 0.66
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/622654/ft1_filtered_4FGL_J0720.0-3507_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/622654/ft2_4FGL_J0720.0-3507_monthly_bin168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/622654/Model_4FGL_J0720.0-3507_monthly_bin168.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 Puppis A
adding source Vela Junior
adding source Vela X
Working on...
/scratch/kocevski/622654/ft1_filtered_4FGL_J0720.0-3507_monthly_bin168.fits.....................!
real 3298.01
user 3286.76
sys 2.71

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/622654/ft1_filtered_4FGL_J0720.0-3507_monthly_bin168.fits', '/scratch/kocevski/622654/ft2_4FGL_J0720.0-3507_monthly_bin168.fits', expMap='/scratch/kocevski/622654/expmap_672451201_675043201_4FGL_J0720.0-3507_monthly_bin168.fits', expCube='/scratch/kocevski/622654/ltcube_672451201_675043201_4FGL_J0720.0-3507_monthly_bin168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/622654/Model_4FGL_J0720.0-3507_monthly_bin168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0720.0-3507'

4FGL J0720.0-3507
   Spectrum: PowerLaw
322    Prefactor:  4.079e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
323        Index:  2.499e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
324        Scale:  1.048e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/622654/ft1_filtered_4FGL_J0720.0-3507_monthly_bin168.fits
Spacecraft file(s): /scratch/kocevski/622654/ft2_4FGL_J0720.0-3507_monthly_bin168.fits
Exposure map: /scratch/kocevski/622654/expmap_672451201_675043201_4FGL_J0720.0-3507_monthly_bin168.fits
Exposure cube: /scratch/kocevski/622654/ltcube_672451201_675043201_4FGL_J0720.0-3507_monthly_bin168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/622654/Model_4FGL_J0720.0-3507_monthly_bin168.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) = 252588.229671

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27705E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.7544       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2767       1.0000         .10000E-03   10000.    
     4 'norm      '    .10352E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.5107       1.0000         .10000E-03   10000.    
     6 'norm      '    .15749E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.3799       1.0000         .10000E-03   10000.    
     8 'norm      '    12.372       1.0000         .10000E-03   10000.    
     9 'norm      '    .64565E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10280E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.4834       1.0000         .10000E-03   10000.    
    12 'norm      '    2.1906       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .17337E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.3972       1.0000         .10000E-03   10000.    
    15 'norm      '    14.706       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0484       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0366       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   252587.1     FROM MIGRAD    STATUS=CONVERGED    396 CALLS     1482 TOTAL
                     EDM=   .35E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10002E-03    .66540         .0000    ** at limit **
   2  Prefactor     5.7564        1.3281         .0000        .15565E-02
   3  Prefactor     1.2750        1.0567         .0000        .88167    
   4  norm          .10000E-03    .34209         .0000    ** at limit **
   5  Prefactor     1.5127        1.1727         .0000        .50137E-02
   6  norm          .10000E-03    6.0702         .0000    ** at limit **
   7  norm          5.4353        6.8678         .0000       -.96681E-03
   8  norm          12.366        3.0528         .0000        .15934E-02
   9  norm          .19265        .74832         .0000        .55417E-02
  10  Prefactor     .10000E-03    2.1208         .0000    ** at limit **
  11  Prefactor     4.4639        3.8256         .0000        .18571E-02
  12  norm          2.1933        2.7272         .0000        .64332E-01
  13  Prefactor     .10000E-03    3.8276         .0000    ** at limit **
  14  Prefactor     9.4128        3.4015         .0000        .71431E-02
  15  norm          14.734        7.2912         .0000        .19869E-02
  16  Normalizat    1.0481        .60890E-01     .0000        .59012E-03
  17  Prefactor     1.0366        .11115E-01     .0000        .22366E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100022
  Prefactor  = 5.75636
  Prefactor  = 1.27501
  norm       = 0.0001
  Prefactor  = 1.51275
  norm       = 0.0001
  norm       = 5.43534
  norm       = 12.3663
  norm       = 0.192655
  Prefactor  = 0.0001
  Prefactor  = 4.46395
  norm       = 2.19328
  Prefactor  = 0.0001
  Prefactor  = 9.41278
  norm       = 14.7337
  Normalizat = 1.04815
  Prefactor  = 1.03659
 **********
 **   18 **HESSE 
 **********

 FCN=   252587.1     FROM HESSE     STATUS=OK           255 CALLS     1737 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10002E-03    .75347        .17508       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.7564        1.3278        .16744E-03   -1.5228    
   3  Prefactor     1.2750        1.0538        .19660E-02   -1.5482    
   4  norm          .10000E-03    .31205        .10134       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.5127        1.1617        .34799E-03   -1.5462    
   6  norm          .10000E-03    6.1483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.4353        6.8627        .17326E-03   -1.5242    
   8  norm          12.366        3.0552        .11389E-03   -1.5005    
   9  norm          .19265        .77918        .14305       -1.5620    
  10  Prefactor     .10000E-03    2.1920        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.4639        3.8191        .19016E-03   -1.5285    
  12  norm          2.1933        2.7204        .13903E-02   -1.5412    
  13  Prefactor     .10000E-03    3.9271        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.4128        3.4082        .13073E-03   -1.5094    
  15  norm          14.734        7.2920        .10445E-03   -1.4940    
  16  Normalizat    1.0481        .62214E-01    .64217E-03   -.91434    
  17  Prefactor     1.0366        .11510E-01    .12525E-03   -.91519    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28016e-07
Minuit parameter uncertainties:
  1  0.00026019
  2  1.32781
  3  1.05385
  4  8.86467e-06
  5  1.16172
  6  4.18501e-05
  7  6.86365
  8  3.05523
  9  0.774703
  10  1.98009e-05
  11  3.81932
  12  2.72057
  13  2.26724e-05
  14  3.40831
  15  7.29248
  16  0.0622188
  17  0.0115096
Done.

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

Extracting fit parameters...

4FGL J0720.0-3507
   Spectrum: PowerLaw
322    Prefactor:  1.000e-04  1.980e-05  1.000e-04  1.000e+04 ( 1.000e-13)
323        Index:  2.499e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
324        Scale:  1.048e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
711    Prefactor:  1.037e+00  1.151e-02  0.000e+00  1.000e+01 ( 1.000e+00)
712        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
713        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
710   Normalization:  1.048e+00  6.222e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 110.004 -35.123
Photon Flux Upper Limit: 1.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/622654/likelihoodResults_672451201_675043201_4FGL_J0720.0-3507_monthly_bin168.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) = 252587.096657
delta logL = -0.00217861085548

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 252587.094475
delta logL = 3.27406451106e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   252587.1     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      263 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10134E-03    .50228E-01    .17668    ** at limit **
   2  Index         1.7630        8.3838        .50000       -.86584E-06
   3  Normalizat    1.0481        .46261E-03    .14452        .90204E-03
   4  Prefactor     1.0366        .90217E-04    .28340E-01   -.48705E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101337
  Index      = 1.76304
  Normalizat = 1.04815
  Prefactor  = 1.03659
 **********
 **   18 **HESSE 
 **********

 FCN=   252587.1     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      306 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10134E-03    .50888E-01    .17543       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7630        8.4094        .50000       -.70416    
   3  Normalizat    1.0481        .46198E-03    .64217E-03   -.91434    
   4  Prefactor     1.0366        .90626E-04    .12525E-03   -.91519    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59384e-11
Minuit parameter uncertainties:
  1  0.000521755
  2  12.3317
  3  0.000461978
  4  9.06263e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/622654': 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) = 252587.094455
delta logL = 2.30659497902e-05

Extracting fit parameters...

4FGL J0720.0-3507
   Spectrum: PowerLaw
322    Prefactor:  1.013e-04  5.218e-04  1.000e-04  1.000e+04 ( 1.000e-13)
323        Index:  1.763e+00  1.233e+01  0.000e+00  1.000e+01 (-1.000e+00)
324        Scale:  1.048e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
711    Prefactor:  1.037e+00  9.063e-05  0.000e+00  1.000e+01 ( 1.000e+00)
712        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
713        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
710   Normalization:  1.048e+00  4.620e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 110.004 -35.123

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /scratch/kocevski/622654/cmap_HighResolution_672451201_675043201_4FGL_J0720.0-3507_monthly_bin168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.12e-03', job_status='DONE', photon_flux_upper_limit='1.44e-08', time_completed='2022-05-24 06:40:17.112408', job_id='622654', GAL2='1.04', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1653399617.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='2.31e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='168' AND source_name='4FGL J0720.0-3507' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue May 24 06:40:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 622654: <4FGL_J0720.0-3507_monthly_bin168> in cluster <slac> Done

Job <4FGL_J0720.0-3507_monthly_bin168> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue May 24 02:25:33 2022
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 02:26:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 02:26:07 2022
Terminated at Tue May 24 06:40:19 2022
Results reported at Tue May 24 06:40:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0720.0-3507_monthly_bin168 110.004 -35.1226 672451201 675043201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0720.0-3507 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   15067.00 sec.
    Max Memory :                                 783 MB
    Average Memory :                             716.02 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   15251 sec.
    Turnaround time :                            15286 sec.

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

