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


Performing analysis on: 4FGL_J0738.1+1742_daily_bin1770
RA = 114.539, Dec = 17.7066
tmin = 698112001, tmax = 698371201
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='475960', job_status='RUN', time_executed='2023-02-18 00:11:32.855711', time_epoch_executed='1676707892.86' WHERE source_name='4FGL J0738.1+1742' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/475960

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/475960/ft1_4FGL_J0738.1+1742_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/475960/ft2_4FGL_J0738.1+1742_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/475960/ft1_4FGL_J0738.1+1742_daily_bin1770.fits outfile=/scratch/kocevski/475960/ft1_filteredMKT_4FGL_J0738.1+1742_daily_bin1770.fits ra=114.539 dec=17.7066 rad=12.0 tmin=698112001.0 tmax=698371201.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 4.46
user 4.22
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/475960/ft2_4FGL_J0738.1+1742_daily_bin1770.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/475960/ft1_filteredMKT_4FGL_J0738.1+1742_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/475960/ft1_filtered_4FGL_J0738.1+1742_daily_bin1770.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 494

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/475960/ft1_filtered_4FGL_J0738.1+1742_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/475960/ft2_4FGL_J0738.1+1742_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/475960/ltcube_698112001_698371201_4FGL_J0738.1+1742_daily_bin1770.fits outfile=/scratch/kocevski/475960/expmap_698112001_698371201_4FGL_J0738.1+1742_daily_bin1770.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/475960/ltcube_698112001_698371201_4FGL_J0738.1+1742_daily_bin1770.fits
.....................!
real 193.02
user 187.12
sys 5.57

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/475960/ft1_filtered_4FGL_J0738.1+1742_daily_bin1770.fits scfile=/scratch/kocevski/475960/ft2_4FGL_J0738.1+1742_daily_bin1770.fits outfile=/scratch/kocevski/475960/cmap_698112001_698371201_4FGL_J0738.1+1742_daily_bin1770.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/475960/ft1_filtered_4FGL_J0738.1+1742_daily_bin1770.fits scfile=/scratch/kocevski/475960/ft2_4FGL_J0738.1+1742_daily_bin1770.fits outfile=/scratch/kocevski/475960/cmap_HighResolution_698112001_698371201_4FGL_J0738.1+1742_daily_bin1770.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/475960/ft1_filtered_4FGL_J0738.1+1742_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/475960/ft2_4FGL_J0738.1+1742_daily_bin1770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/475960/Model_4FGL_J0738.1+1742_daily_bin1770.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/475960/ft1_filtered_4FGL_J0738.1+1742_daily_bin1770.fits.....................!
real 83.84
user 82.56
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/475960/ft1_filtered_4FGL_J0738.1+1742_daily_bin1770.fits', '/scratch/kocevski/475960/ft2_4FGL_J0738.1+1742_daily_bin1770.fits', expMap='/scratch/kocevski/475960/expmap_698112001_698371201_4FGL_J0738.1+1742_daily_bin1770.fits', expCube='/scratch/kocevski/475960/ltcube_698112001_698371201_4FGL_J0738.1+1742_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/475960/Model_4FGL_J0738.1+1742_daily_bin1770.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/475960/ft1_filtered_4FGL_J0738.1+1742_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/475960/ft2_4FGL_J0738.1+1742_daily_bin1770.fits
Exposure map: /scratch/kocevski/475960/expmap_698112001_698371201_4FGL_J0738.1+1742_daily_bin1770.fits
Exposure cube: /scratch/kocevski/475960/ltcube_698112001_698371201_4FGL_J0738.1+1742_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/475960/Model_4FGL_J0738.1+1742_daily_bin1770.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) = 5480.51057606

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64156E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    17.509       1.0000          .0000       .10000E+07
     3 'norm      '    30.707       1.0000          .0000       .10000E+07
     4 'Prefactor '    9.2518       1.0000          .0000       .10000E+07
     5 'norm      '    .47472       1.0000          .0000       .10000E+07
     6 'norm      '    10.641       1.0000          .0000       .10000E+07
     7 'norm      '    .10985E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    82.053       1.0000          .0000       .10000E+07
     9 'Prefactor '    44.087       1.0000          .0000       .10000E+07
    10 'Prefactor '    34.395       1.0000          .0000       .10000E+07
    11 'Prefactor '    .99198E-07   1.0000          .0000       .10000E+07
    12 'norm      '    14.269       1.0000          .0000       .10000E+07
    13 'Prefactor '    .10436E-06   1.0000          .0000       .10000E+07
    14 'norm      '    65.276       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.3787       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .67318       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=   5480.377     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     1162 TOTAL
                     EDM=   .10E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.6265       -.18783E-05** at limit **
   2  Prefactor     17.604        16.897       -.11705E-05   -.58463E-04
   3  norm          30.507        16.719        .40537E-06    .32760E-04
   4  Prefactor     9.8589        13.143       -.45061E-06   -.27562E-04
   5  norm          .48293        1.2457       -.48017E-06   -.13332E-03
   6  norm          10.577        3.2605       -.21354E-07   -.58780E-04
   7  norm           .0000        3.5844        .19811E-06** at limit **
   8  Prefactor     87.008        61.276       -.10201E-06   -.79493E-04
   9  Prefactor     44.676        28.296       -.22487E-06   -.13974E-04
  10  Prefactor     43.841        67.238       -.29793E-05    .51047E-05
  11  Prefactor      .0000        5.2602       -.32844E-06** at limit **
  12  norm          14.265        20.970       -.22101E-05   -.85432E-04
  13  Prefactor      .0000        8.0258       -.36454E-06** at limit **
  14  norm          62.224        126.71        .73307E-05   -.66608E-04
  15  Normalizat    1.3627        .29512        .17766E-04   -.19079E-05
  16  Prefactor     .67725        .14972       -.91645E-05   -.41898E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 17.6039
  norm       = 30.5069
  Prefactor  = 9.85887
  norm       = 0.482927
  norm       = 10.5775
  norm       = 0
  Prefactor  = 87.0082
  Prefactor  = 44.6758
  Prefactor  = 43.8411
  Prefactor  = 0
  norm       = 14.2651
  Prefactor  = 0
  norm       = 62.2236
  Normalizat = 1.36268
  Prefactor  = 0.677248
 **********
 **   18 **HESSE 
 **********

 FCN=   5480.377     FROM HESSE     STATUS=OK           239 CALLS     1401 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.6008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.604        16.898        .23908E-03   -1.5624    
   3  norm          30.507        16.721        .18049E-03   -1.5597    
   4  Prefactor     9.8589        13.045        .32925E-03   -1.5645    
   5  norm          .48293        1.2699        .81295E-03   -1.5694    
   6  norm          10.577        3.2630        .30690E-03   -1.5643    
   7  norm           .0000        3.5825        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     87.008        60.979        .11040E-03   -1.5521    
   9  Prefactor     44.676        28.289        .15062E-03   -1.5574    
  10  Prefactor     43.841        66.728        .17053E-03   -1.5576    
  11  Prefactor      .0000        5.2055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          14.265        20.967        .26490E-03   -1.5632    
  13  Prefactor      .0000        8.0359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          62.224        126.80        .12378E-03   -1.5550    
  15  Normalizat    1.3627        .25597        .69358E-01   -.81714    
  16  Prefactor     .67725        .13123        .42043E-01   -1.0443    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.58199e-09
