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


Performing analysis on: 4FGL_J0738.1+1742_daily_bin1709
RA = 114.539, Dec = 17.7066
tmin = 682300801, tmax = 682560001
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='54253', job_status='RUN', time_executed='2022-09-16 13:09:58.102845', time_epoch_executed='1663358998.1' WHERE source_name='4FGL J0738.1+1742' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/54253

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/54253/ft1_4FGL_J0738.1+1742_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/54253/ft2_4FGL_J0738.1+1742_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/54253/ft1_4FGL_J0738.1+1742_daily_bin1709.fits outfile=/scratch/kocevski/54253/ft1_filteredMKT_4FGL_J0738.1+1742_daily_bin1709.fits ra=114.539 dec=17.7066 rad=12.0 tmin=682300801.0 tmax=682560001.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.74
user 3.52
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/54253/ft2_4FGL_J0738.1+1742_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/54253/ft2_4FGL_J0738.1+1742_daily_bin1709.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/54253/ft1_filteredMKT_4FGL_J0738.1+1742_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/54253/ft1_filtered_4FGL_J0738.1+1742_daily_bin1709.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.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 733

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/54253/ft1_filtered_4FGL_J0738.1+1742_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/54253/ft2_4FGL_J0738.1+1742_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/54253/ltcube_682300801_682560001_4FGL_J0738.1+1742_daily_bin1709.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/54253/ft2_4FGL_J0738.1+1742_daily_bin1709.fits
.....................!
real 15.43
user 15.06
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/54253/ft1_filtered_4FGL_J0738.1+1742_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/54253/ft2_4FGL_J0738.1+1742_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/54253/ltcube_682300801_682560001_4FGL_J0738.1+1742_daily_bin1709.fits outfile=/scratch/kocevski/54253/expmap_682300801_682560001_4FGL_J0738.1+1742_daily_bin1709.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/54253/ltcube_682300801_682560001_4FGL_J0738.1+1742_daily_bin1709.fits
.....................!
real 191.22
user 186.06
sys 4.79

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 IC 443 in ROI with RadialGaussian spatial model.
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 174 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 J0738.1+1742 @ 114.539 17.7066

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/54253/ft1_filtered_4FGL_J0738.1+1742_daily_bin1709.fits scfile=/scratch/kocevski/54253/ft2_4FGL_J0738.1+1742_daily_bin1709.fits outfile=/scratch/kocevski/54253/cmap_682300801_682560001_4FGL_J0738.1+1742_daily_bin1709.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=114.539 yref=17.7066 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/54253/ft1_filtered_4FGL_J0738.1+1742_daily_bin1709.fits scfile=/scratch/kocevski/54253/ft2_4FGL_J0738.1+1742_daily_bin1709.fits outfile=/scratch/kocevski/54253/cmap_HighResolution_682300801_682560001_4FGL_J0738.1+1742_daily_bin1709.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=114.539 yref=17.7066 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.60
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/54253/ft1_filtered_4FGL_J0738.1+1742_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/54253/ft2_4FGL_J0738.1+1742_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/54253/Model_4FGL_J0738.1+1742_daily_bin1709.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 IC 443
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/54253/ft1_filtered_4FGL_J0738.1+1742_daily_bin1709.fits.....................!
real 107.14
user 105.71
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/54253/ft1_filtered_4FGL_J0738.1+1742_daily_bin1709.fits', '/scratch/kocevski/54253/ft2_4FGL_J0738.1+1742_daily_bin1709.fits', expMap='/scratch/kocevski/54253/expmap_682300801_682560001_4FGL_J0738.1+1742_daily_bin1709.fits', expCube='/scratch/kocevski/54253/ltcube_682300801_682560001_4FGL_J0738.1+1742_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/54253/Model_4FGL_J0738.1+1742_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0738.1+1742'

4FGL J0738.1+1742
   Spectrum: LogParabola
