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


Performing analysis on: 4FGL_J0746.4+2546_daily_bin1715
RA = 116.602, Dec = 25.7678
tmin = 683856001, tmax = 684115201
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='55711', job_status='RUN', time_executed='2022-09-16 13:14:46.265123', time_epoch_executed='1663359286.27' WHERE source_name='4FGL J0746.4+2546' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55711

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55711/ft1_4FGL_J0746.4+2546_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55711/ft2_4FGL_J0746.4+2546_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55711/ft1_4FGL_J0746.4+2546_daily_bin1715.fits outfile=/scratch/kocevski/55711/ft1_filteredMKT_4FGL_J0746.4+2546_daily_bin1715.fits ra=116.602 dec=25.7678 rad=12.0 tmin=683856001.0 tmax=684115201.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.50
user 3.24
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/55711/ft2_4FGL_J0746.4+2546_daily_bin1715.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/55711/ft2_4FGL_J0746.4+2546_daily_bin1715.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/55711/ft1_filteredMKT_4FGL_J0746.4+2546_daily_bin1715.fits evtable="EVENTS" outfile="/scratch/kocevski/55711/ft1_filtered_4FGL_J0746.4+2546_daily_bin1715.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.36
sys 0.16

Number of photons that the gtmktime cut: 783

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/55711/ft1_filtered_4FGL_J0746.4+2546_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/55711/ft2_4FGL_J0746.4+2546_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/55711/ltcube_683856001_684115201_4FGL_J0746.4+2546_daily_bin1715.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/55711/ft2_4FGL_J0746.4+2546_daily_bin1715.fits
.....................!
real 15.36
user 14.96
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55711/ft1_filtered_4FGL_J0746.4+2546_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/55711/ft2_4FGL_J0746.4+2546_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/55711/ltcube_683856001_684115201_4FGL_J0746.4+2546_daily_bin1715.fits outfile=/scratch/kocevski/55711/expmap_683856001_684115201_4FGL_J0746.4+2546_daily_bin1715.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/55711/ltcube_683856001_684115201_4FGL_J0746.4+2546_daily_bin1715.fits
.....................!
real 193.37
user 187.14
sys 5.67

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.
Added 172 point sources and 1 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 J0746.4+2546 @ 116.602 25.7678

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/55711/ft1_filtered_4FGL_J0746.4+2546_daily_bin1715.fits scfile=/scratch/kocevski/55711/ft2_4FGL_J0746.4+2546_daily_bin1715.fits outfile=/scratch/kocevski/55711/cmap_683856001_684115201_4FGL_J0746.4+2546_daily_bin1715.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=116.602 yref=25.7678 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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/55711/ft1_filtered_4FGL_J0746.4+2546_daily_bin1715.fits scfile=/scratch/kocevski/55711/ft2_4FGL_J0746.4+2546_daily_bin1715.fits outfile=/scratch/kocevski/55711/cmap_HighResolution_683856001_684115201_4FGL_J0746.4+2546_daily_bin1715.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=116.602 yref=25.7678 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.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/55711/ft1_filtered_4FGL_J0746.4+2546_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/55711/ft2_4FGL_J0746.4+2546_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/55711/Model_4FGL_J0746.4+2546_daily_bin1715.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
Working on...
/scratch/kocevski/55711/ft1_filtered_4FGL_J0746.4+2546_daily_bin1715.fits.....................!
real 96.83
user 95.30
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/55711/ft1_filtered_4FGL_J0746.4+2546_daily_bin1715.fits', '/scratch/kocevski/55711/ft2_4FGL_J0746.4+2546_daily_bin1715.fits', expMap='/scratch/kocevski/55711/expmap_683856001_684115201_4FGL_J0746.4+2546_daily_bin1715.fits', expCube='/scratch/kocevski/55711/ltcube_683856001_684115201_4FGL_J0746.4+2546_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/55711/Model_4FGL_J0746.4+2546_daily_bin1715.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0746.4+2546'

4FGL J0746.4+2546
   Spectrum: LogParabola
