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 119 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 74089
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0700.5-6610_monthly_bin172
RA = 105.129, Dec = -66.1803
tmin = 682819201, tmax = 685411201
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='854755', job_status='RUN', time_executed='2022-09-21 01:13:14.498611', time_epoch_executed='1663747994.5' WHERE source_name='4FGL J0700.5-6610' and cadence='monthly' and bin_id='172'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/854755

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/854755/ft1_4FGL_J0700.5-6610_monthly_bin172.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/854755/ft2_4FGL_J0700.5-6610_monthly_bin172.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/854755/ft1_4FGL_J0700.5-6610_monthly_bin172.fits outfile=/scratch/kocevski/854755/ft1_filteredMKT_4FGL_J0700.5-6610_monthly_bin172.fits ra=105.129 dec=-66.1803 rad=12.0 tmin=682819201.0 tmax=685411201.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 35.04
user 33.79
sys 1.03

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/854755/ft2_4FGL_J0700.5-6610_monthly_bin172.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/854755/ft2_4FGL_J0700.5-6610_monthly_bin172.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/854755/ft1_filteredMKT_4FGL_J0700.5-6610_monthly_bin172.fits evtable="EVENTS" outfile="/scratch/kocevski/854755/ft1_filtered_4FGL_J0700.5-6610_monthly_bin172.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.91
user 0.69
sys 0.20

Number of photons that the gtmktime cut: 11575

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/854755/ft1_filtered_4FGL_J0700.5-6610_monthly_bin172.fits" evtable="EVENTS" scfile=/scratch/kocevski/854755/ft2_4FGL_J0700.5-6610_monthly_bin172.fits sctable="SC_DATA" outfile=/scratch/kocevski/854755/ltcube_682819201_685411201_4FGL_J0700.5-6610_monthly_bin172.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/854755/ft2_4FGL_J0700.5-6610_monthly_bin172.fits
.....................!
real 158.26
user 157.27
sys 0.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/854755/ft1_filtered_4FGL_J0700.5-6610_monthly_bin172.fits evtable="EVENTS" scfile=/scratch/kocevski/854755/ft2_4FGL_J0700.5-6610_monthly_bin172.fits sctable="SC_DATA" expcube=/scratch/kocevski/854755/ltcube_682819201_685411201_4FGL_J0700.5-6610_monthly_bin172.fits outfile=/scratch/kocevski/854755/expmap_682819201_685411201_4FGL_J0700.5-6610_monthly_bin172.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/854755/ltcube_682819201_685411201_4FGL_J0700.5-6610_monthly_bin172.fits
.....................!
real 195.80
user 189.77
sys 5.44

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 LMC-FarWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-30DorWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Extended source LMC-North in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-North.fits is the correct path to the extended template.
Added 201 point sources and 4 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 J0700.5-6610 @ 105.129 -66.1803

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/854755/ft1_filtered_4FGL_J0700.5-6610_monthly_bin172.fits scfile=/scratch/kocevski/854755/ft2_4FGL_J0700.5-6610_monthly_bin172.fits outfile=/scratch/kocevski/854755/cmap_682819201_685411201_4FGL_J0700.5-6610_monthly_bin172.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.129 yref=-66.1803 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.64
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/854755/ft1_filtered_4FGL_J0700.5-6610_monthly_bin172.fits scfile=/scratch/kocevski/854755/ft2_4FGL_J0700.5-6610_monthly_bin172.fits outfile=/scratch/kocevski/854755/cmap_HighResolution_682819201_685411201_4FGL_J0700.5-6610_monthly_bin172.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.129 yref=-66.1803 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.85
user 0.63
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/854755/ft1_filtered_4FGL_J0700.5-6610_monthly_bin172.fits evtable="EVENTS" scfile=/scratch/kocevski/854755/ft2_4FGL_J0700.5-6610_monthly_bin172.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/854755/Model_4FGL_J0700.5-6610_monthly_bin172.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 LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
Working on...
/scratch/kocevski/854755/ft1_filtered_4FGL_J0700.5-6610_monthly_bin172.fits.....................!
real 69090.01
user 68766.27
sys 121.63

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/854755/ft1_filtered_4FGL_J0700.5-6610_monthly_bin172.fits', '/scratch/kocevski/854755/ft2_4FGL_J0700.5-6610_monthly_bin172.fits', expMap='/scratch/kocevski/854755/expmap_682819201_685411201_4FGL_J0700.5-6610_monthly_bin172.fits', expCube='/scratch/kocevski/854755/ltcube_682819201_685411201_4FGL_J0700.5-6610_monthly_bin172.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/854755/Model_4FGL_J0700.5-6610_monthly_bin172.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0700.5-6610'