Minuit parameter uncertainties:
  1  6.58284e-06
  2  16.8981
  3  16.7209
  4  13.0455
  5  1.26993
  6  3.26301
  7  7.47793e-07
  8  60.9795
  9  28.2888
  10  66.7292
  11  4.61754e-07
  12  20.967
  13  1.30607e-06
  14  126.807
  15  0.256213
  16  0.131292
Done.

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

Extracting fit parameters...

4FGL J0738.1+1742
   Spectrum: LogParabola
277         norm:  1.058e+01  3.263e+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:  6.772e-01  1.313e-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.363e+00  2.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 39.33
Ra Dec: 114.539 17.707
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 1.92e-07 +/- 5.94e-08
Energy Flux (Fixed Index): 1.38e-04 +/- 4.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) = 5480.14035556
delta logL = 0.237003456677

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5480.09208312
delta logL = 0.285275902277

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.662       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7927       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3908       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67019       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.

 FCN=   5480.092     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      205 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.662        6.0426        .29311E-03    .34617E-01
   2  alpha         1.7927        .37654        .15863        .18090E-03
   3  Normalizat    1.3908        .24331        .68825E-01   -.17254E-03
   4  Prefactor     .67019        .12971        .42003E-01   -.22789E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.6616
  alpha      = 1.79271
  Normalizat = 1.39082
  Prefactor  = 0.670194
 **********
 **   18 **HESSE 
 **********

 FCN=   5480.092     FROM HESSE     STATUS=OK            29 CALLS      234 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.662        3.7705        .76012E-05   -1.5640    
   2  alpha         1.7927        .24664        .66619E-02   -.28683    
   3  Normalizat    1.3908        .27239        .30448E-03   -.80895    
   4  Prefactor     .67019        .14628        .22733E-03   -1.0471    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56646e-09
