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


Performing analysis on: 4FGL_J0746.5+2730_daily_bin1714
RA = 116.628, Dec = 27.5153
tmin = 683596801, tmax = 683856001
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='55728', job_status='RUN', time_executed='2022-09-16 13:13:38.706834', time_epoch_executed='1663359218.71' WHERE source_name='4FGL J0746.5+2730' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55728

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55728/ft1_4FGL_J0746.5+2730_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55728/ft2_4FGL_J0746.5+2730_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55728/ft1_4FGL_J0746.5+2730_daily_bin1714.fits outfile=/scratch/kocevski/55728/ft1_filteredMKT_4FGL_J0746.5+2730_daily_bin1714.fits ra=116.628 dec=27.5153 rad=12.0 tmin=683596801.0 tmax=683856001.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.47
user 3.26
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/55728/ft2_4FGL_J0746.5+2730_daily_bin1714.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/55728/ft1_filteredMKT_4FGL_J0746.5+2730_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/55728/ft1_filtered_4FGL_J0746.5+2730_daily_bin1714.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.53
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 813

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/55728/ft1_filtered_4FGL_J0746.5+2730_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/55728/ft2_4FGL_J0746.5+2730_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/55728/ltcube_683596801_683856001_4FGL_J0746.5+2730_daily_bin1714.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/55728/ft2_4FGL_J0746.5+2730_daily_bin1714.fits
.....................!
real 15.22
user 14.79
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55728/ft1_filtered_4FGL_J0746.5+2730_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/55728/ft2_4FGL_J0746.5+2730_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/55728/ltcube_683596801_683856001_4FGL_J0746.5+2730_daily_bin1714.fits outfile=/scratch/kocevski/55728/expmap_683596801_683856001_4FGL_J0746.5+2730_daily_bin1714.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/55728/ltcube_683596801_683856001_4FGL_J0746.5+2730_daily_bin1714.fits
.....................!
real 193.24
user 185.95
sys 6.70

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/55728/ft1_filtered_4FGL_J0746.5+2730_daily_bin1714.fits scfile=/scratch/kocevski/55728/ft2_4FGL_J0746.5+2730_daily_bin1714.fits outfile=/scratch/kocevski/55728/cmap_683596801_683856001_4FGL_J0746.5+2730_daily_bin1714.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/55728/ft1_filtered_4FGL_J0746.5+2730_daily_bin1714.fits scfile=/scratch/kocevski/55728/ft2_4FGL_J0746.5+2730_daily_bin1714.fits outfile=/scratch/kocevski/55728/cmap_HighResolution_683596801_683856001_4FGL_J0746.5+2730_daily_bin1714.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/55728/ft1_filtered_4FGL_J0746.5+2730_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/55728/ft2_4FGL_J0746.5+2730_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/55728/Model_4FGL_J0746.5+2730_daily_bin1714.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/55728/ft1_filtered_4FGL_J0746.5+2730_daily_bin1714.fits.....................!
real 97.78
user 96.27
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/55728/ft1_filtered_4FGL_J0746.5+2730_daily_bin1714.fits', '/scratch/kocevski/55728/ft2_4FGL_J0746.5+2730_daily_bin1714.fits', expMap='/scratch/kocevski/55728/expmap_683596801_683856001_4FGL_J0746.5+2730_daily_bin1714.fits', expCube='/scratch/kocevski/55728/ltcube_683596801_683856001_4FGL_J0746.5+2730_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/55728/Model_4FGL_J0746.5+2730_daily_bin1714.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/55728/ft1_filtered_4FGL_J0746.5+2730_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/55728/ft2_4FGL_J0746.5+2730_daily_bin1714.fits
Exposure map: /scratch/kocevski/55728/expmap_683596801_683856001_4FGL_J0746.5+2730_daily_bin1714.fits
Exposure cube: /scratch/kocevski/55728/ltcube_683596801_683856001_4FGL_J0746.5+2730_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/55728/Model_4FGL_J0746.5+2730_daily_bin1714.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) = 9054.05004866

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3940       1.0000          .0000       .10000E+07
     2 'norm      '    2.6614       1.0000          .0000       .10000E+07
     3 'norm      '    .18215E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.0095       1.0000          .0000       .10000E+07
     5 'Prefactor '    18.885       1.0000          .0000       .10000E+07
     6 'norm      '    9.6356       1.0000          .0000       .10000E+07
     7 'norm      '    .57381E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .15839       1.0000          .0000       .10000E+07
     9 'Prefactor '    .62172E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .54768E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .20628E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .62224E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .26050E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    14.230       1.0000          .0000       .10000E+07
    15 'Prefactor '    14.880       1.0000          .0000       .10000E+07
    16 'norm      '    .57176E-08   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1652       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0895       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=   9054.041     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1368 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4563        7.8918        .30628E-06    .87692E-03
   2  norm          2.6672        9.8682       -.41159E-05   -.38667E-02
   3  norm           .0000        2.6266       -.53825E-06** at limit **
   4  Prefactor     1.0086        .78089       -.23159E-06    .40964E-02
   5  Prefactor     18.901        5.0038       -.55508E-07   -.34750E-01
   6  norm          9.6345        2.2516       -.95754E-07   -.86662E-02
   7  norm          .22204E-09    4.1063       -.43044E-06** at limit **
   8  Prefactor     .76643E-05    3.7501        .12801E-05** at limit **
   9  Prefactor     .34972E-08    10.156       -.17351E-05** at limit **
  10  Prefactor     .59952E-08    18.606       -.52797E-06** at limit **
  11  norm           .0000        4.6505        .21732E-06** at limit **
  12  norm          .18319E-08    31.225       -.19684E-05** at limit **
  13  Prefactor     .99920E-09    9.6495        .13746E-05** at limit **
  14  Prefactor     14.293        1.2975       -.11919E-06    .14961E-01
  15  Prefactor     14.889        1.1372        .26019E-07    .20175E-02
  16  norm           .0000        .53171       -.15056E-06** at limit **
  17  Normalizat    1.1655        .20901       -.62410E-05    .16158E-03
  18  Prefactor     1.0893        .14186        .81368E-05    .19453E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.45626
  norm       = 2.66718
  norm       = 0
  Prefactor  = 1.00855
  Prefactor  = 18.9013
  norm       = 9.63448
  norm       = 2.22045e-10
  Prefactor  = 7.66426e-06
  Prefactor  = 3.4972e-09
  Prefactor  = 5.9952e-09
  norm       = 0
  norm       = 1.83187e-09
  Prefactor  = 9.99201e-10
  Prefactor  = 14.2928
  Prefactor  = 14.8888
  norm       = 0
  Normalizat = 1.1655
  Prefactor  = 1.08929
 **********
 **   18 **HESSE 
 **********

 FCN=   9054.041     FROM HESSE     STATUS=OK           294 CALLS     1662 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4563        7.9186        .54893E-03   -1.5671    
   2  norm          2.6672        10.043        .62452E-03   -1.5675    
   3  norm           .0000        .27560        .28623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0086        11.826        .44101E-03   -1.5688    
   5  Prefactor     18.901        13.922        .23020E-03   -1.5621    
   6  norm          9.6345        2.2621        .32259E-03   -1.5646    
   7  norm          .22204E-09    4.0594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .76643E-05    19.642        .15394E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .34972E-08    10.882        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .59952E-08    18.747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        4.6504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .18319E-08    31.296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .99920E-09    10.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.293        29.790        .26526E-03   -1.5632    
  15  Prefactor     14.889        22.481        .25939E-03   -1.5631    
  16  norm           .0000        .52827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1655        .18853        .69001E-01   -.87676    
  18  Prefactor     1.0893        .12286        .37998E-01   -.89809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39227e-07