277         norm:  2.808e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
278        alpha:  1.980e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
279         beta:  6.041e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
280           Eb:  1.540e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/54253/ft1_filtered_4FGL_J0738.1+1742_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/54253/ft2_4FGL_J0738.1+1742_daily_bin1709.fits
Exposure map: /scratch/kocevski/54253/expmap_682300801_682560001_4FGL_J0738.1+1742_daily_bin1709.fits
Exposure cube: /scratch/kocevski/54253/ltcube_682300801_682560001_4FGL_J0738.1+1742_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/54253/Model_4FGL_J0738.1+1742_daily_bin1709.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) = 8012.1645711

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31245E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.1185       1.0000          .0000       .10000E+07
     3 'norm      '    .70202E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .23399E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .27661E-05   1.0000          .0000       .10000E+07
     6 'norm      '    9.1936       1.0000          .0000       .10000E+07
     7 'norm      '    .45841E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .15196E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .32482E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    81.571       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.987       1.0000          .0000       .10000E+07
    12 'norm      '    .49525E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.7006       1.0000          .0000       .10000E+07
    14 'norm      '    15.190       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2800       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .83479       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8012.164     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1152 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        19.326        .39308E-07** at limit **
   2  Prefactor     7.1227        7.7614        .13426E-05    .25004E-02
   3  norm           .0000        2.8976        .11892E-06** at limit **
   4  Prefactor      .0000        4.0534        .11581E-06** at limit **
   5  norm           .0000        .35155        .22943E-07** at limit **
   6  norm          9.1946        2.4740        .70971E-07    .99485E-03
   7  norm           .0000        1.1915       -.10014E-06** at limit **
   8  Prefactor     .55511E-10    13.976       -.33126E-06** at limit **
   9  Prefactor     .11102E-09    5.9369       -.92295E-07** at limit **
  10  Prefactor     81.416        22.041       -.57668E-06   -.26147    
  11  Prefactor     11.983        4.4600       -.11888E-06   -.15631E-02
  12  norm           .0000        9.8007        .40238E-07** at limit **
  13  Prefactor     6.7086        13.315        .49058E-05    .28567E-01
  14  norm          16.003        155.92        .11611E-04   -.25259E-01
  15  Normalizat    1.2796        .22081       -.89692E-05   -.14542E-05
  16  Prefactor     .83485        .12382        .99211E-06   -.44291E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 7.12273
  norm       = 0
  Prefactor  = 0
  norm       = 0
  norm       = 9.19464
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  Prefactor  = 81.4158
  Prefactor  = 11.9826
  norm       = 0
  Prefactor  = 6.7086
  norm       = 16.0026
  Normalizat = 1.27958
  Prefactor  = 0.834851
 **********
 **   18 **HESSE 
 **********

 FCN=   8012.164     FROM HESSE     STATUS=OK           229 CALLS     1381 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        18.987        .16385E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.1227        7.7608        .37574E-03   -1.5655    
   3  norm           .0000        2.9017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.0548        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .34935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.1946        2.5024        .33030E-03   -1.5647    
   7  norm           .0000        1.1891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    13.967        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11102E-09    5.9368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     81.416        55.450        .11073E-03   -1.5527    
  11  Prefactor     11.983        4.4490        .28908E-03   -1.5639    
  12  norm           .0000        9.8004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.7086        13.302        .38740E-03   -1.5656    
  14  norm          16.003        175.31        .25672E-03   -1.5628    
  15  Normalizat    1.2796        .19554        .68359E-01   -.84178    
  16  Prefactor     .83485        .10813        .44168E-01   -.98456    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9191e-06
Minuit parameter uncertainties:
  1  5.12952e-06
  2  7.76084
  3  1.03586e-06
  4  5.26059e-06
  5  1.9299e-07
  6  2.50242
  7  1.76057e-07
  8  6.09208e-05
  9  4.52095e-05
  10  55.4507
  11  4.44897
  12  2.69134e-05
  13  13.3025
  14  105.935
  15  0.195655
  16  0.108158