4FGL J0700.5-6610
   Spectrum: LogParabola
341         norm:  5.648e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
342        alpha:  1.964e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
343         beta:  7.777e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
344           Eb:  9.625e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/854755/ft1_filtered_4FGL_J0700.5-6610_monthly_bin172.fits
Spacecraft file(s): /scratch/kocevski/854755/ft2_4FGL_J0700.5-6610_monthly_bin172.fits
Exposure map: /scratch/kocevski/854755/expmap_682819201_685411201_4FGL_J0700.5-6610_monthly_bin172.fits
Exposure cube: /scratch/kocevski/854755/ltcube_682819201_685411201_4FGL_J0700.5-6610_monthly_bin172.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/854755/Model_4FGL_J0700.5-6610_monthly_bin172.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) = 120154.288736

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1300       1.0000          .0000       .10000E+07
     2 'norm      '    2.4920       1.0000          .0000       .10000E+07
     3 'Prefactor '    .15288E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .73024E-02   1.0000          .0000       .10000E+07
     5 'norm      '    1.6854       1.0000          .0000       .10000E+07
     6 'Prefactor '    .38775E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.9115       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.0355       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.7717       1.0000          .0000       .10000E+07
    10 'norm      '    .53218       1.0000          .0000       .10000E+07
    11 'Prefactor '    .37417       1.0000          .0000       .10000E+07
    12 'norm      '    1.5800       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.4828       1.0000          .0000       .10000E+07
    14 'norm      '    1.3304       1.0000          .0000       .10000E+07
    15 'Prefactor '    17.345       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.5994       1.0000          .0000       .10000E+07
    17 'Prefactor '    6.9777       1.0000          .0000       .10000E+07
    18 'norm      '    10.603       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1264       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0016       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   120154.1     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     1245 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0875        4.7384       -.11989E-06   -.10939E-02
   2  norm          2.4907        1.0531       -.37795E-06    .10359E-01
   3  Prefactor      .0000        5.0276        .44253E-06** at limit **
   4  norm          .66613E-09    29.661       -.12965E-05** at limit **
   5  norm          1.6853        1.6410       -.11356E-06   -.22848E-02
   6  Prefactor     .16098E-08    6.0745        .14296E-05** at limit **
   7  Prefactor     3.9086        2.8827        .84312E-07    .81500E-02
   8  Prefactor     2.0357        2.3657        .10528E-06    .35697E-03
   9  Prefactor     1.7701        2.0421        .11299E-07    .27320E-02
  10  norm          .53221        .57246       -.28432E-07    .90964E-04
  11  Prefactor     .39517        17.754       -.29196E-05   -.12980E-01
  12  norm          1.5796        .75556       -.75450E-07   -.20265E-02
  13  Prefactor     2.4799        2.3652       -.26123E-06    .25553E-02
  14  norm          1.3302        1.0042       -.15933E-06   -.25736E-02
  15  Prefactor     17.131        16.733        .12267E-05   -.21231E-01
  16  Prefactor     5.5975        2.0440       -.30795E-07   -.95602E-02
  17  Prefactor     7.0397        5.1832       -.18882E-06    .70384E-01
  18  norm          10.600        3.2519        .45984E-07   -.71211E-02
  19  Normalizat    1.1265        .71545E-01   -.37749E-06    .29957E-03
  20  Prefactor     1.0017        .26966E-01    .98483E-06    .78565E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.08754
  norm       = 2.49072
  Prefactor  = 0
  norm       = 6.66134e-10
  norm       = 1.68529
  Prefactor  = 1.60982e-09
  Prefactor  = 3.90861
  Prefactor  = 2.0357
  Prefactor  = 1.77014
  norm       = 0.532207
  Prefactor  = 0.395172
  norm       = 1.57962
  Prefactor  = 2.4799
  norm       = 1.33025
  Prefactor  = 17.1312
  Prefactor  = 5.59746
  Prefactor  = 7.03971
  norm       = 10.6
  Normalizat = 1.12647
  Prefactor  = 1.00166
 **********
 **   18 **HESSE 
 **********

 FCN=   120154.1     FROM HESSE     STATUS=OK           357 CALLS     1602 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0875        4.7506        .40526E-03   -1.5659    
   2  norm          2.4907        1.0562        .64721E-03   -1.5676    
   3  Prefactor      .0000        .47116        .69614E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .66613E-09    29.099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.6853        1.6596        .81084E-03   -1.5682    
   6  Prefactor     .16098E-08    6.1908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.9086        2.8992        .50988E-03   -1.5668    
   8  Prefactor     2.0357        2.3889        .72467E-03   -1.5679    
   9  Prefactor     1.7701        2.0628        .78637E-03   -1.5681    
  10  norm          .53221        .58482        .75536E-03   -1.5693    
  11  Prefactor     .39517        1.4978        .13217E-01   -1.5695    
  12  norm          1.5796        .76500        .84467E-03   -1.5683    
  13  Prefactor     2.4799        2.3855        .64853E-03   -1.5676    
  14  norm          1.3302        1.0200        .95179E-03   -1.5685    
  15  Prefactor     17.131        17.304        .24022E-03   -1.5625    
  16  Prefactor     5.5975        2.0509        .42431E-03   -1.5661    
  17  Prefactor     7.0397        11.520        .37955E-03   -1.5655    
  18  norm          10.600        3.3356        .30745E-03   -1.5643    
  19  Normalizat    1.1265        .63095E-01    .88272E-01   -.88907    
  20  Prefactor     1.0017        .23269E-01    .45106E-01   -.92674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.9624e-06