Minuit parameter uncertainties:
  1  7.91867
  2  10.0432
  3  1.96137e-06
  4  6.90709
  5  13.9222
  6  2.26206
  7  6.09187e-05
  8  0.0245391
  9  0.00039029
  10  0.000669479
  11  8.69195e-06
  12  0.000477935
  13  0.000199107
  14  29.7899
  15  22.4811
  16  1.58893e-06
  17  0.188638
  18  0.122894
Done.

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

Extracting fit parameters...

4FGL J0746.5+2730
   Spectrum: PowerLaw
259    Prefactor:  7.664e-06  2.454e-02  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.089e+00  1.229e-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.165e+00  1.886e-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: 8.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/55728/likelihoodResults_683596801_683856001_4FGL_J0746.5+2730_daily_bin1714.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) = 9054.04414039
delta logL = -0.00285637404704

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9054.04129311
delta logL = -9.08980109671e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50599E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.9246       1.0000          .0000       10.000    
     3 'Normalizat'    1.1647       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0899       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=   9054.041     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      264 TOTAL
                     EDM=   .37E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23315E-08    8.3611        .42118E-03** at limit **
   2  Index         2.4584        6.8409        .50000       -.45475E-10
   3  Normalizat    1.1655        .10091E-02    .69001E-01    .30562E-03
   4  Prefactor     1.0893        .67639E-03    .37984E-01    .26772E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.33147e-09
  Index      = 2.45837
  Normalizat = 1.1655
  Prefactor  = 1.08929
 **********
 **   18 **HESSE 
 **********

 FCN=   9054.041     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      295 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23315E-08    45.707        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4584        8.7690        .50000       -.53324    
   3  Normalizat    1.1655        .23455E-02    .30529E-03   -.87676    
   4  Prefactor     1.0893        .15740E-02    .20986E-03   -.89810    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.02554e-12
Minuit parameter uncertainties:
  1  0.000652894
  2  36865.8
  3  0.00234553
  4  0.00157404
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55728': 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) = 9054.041284
delta logL = 1.81989889825e-08

Extracting fit parameters...

4FGL J0746.5+2730
   Spectrum: PowerLaw
259    Prefactor:  2.331e-09  6.529e-04  0.000e+00  1.000e+06 ( 1.000e-13)
260        Index:  2.458e+00  3.687e+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.089e+00  1.574e-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.165e+00  2.346e-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/55728/cmap_HighResolution_683596801_683856001_4FGL_J0746.5+2730_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.42e-03', job_status='DONE', photon_flux_upper_limit='8.19e-08', time_completed='2022-09-16 13:24:38.266068', job_id='55728', GAL2='1.09', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1663359878.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.82e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='1714' AND source_name='4FGL J0746.5+2730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:24:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 55728: <4FGL_J0746.5+2730_daily_bin1714> in cluster <slac> Done

Job <4FGL_J0746.5+2730_daily_bin1714> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 13:10:17 2022
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:12:43 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:43 2022
Terminated at Fri Sep 16 13:24:39 2022
Results reported at Fri Sep 16 13:24:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0746.5+2730_daily_bin1714 116.628 27.5153 683596801 683856001 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 :                                   661.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             363.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   716 sec.
    Turnaround time :                            862 sec.

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