Minuit parameter uncertainties:
  1  3.77055
  2  0.247079
  3  0.272677
  4  0.146362
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/475960': 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) = 5480.0920831
delta logL = 0.285275919377

Extracting fit parameters...

4FGL J0738.1+1742
   Spectrum: LogParabola
277         norm:  1.166e+01  3.771e+00  0.000e+00  1.000e+06 ( 1.000e-12)
278        alpha:  1.793e+00  2.471e-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:  6.702e-01  1.464e-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.391e+00  2.727e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 39.84
Ra Dec: 114.539 17.707
Photon Index (Free Index): 1.79 +/- 0.25
Photon Flux (Free Index): 1.60e-07 +/- 6.51e-08
Energy Flux (Free Index): 1.77e-04 +/- 8.41e-05

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/475960/cmap_HighResolution_698112001_698371201_4FGL_J0738.1+1742_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.92e-07', energy_flux2='1.77e-04', photon_flux_error='5.94e-08', dlogl='2.85e-01', energy_flux='1.38e-04', photon_flux2='1.60e-07', job_status='DONE', time_completed='2023-02-18 00:19:45.170488', photon_index_error2='0.25', photon_index2='1.79', ts='39.33', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', energy_flux_error2='8.41e-05', EG='1.36', time_epoch_completed='1676708385.17', return_code='0', job_id='475960', GAL2='0.67', EG2='1.39', return_code2='0', energy_flux_error='4.26e-05', photon_flux_error2='6.51e-08', ts2='39.84', photon_index='1.98' WHERE bin_id='1770' AND source_name='4FGL J0738.1+1742' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 00:19:45 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0128>
Subject: Job 475995: <4FGL_J0738.1+1742_daily_bin1770> in cluster <slac> Done

Job <4FGL_J0738.1+1742_daily_bin1770> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Feb 18 00:06:05 2023
Job was executed on host(s) <bullet0128>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:07:43 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:07:43 2023
Terminated at Sat Feb 18 00:18:49 2023
Results reported at Sat Feb 18 00:18:49 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0738.1+1742_daily_bin1770 114.539 17.7066 698112001 698371201 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 :                                   491.23 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             282.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            764 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0015>
Subject: Job 475960: <4FGL_J0738.1+1742_daily_bin1770> in cluster <slac> Done

Job <4FGL_J0738.1+1742_daily_bin1770> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Feb 18 00:06:04 2023
Job was executed on host(s) <bullet0015>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:07:35 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:07:35 2023
Terminated at Sat Feb 18 00:19:45 2023
Results reported at Sat Feb 18 00:19:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0738.1+1742_daily_bin1770 114.539 17.7066 698112001 698371201 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 :                                   495.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            821 sec.

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