Done.

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

Extracting fit parameters...

4FGL J0738.1+1742
   Spectrum: LogParabola
277         norm:  9.195e+00  2.502e+00  0.000e+00  1.000e+06 ( 1.000e-12)
278        alpha:  1.980e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
279         beta:  6.041e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
280           Eb:  1.540e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  8.349e-01  1.082e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  1.280e+00  1.957e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 56.19
Ra Dec: 114.539 17.707
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 1.67e-07 +/- 4.55e-08
Energy Flux (Fixed Index): 1.20e-04 +/- 3.26e-05

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) = 8011.36281927
delta logL = 0.80156836151

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8011.36205761
delta logL = 0.802330024161

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.2881       1.0000          .0000       .10000E+07
     2 'alpha     '    2.3010       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2166       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85276       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+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=   8011.362     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      269 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.2880        2.6744        .56040E-05    .20170E-01
   2  alpha         2.3010        .26091        .54159E-02    .17694E-03
   3  Normalizat    1.2166        .21752        .30805E-03    .11256E-04
   4  Prefactor     .85276        .12300        .20880E-03   -.93106E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.28801
  alpha      = 2.301
  Normalizat = 1.21663
  Prefactor  = 0.852762
 **********
 **   18 **HESSE 
 **********

 FCN=   8011.362     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.2880        2.5752        .11208E-05   -1.5654    
   2  alpha         2.3010        .25108        .21663E-03   -.79685E-01
   3  Normalizat    1.2166        .21735        .12322E-04   -.86091    
   4  Prefactor     .85276        .12301        .83519E-05   -.97812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91649e-10
Minuit parameter uncertainties:
  1  2.57525
  2  0.251503
  3  0.217507
  4  0.123053
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/54253': 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) = 8011.36205761
delta logL = 0.802330024801

Extracting fit parameters...

4FGL J0738.1+1742
   Spectrum: LogParabola
277         norm:  7.288e+00  2.575e+00  0.000e+00  1.000e+06 ( 1.000e-12)
278        alpha:  2.301e+00  2.515e-01  0.000e+00  5.000e+00 ( 1.000e+00)
279         beta:  6.041e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
280           Eb:  1.540e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  8.528e-01  1.231e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  1.217e+00  2.175e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 58.08
Ra Dec: 114.539 17.707
Photon Index (Free Index): 2.30 +/- 0.25
Photon Flux (Free Index): 2.33e-07 +/- 7.58e-08
Energy Flux (Free Index): 9.49e-05 +/- 2.67e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/54253/cmap_HighResolution_682300801_682560001_4FGL_J0738.1+1742_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.67e-07', energy_flux2='9.49e-05', photon_flux_error='4.55e-08', dlogl='8.02e-01', energy_flux='1.20e-04', photon_flux2='2.33e-07', job_status='DONE', time_completed='2022-09-16 13:19:35.134452', photon_index_error2='0.25', photon_index2='2.30', ts='56.19', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='2.67e-05', EG='1.28', time_epoch_completed='1663359575.13', return_code='0', job_id='54253', GAL2='0.85', EG2='1.22', return_code2='0', energy_flux_error='3.26e-05', photon_flux_error2='7.58e-08', ts2='58.08', photon_index='1.98' WHERE bin_id='1709' AND source_name='4FGL J0738.1+1742' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:19:35 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 54253: <4FGL_J0738.1+1742_daily_bin1709> in cluster <slac> Done

Job <4FGL_J0738.1+1742_daily_bin1709> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 13:05:25 2022
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:07:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 13:07:39 2022
Terminated at Fri Sep 16 13:19:35 2022
Results reported at Fri Sep 16 13:19:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0738.1+1742_daily_bin1709 114.539 17.7066 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0738.1+1742 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   579.31 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             289.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   716 sec.
    Turnaround time :                            850 sec.

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