Minuit parameter uncertainties:
  1  4.75059
  2  1.05616
  3  5.90397e-06
  4  0.00027706
  5  1.65956
  6  0.000199091
  7  2.8992
  8  2.38891
  9  2.06283
  10  0.584824
  11  1.49781
  12  0.764998
  13  2.3855
  14  1.02001
  15  17.3045
  16  2.0509
  17  11.5198
  18  3.33556
  19  0.0630988
  20  0.0232693
Done.

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

Extracting fit parameters...

4FGL J0700.5-6610
   Spectrum: LogParabola
341         norm:  1.580e+00  7.650e-01  0.000e+00  1.000e+06 ( 1.000e-12)
342        alpha:  1.964e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
343         beta:  7.777e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
344           Eb:  9.625e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  1.002e+00  2.327e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.126e+00  6.310e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.29
Ra Dec: 105.129 -66.180
Photon Index (Fixed Index): 1.96 +/- 0.00
Photon Flux (Fixed Index): 1.16e-08 +/- 5.61e-09
Energy Flux (Fixed Index): 7.44e-06 +/- 3.60e-06

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) = 120153.787848
delta logL = 0.335169175116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 120153.760683
delta logL = 0.362333710145

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6595       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4062       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1155       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0032       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6690E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   120153.8     FROM MIGRAD    STATUS=FAILED        90 CALLS      252 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6593        .84201        .18067E-04   -.17116E-02
   2  alpha         2.4058        .56282        .34192E-01    .19244E-02
   3  Normalizat    1.1154        .70029E-01    .39263E-03   -.72458E-03
   4  Prefactor     1.0032        .26706E-01    .16019E-03   -.19156E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   120153.8     FROM SIMPLEX   STATUS=UNCHANGED     75 CALLS      327 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6593        .84201        .18690E-05   -1.5682    
   2  alpha         2.4058        .56282        .83004E-03   -.37695E-01
   3  Normalizat    1.1154        .70029E-01    .78469E-04   -.89259    
   4  Prefactor     1.0032        .26706E-01    .33503E-04   -.92621    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   120153.8     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      355 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6593        .77208        .72268E-06    .87570E-03
   2  alpha         2.4058        .51667        .68383E-02    .75278E-04
   3  Normalizat    1.1154        .69687E-01    .15705E-04    .46329E-05
   4  Prefactor     1.0032        .26667E-01    .32038E-04    .79487E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.65925
  alpha      = 2.40578
  Normalizat = 1.1154
  Prefactor  = 1.00325
 **********
 **   18 **HESSE 
 **********

 FCN=   120153.8     FROM HESSE     STATUS=OK            25 CALLS      380 TOTAL
                     EDM=   .60E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6593        .76306        .37389E-06   -1.5682    
   2  alpha         2.4058        .51025        .13677E-02   -.37695E-01
   3  Normalizat    1.1154        .69611E-01    .31410E-05   -.89259    
   4  Prefactor     1.0032        .26653E-01    .64076E-05   -.92621    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.97715e-13
