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


Performing analysis on: 4FGL_J0746.5+2730_daily_bin1751
RA = 116.628, Dec = 27.5153
tmin = 693187201, tmax = 693446401
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='68180', job_status='RUN', time_executed='2022-12-23 00:09:42.723920', time_epoch_executed='1671782982.72' WHERE source_name='4FGL J0746.5+2730' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/68180

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/68180/ft1_4FGL_J0746.5+2730_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/68180/ft2_4FGL_J0746.5+2730_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/68180/ft1_4FGL_J0746.5+2730_daily_bin1751.fits outfile=/scratch/kocevski/68180/ft1_filteredMKT_4FGL_J0746.5+2730_daily_bin1751.fits ra=116.628 dec=27.5153 rad=12.0 tmin=693187201.0 tmax=693446401.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.64
user 3.37
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/68180/ft2_4FGL_J0746.5+2730_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/68180/ft2_4FGL_J0746.5+2730_daily_bin1751.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/68180/ft1_filteredMKT_4FGL_J0746.5+2730_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/68180/ft1_filtered_4FGL_J0746.5+2730_daily_bin1751.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.32
sys 0.16

Number of photons that the gtmktime cut: 679

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/68180/ft1_filtered_4FGL_J0746.5+2730_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/68180/ft2_4FGL_J0746.5+2730_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/68180/ltcube_693187201_693446401_4FGL_J0746.5+2730_daily_bin1751.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/68180/ft2_4FGL_J0746.5+2730_daily_bin1751.fits
.....................!
real 12.36
user 12.00
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/68180/ft1_filtered_4FGL_J0746.5+2730_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/68180/ft2_4FGL_J0746.5+2730_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/68180/ltcube_693187201_693446401_4FGL_J0746.5+2730_daily_bin1751.fits outfile=/scratch/kocevski/68180/expmap_693187201_693446401_4FGL_J0746.5+2730_daily_bin1751.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/68180/ltcube_693187201_693446401_4FGL_J0746.5+2730_daily_bin1751.fits
.....................!
real 191.18
user 185.27
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 IC 443 in ROI with RadialGaussian spatial model.
Added 178 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.5+2730 @ 116.628 27.5153

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/68180/ft1_filtered_4FGL_J0746.5+2730_daily_bin1751.fits scfile=/scratch/kocevski/68180/ft2_4FGL_J0746.5+2730_daily_bin1751.fits outfile=/scratch/kocevski/68180/cmap_693187201_693446401_4FGL_J0746.5+2730_daily_bin1751.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.628 yref=27.5153 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/68180/ft1_filtered_4FGL_J0746.5+2730_daily_bin1751.fits scfile=/scratch/kocevski/68180/ft2_4FGL_J0746.5+2730_daily_bin1751.fits outfile=/scratch/kocevski/68180/cmap_HighResolution_693187201_693446401_4FGL_J0746.5+2730_daily_bin1751.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.628 yref=27.5153 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/68180/ft1_filtered_4FGL_J0746.5+2730_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/68180/ft2_4FGL_J0746.5+2730_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/68180/Model_4FGL_J0746.5+2730_daily_bin1751.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/68180/ft1_filtered_4FGL_J0746.5+2730_daily_bin1751.fits.....................!
real 83.56
user 82.23
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/68180/ft1_filtered_4FGL_J0746.5+2730_daily_bin1751.fits', '/scratch/kocevski/68180/ft2_4FGL_J0746.5+2730_daily_bin1751.fits', expMap='/scratch/kocevski/68180/expmap_693187201_693446401_4FGL_J0746.5+2730_daily_bin1751.fits', expCube='/scratch/kocevski/68180/ltcube_693187201_693446401_4FGL_J0746.5+2730_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/68180/Model_4FGL_J0746.5+2730_daily_bin1751.xml', optimizer='MINUIT')

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

4FGL J0746.5+2730
   Spectrum: PowerLaw