250         norm:  1.783e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
251        alpha:  2.624e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
252         beta:  2.597e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
253           Eb:  3.105e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/55711/ft1_filtered_4FGL_J0746.4+2546_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/55711/ft2_4FGL_J0746.4+2546_daily_bin1715.fits
Exposure map: /scratch/kocevski/55711/expmap_683856001_684115201_4FGL_J0746.4+2546_daily_bin1715.fits
Exposure cube: /scratch/kocevski/55711/ltcube_683856001_684115201_4FGL_J0746.4+2546_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/55711/Model_4FGL_J0746.4+2546_daily_bin1715.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) = 8587.62706321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12600E-05   1.0000          .0000       .10000E+07
     2 'norm      '    22.300       1.0000          .0000       .10000E+07
     3 'norm      '    .26907       1.0000          .0000       .10000E+07
     4 'Prefactor '    .55857E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.1342       1.0000          .0000       .10000E+07
     6 'norm      '    16.616       1.0000          .0000       .10000E+07
     7 'norm      '    6.3568       1.0000          .0000       .10000E+07
     8 'Prefactor '    31.112       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10358E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    19.890       1.0000          .0000       .10000E+07
    11 'norm      '    .46752E-03   1.0000          .0000       .10000E+07
    12 'norm      '    57.001       1.0000          .0000       .10000E+07
    13 'Prefactor '    .21238E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .19756E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .57467E-01   1.0000          .0000       .10000E+07
    16 'norm      '    2.9216       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0631       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98612       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8587.596     FROM MIGRAD    STATUS=CONVERGED    149 CALLS     1359 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    4.6932        .32043E-06** at limit **
   2  norm          22.190        13.668        .25209E-05    .16109E-02
   3  norm          .26894        .46143        .12821E-06   -.48985E-02
   4  Prefactor     .18674E-06    35.836       -.88679E-05** at limit **
   5  Prefactor     4.1352        12.393       -.47301E-06    .12381E-02
   6  norm          16.633        2.8899        .25931E-07    .30218E-03
   7  norm          6.4101        4.7072       -.96266E-06   -.74205E-03
   8  Prefactor     30.096        39.991        .12104E-04    .14092    
   9  Prefactor     .98421E-07    33.130       -.11476E-05** at limit **
  10  Prefactor     18.409        35.643        .82533E-05   -.12958    
  11  norm          .24980E-08    20.827        .17107E-05** at limit **
  12  norm          60.243        85.410        .11662E-04   -.50085E-01
  13  Prefactor     .16653E-09    32.713        .18850E-05** at limit **
  14  Prefactor     .66613E-09    10.431       -.14676E-05** at limit **
  15  Prefactor     .22204E-09    37.642        .65701E-05** at limit **
  16  norm          2.9195        1.3542        .55906E-06   -.21482E-02
  17  Normalizat    1.0651        .22637       -.12600E-03    .90615E-04
  18  Prefactor     .98538        .14494        .15430E-04    .23430E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  norm       = 22.1904
  norm       = 0.268942
  Prefactor  = 1.8674e-07
  Prefactor  = 4.13515
  norm       = 16.6334
  norm       = 6.41007
  Prefactor  = 30.0962
  Prefactor  = 9.84213e-08
  Prefactor  = 18.4086
  norm       = 2.498e-09
  norm       = 60.2433
  Prefactor  = 1.66533e-10
  Prefactor  = 6.66134e-10
  Prefactor  = 2.22045e-10
  norm       = 2.91949
  Normalizat = 1.0651
  Prefactor  = 0.985383
 **********
 **   18 **HESSE 
 **********

 FCN=   8587.596     FROM HESSE     STATUS=OK           288 CALLS     1647 TOTAL
                     EDM=   .40E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    4.7044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          22.190        13.644        .21182E-03   -1.5614    
   3  norm          .26894        .55451        .19925E-02   -1.5698    
   4  Prefactor     .18674E-06    34.849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.1352        12.413        .49551E-03   -1.5667    
   6  norm          16.633        2.9458        .24544E-03   -1.5626    
   7  norm          6.4101        4.9368        .39787E-03   -1.5657    
   8  Prefactor     30.096        48.473        .17931E-03   -1.5598    
   9  Prefactor     .98421E-07    33.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.409        53.484        .22430E-03   -1.5622    
  11  norm          .24980E-08    20.386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          60.243        87.396        .13246E-03   -1.5553    
  13  Prefactor     .16653E-09    31.355        .16957E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .66613E-09    10.441        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .22204E-09    36.599        .15255E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.9195        1.3629        .59408E-03   -1.5674    
  17  Normalizat    1.0651        .19228        .70465E-01   -.90880    
  18  Prefactor     .98538        .12238        .46093E-01   -.93218    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.03002e-06