Minuit parameter uncertainties:
  1  0.763062
  2  0.513863
  3  0.0696165
  4  0.0266537
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/854755': 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) = 120153.760681
delta logL = 0.362336068458

Extracting fit parameters...

4FGL J0700.5-6610
   Spectrum: LogParabola
341         norm:  1.659e+00  7.631e-01  0.000e+00  1.000e+06 ( 1.000e-12)
342        alpha:  2.406e+00  5.139e-01  0.000e+00  5.000e+00 ( 1.000e+00)
343         beta:  7.777e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
344           Eb:  9.625e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  1.003e+00  2.665e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.115e+00  6.962e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.04
Ra Dec: 105.129 -66.180
Photon Index (Free Index): 2.41 +/- 0.51
Photon Flux (Free Index): 2.20e-08 +/- 1.56e-08
Energy Flux (Free Index): 7.36e-06 +/- 3.08e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/854755/cmap_HighResolution_682819201_685411201_4FGL_J0700.5-6610_monthly_bin172.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.16e-08', energy_flux2='7.36e-06', photon_flux_error='5.61e-09', dlogl='3.62e-01', energy_flux='7.44e-06', photon_flux2='2.20e-08', job_status='DONE', time_completed='2022-09-21 21:39:02.352300', photon_index_error2='0.51', photon_index2='2.41', ts='8.29', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='3.08e-06', EG='1.13', time_epoch_completed='1663821542.35', return_code='0', job_id='854755', GAL2='1.00', EG2='1.12', return_code2='0', energy_flux_error='3.60e-06', photon_flux_error2='1.56e-08', ts2='9.04', photon_index='1.96' WHERE bin_id='172' AND source_name='4FGL J0700.5-6610' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Wed Sep 21 21:39:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 854755: <4FGL_J0700.5-6610_monthly_bin172> in cluster <slac> Done

Job <4FGL_J0700.5-6610_monthly_bin172> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 21 01:10:40 2022
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 21 01:11:05 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 21 01:11:05 2022
Terminated at Wed Sep 21 21:39:04 2022
Results reported at Wed Sep 21 21:39:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0700.5-6610_monthly_bin172 105.129 -66.1803 682819201 685411201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0700.5-6610 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   73361.00 sec.
    Max Memory :                                 650 MB
    Average Memory :                             629.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   73678 sec.
    Turnaround time :                            73704 sec.

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