259    Prefactor:  7.489e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
260        Index:  2.622e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  7.245e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/68180/ft1_filtered_4FGL_J0746.5+2730_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/68180/ft2_4FGL_J0746.5+2730_daily_bin1751.fits
Exposure map: /scratch/kocevski/68180/expmap_693187201_693446401_4FGL_J0746.5+2730_daily_bin1751.fits
Exposure cube: /scratch/kocevski/68180/ltcube_693187201_693446401_4FGL_J0746.5+2730_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/68180/Model_4FGL_J0746.5+2730_daily_bin1751.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) = 7588.56080786

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43815E-03   1.0000          .0000       .10000E+07
     2 'norm      '    12.930       1.0000          .0000       .10000E+07
     3 'norm      '    1.3340       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15781E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    9.9145       1.0000          .0000       .10000E+07
     6 'norm      '    7.5319       1.0000          .0000       .10000E+07
     7 'norm      '    .32965E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20619E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .12334E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .85507E-01   1.0000          .0000       .10000E+07
    11 'norm      '    13.409       1.0000          .0000       .10000E+07
    12 'norm      '    18.709       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.7292       1.0000          .0000       .10000E+07
    14 'Prefactor '    .56138E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    27.321       1.0000          .0000       .10000E+07
    16 'norm      '    .22181E-05   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1472       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0181       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7588.559     FROM MIGRAD    STATUS=CONVERGED     96 CALLS     1321 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54401E-08    2.6393        .14817E-05** at limit **
   2  norm          12.940        3.2103        .44085E-06    .22952E-01
   3  norm          1.3339        .68257       -.34192E-07   -.61865E-02
   4  Prefactor     .48295E-08    3.7315        .63931E-06** at limit **
   5  Prefactor     9.9484        13.854        .26955E-05    .21128E-01
   6  norm          7.5329        2.3527        .30553E-07    .14217E-02
   7  norm          .43299E-08    2.8256       -.11334E-05** at limit **
   8  Prefactor      .0000        16.521       -.19255E-07** at limit **
   9  Prefactor     .78826E-08    4.0522       -.11245E-05** at limit **
  10  Prefactor      .0000        2.4106       -.16200E-05** at limit **
  11  norm          13.475        3.0159       -.22315E-06    .51529E-01
  12  norm          18.669        6.0612       -.11189E-05    .13879    
  13  Prefactor     2.6812        5.3317       -.14387E-05    .70834E-02
  14  Prefactor     .78382E-07    32.063       -.65741E-05** at limit **
  15  Prefactor     27.364        23.802        .99147E-06    .31361E-01
  16  norm           .0000        1.1263        .35029E-07** at limit **
  17  Normalizat    1.1472        .22102       -.81753E-05   -.39010E-05
  18  Prefactor     1.0180        .14501        .12115E-05    .18780E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.44009e-09
  norm       = 12.9398
  norm       = 1.3339
  Prefactor  = 4.82947e-09
  Prefactor  = 9.94841
  norm       = 7.53288
  norm       = 4.32987e-09
  Prefactor  = 0
  Prefactor  = 7.88258e-09
  Prefactor  = 0
  norm       = 13.4754
  norm       = 18.6686
  Prefactor  = 2.68122
  Prefactor  = 7.83817e-08
  Prefactor  = 27.3642
  norm       = 0
  Normalizat = 1.14716
  Prefactor  = 1.01799
 **********
 **   18 **HESSE 
 **********

 FCN=   7588.559     FROM HESSE     STATUS=OK           282 CALLS     1603 TOTAL
                     EDM=   .55E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .54401E-08    2.7006        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          12.940        12.524        .27831E-03   -1.5636    
   3  norm          1.3339        .68202        .94983E-03   -1.5685    
   4  Prefactor     .48295E-08    3.7859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.9484        14.455        .31800E-03   -1.5645    
   6  norm          7.5329        2.3548        .36518E-03   -1.5653    
   7  norm          .43299E-08    2.9386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        16.484        .16996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .78826E-08    4.1136        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        33.886        .14336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          13.475        10.509        .27328E-03   -1.5635    
  12  norm          18.669        72.126        .23128E-03   -1.5622    
  13  Prefactor     2.6812        59.894        .61612E-03   -1.5675    
  14  Prefactor     .78382E-07    31.320        .15304E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     27.364        24.216        .19135E-03   -1.5603    
  16  norm           .0000        1.1075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1472        .19298        .67824E-01   -.88252    
  18  Prefactor     1.0180        .12590        .42340E-01   -.92132    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.50072e-06