Minuit parameter uncertainties:
  1  4.16016e-05
  2  13.6443
  3  0.554514
  4  0.00510209
  5  12.4133
  6  2.94578
  7  4.93678
  8  48.4732
  9  0.00360758
  10  53.4856
  11  0.000449757
  12  87.3975
  13  0.000138706
  14  0.000166
  15  0.00017638
  16  1.36287
  17  0.192403
  18  0.122418
Done.

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

Extracting fit parameters...

4FGL J0746.4+2546
   Spectrum: LogParabola
250         norm:  6.410e+00  4.937e+00  0.000e+00  1.000e+06 ( 1.000e-11)
251        alpha:  2.624e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
252         beta:  2.597e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
253           Eb:  3.105e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  9.854e-01  1.224e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.065e+00  1.924e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.53
Ra Dec: 116.602 25.768
Photon Index (Fixed Index): 2.62 +/- 0.00
Photon Flux (Fixed Index): 6.61e-08 +/- 5.09e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 1.16e-05

TS (Fixed Index): 3.53
Ra Dec: 116.602 25.768
Photon Flux Upper Limit: 1.57e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.58e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/55711/likelihoodResults_683856001_684115201_4FGL_J0746.4+2546_daily_bin1715.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): 0
logL (Free Index) = 8587.45257258
delta logL = 0.143660455189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8587.4491309
delta logL = 0.147102132658

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.6794       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2751       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0764       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97903       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8587.449     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      213 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.6812        5.1730        .38803E-03    .40284E-02
   2  alpha         2.2736        .66075        .41364       -.68875E-04
   3  Normalizat    1.0765        .18292        .70125E-01    .15960E-03
   4  Prefactor     .97896        .12101        .46004E-01    .10055E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.68118
  alpha      = 2.27364
  Normalizat = 1.07655
  Prefactor  = 0.978955
 **********
 **   18 **HESSE 
 **********

 FCN=   8587.449     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.6812        4.4339        .15145E-04   -1.5656    
   2  alpha         2.2736        .61209        .20666E-01   -.90669E-01
   3  Normalizat    1.0765        .21646        .31028E-03   -.90508    
   4  Prefactor     .97896        .14270        .21402E-03   -.93434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21035e-10
Minuit parameter uncertainties:
  1  4.43393
  2  0.618432
  3  0.216642
  4  0.142758
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55711': 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) = 8587.4491279
delta logL = 0.14710513418

Extracting fit parameters...

4FGL J0746.4+2546
   Spectrum: LogParabola
250         norm:  6.681e+00  4.434e+00  0.000e+00  1.000e+06 ( 1.000e-11)
251        alpha:  2.274e+00  6.184e-01  0.000e+00  5.000e+00 ( 1.000e+00)
252         beta:  2.597e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
253           Eb:  3.105e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  9.790e-01  1.428e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.077e+00  2.166e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.80
Ra Dec: 116.602 25.768
Photon Index (Free Index): 2.27 +/- 0.62
Photon Flux (Free Index): 5.88e-08 +/- 4.23e-08
Energy Flux (Free Index): 1.61e-05 +/- 1.08e-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/55711/cmap_HighResolution_683856001_684115201_4FGL_J0746.4+2546_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.58e-05', comment='SUCCESS', photon_flux='6.61e-08', energy_flux2='1.61e-05', photon_flux_error='5.09e-08', dlogl='1.47e-01', energy_flux='1.50e-05', photon_flux2='5.88e-08', job_status='DONE', time_completed='2022-09-16 13:25:41.472461', photon_index_error2='0.62', photon_index2='2.27', ts='3.53', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.57e-07', energy_flux_error2='1.08e-05', EG='1.07', time_epoch_completed='1663359941.47', return_code='0', job_id='55711', GAL2='0.98', EG2='1.08', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='4.23e-08', ts2='3.80', photon_index='2.62' WHERE bin_id='1715' AND source_name='4FGL J0746.4+2546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:25:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 55711: <4FGL_J0746.4+2546_daily_bin1715> in cluster <slac> Done

Job <4FGL_J0746.4+2546_daily_bin1715> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 13:10:16 2022
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:12:32 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:12:32 2022
Terminated at Fri Sep 16 13:25:42 2022
Results reported at Fri Sep 16 13:25:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0746.4+2546_daily_bin1715 116.602 25.7678 683856001 684115201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0746.4+2546 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   657.33 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             330.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            926 sec.

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