Minuit parameter uncertainties:
  1  0.000242059
  2  12.5238
  3  0.682017
  4  0.000270758
  5  14.4546
  6  2.35483
  7  0.000226131
  8  1.89513e-06
  9  0.000359579
  10  4.55192e-05
  11  10.5089
  12  72.1298
  13  25.345
  14  0.00313393
  15  24.2157
  16  9.74248e-06
  17  0.193101
  18  0.125935
Done.

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

Extracting fit parameters...

4FGL J0746.5+2730
   Spectrum: PowerLaw
259    Prefactor:  0.000e+00  1.895e-06  0.000e+00  1.000e+06 ( 1.000e-13)
260        Index:  2.622e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  7.245e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  1.018e+00  1.259e-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.147e+00  1.931e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 116.628 27.515
Photon Flux Upper Limit: 7.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/68180/likelihoodResults_693187201_693446401_4FGL_J0746.5+2730_daily_bin1751.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7588.55905849
delta logL = -4.46083658971e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7588.55901389
delta logL = -1.15560396807e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17386E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.3831       1.0000          .0000       10.000    
     3 'Normalizat'    1.1472       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0180       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7588.559     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      276 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17208E-08    .24142        .42118E-03** at limit **
   2  Index         3.2900        7.2222        .50000        .29559E-09
   3  Normalizat    1.1472        .73406E-03    .67823E-01    .15893E-03
   4  Prefactor     1.0180        .48999E-03    .42348E-01   -.19752E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.72085e-09
  Index      = 3.28998
  Normalizat = 1.14717
  Prefactor  = 1.01799
 **********
 **   18 **HESSE 
 **********

 FCN=   7588.559     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      307 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17208E-08    1.3502        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.2900        6.6089        .50000       -.34905    
   3  Normalizat    1.1472        .17327E-02    .30007E-03   -.88252    
   4  Prefactor     1.0180        .11578E-02    .21017E-03   -.92132    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.10545e-11
Minuit parameter uncertainties:
  1  9.70228e-05
  2  15948.1
  3  0.00173273
  4  0.00115776
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/68180': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7588.55901388
delta logL = -2.52839527093e-10

Extracting fit parameters...

4FGL J0746.5+2730
   Spectrum: PowerLaw
259    Prefactor:  1.721e-09  9.702e-05  0.000e+00  1.000e+06 ( 1.000e-13)
260        Index:  3.290e+00  1.595e+04  0.000e+00  1.000e+01 (-1.000e+00)
261        Scale:  7.245e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  1.018e+00  1.158e-03  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.147e+00  1.733e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 116.628 27.515

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/68180/cmap_HighResolution_693187201_693446401_4FGL_J0746.5+2730_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.05e-03', job_status='DONE', photon_flux_upper_limit='7.72e-08', time_completed='2022-12-23 00:19:32.667698', job_id='68180', GAL2='1.02', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1671783572.67', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='-2.53e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='1751' AND source_name='4FGL J0746.5+2730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:19:32 PST 2022

CCESS', return_code='0', GAL='1.02', dlogl='-2.53e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='1751' AND source_name='4FGL J0746.5+2730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:18:05 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 68171: <4FGL_J0746.5+2730_daily_bin1751> in cluster <slac> Done

Job <4FGL_J0746.5+2730_daily_bin1751> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Dec 23 00:05:42 2022
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:06:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:06:03 2022
Terminated at Fri Dec 23 00:18:06 2022
Results reported at Fri Dec 23 00:18:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0746.5+2730_daily_bin1751 116.628 27.5153 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0746.5+2730 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   592.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             273.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            744 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 68180: <4FGL_J0746.5+2730_daily_bin1751> in cluster <slac> Done

Job <4FGL_J0746.5+2730_daily_bin1751> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Dec 23 00:05:42 2022
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:06:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:06:03 2022
Terminated at Fri Dec 23 00:19:33 2022
Results reported at Fri Dec 23 00:19:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0746.5+2730_daily_bin1751 116.628 27.5153 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0746.5+2730 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   592.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             249.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            831 sec.

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

