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


Performing analysis on: 4FGL_J0712.7+5033_daily_bin1710
RA = 108.188, Dec = 50.5506
tmin = 682560001, tmax = 682819201
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='51110', job_status='RUN', time_executed='2022-09-16 12:56:34.115788', time_epoch_executed='1663358194.12' WHERE source_name='4FGL J0712.7+5033' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/51110

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/51110/ft1_4FGL_J0712.7+5033_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/51110/ft2_4FGL_J0712.7+5033_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/51110/ft1_4FGL_J0712.7+5033_daily_bin1710.fits outfile=/scratch/kocevski/51110/ft1_filteredMKT_4FGL_J0712.7+5033_daily_bin1710.fits ra=108.188 dec=50.5506 rad=12.0 tmin=682560001.0 tmax=682819201.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.67
user 3.41
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/51110/ft2_4FGL_J0712.7+5033_daily_bin1710.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/51110/ft2_4FGL_J0712.7+5033_daily_bin1710.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/51110/ft1_filteredMKT_4FGL_J0712.7+5033_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/51110/ft1_filtered_4FGL_J0712.7+5033_daily_bin1710.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.35
sys 0.16

Number of photons that the gtmktime cut: 840

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/51110/ft1_filtered_4FGL_J0712.7+5033_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/51110/ft2_4FGL_J0712.7+5033_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/51110/ltcube_682560001_682819201_4FGL_J0712.7+5033_daily_bin1710.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/51110/ft2_4FGL_J0712.7+5033_daily_bin1710.fits
.....................!
real 13.57
user 13.21
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/51110/ft1_filtered_4FGL_J0712.7+5033_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/51110/ft2_4FGL_J0712.7+5033_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/51110/ltcube_682560001_682819201_4FGL_J0712.7+5033_daily_bin1710.fits outfile=/scratch/kocevski/51110/expmap_682560001_682819201_4FGL_J0712.7+5033_daily_bin1710.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/51110/ltcube_682560001_682819201_4FGL_J0712.7+5033_daily_bin1710.fits
.....................!
real 192.63
user 187.10
sys 5.15

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
Added 198 point sources and 0 extended sources

Setting source of interest to:
4FGL J0712.7+5033 @ 108.188 50.5506

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/51110/ft1_filtered_4FGL_J0712.7+5033_daily_bin1710.fits scfile=/scratch/kocevski/51110/ft2_4FGL_J0712.7+5033_daily_bin1710.fits outfile=/scratch/kocevski/51110/cmap_682560001_682819201_4FGL_J0712.7+5033_daily_bin1710.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=108.188 yref=50.5506 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/51110/ft1_filtered_4FGL_J0712.7+5033_daily_bin1710.fits scfile=/scratch/kocevski/51110/ft2_4FGL_J0712.7+5033_daily_bin1710.fits outfile=/scratch/kocevski/51110/cmap_HighResolution_682560001_682819201_4FGL_J0712.7+5033_daily_bin1710.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=108.188 yref=50.5506 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/51110/ft1_filtered_4FGL_J0712.7+5033_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/51110/ft2_4FGL_J0712.7+5033_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/51110/Model_4FGL_J0712.7+5033_daily_bin1710.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
Working on...
/scratch/kocevski/51110/ft1_filtered_4FGL_J0712.7+5033_daily_bin1710.fits....................!
real 94.26
user 92.84
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/51110/ft1_filtered_4FGL_J0712.7+5033_daily_bin1710.fits', '/scratch/kocevski/51110/ft2_4FGL_J0712.7+5033_daily_bin1710.fits', expMap='/scratch/kocevski/51110/expmap_682560001_682819201_4FGL_J0712.7+5033_daily_bin1710.fits', expCube='/scratch/kocevski/51110/ltcube_682560001_682819201_4FGL_J0712.7+5033_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/51110/Model_4FGL_J0712.7+5033_daily_bin1710.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0712.7+5033'

4FGL J0712.7+5033
   Spectrum: PowerLaw
280    Prefactor:  9.082e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
281        Index:  2.201e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
282        Scale:  1.186e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/51110/ft1_filtered_4FGL_J0712.7+5033_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/51110/ft2_4FGL_J0712.7+5033_daily_bin1710.fits
Exposure map: /scratch/kocevski/51110/expmap_682560001_682819201_4FGL_J0712.7+5033_daily_bin1710.fits
Exposure cube: /scratch/kocevski/51110/ltcube_682560001_682819201_4FGL_J0712.7+5033_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/51110/Model_4FGL_J0712.7+5033_daily_bin1710.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) = 8956.56951771

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9868       1.0000          .0000       .10000E+07
     2 'norm      '    .17764E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    10.387       1.0000          .0000       .10000E+07
     4 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11657E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .30087E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .81601E-08   1.0000          .0000       .10000E+07
     8 'norm      '    .98754E-07   1.0000          .0000       .10000E+07
     9 'norm      '    3.2673       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.0716       1.0000          .0000       .10000E+07
    12 'Prefactor '    44.621       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.4337       1.0000          .0000       .10000E+07
    14 'norm      '    .11060E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .33232E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    17.022       1.0000          .0000       .10000E+07
    17 'norm      '    .40323E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .63671E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    .57787E-07   1.0000          .0000       .10000E+07
    20 'norm      '    2.3331       1.0000          .0000       .10000E+07
    21 'Prefactor '    .82784E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    30.248       1.0000          .0000       .10000E+07
    23 'norm      '    .44409E-09   1.0000          .0000       .10000E+07
    24 'norm      '     .0000       1.0000          .0000       .10000E+07
    25 'Prefactor '    5.0844       1.0000          .0000       .10000E+07
    26 'Prefactor '    7.6339       1.0000          .0000       .10000E+07
    27 'Normalizat'    .85454       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0148       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8956.554     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     3020 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9816        1.0655        .23117E-07   -.13820E-02
   2  norm          .22204E-09    1.4468       -.52754E-07** at limit **
   3  Prefactor     10.388        1.6097       -.22618E-07    .25098E-01
   4  Prefactor     .19429E-08    2.5268        .26954E-06** at limit **
   5  Prefactor     .17925E-06    11.305        .15513E-05** at limit **
   6  Prefactor     .21966E-06    23.807        .24625E-05** at limit **
   7  norm          .89478E-06    1.9408       -.35516E-07** at limit **
   8  norm          .77161E-08    2.9547       -.25343E-06** at limit **
   9  norm          3.2670        3.5855        .23362E-06    .35965E-03
  10  Prefactor     .13878E-08    4.0717       -.43110E-06** at limit **
  11  Prefactor     3.0734        5.2698        .29862E-06    .14518E-02
  12  Prefactor     44.624        1.0564        .61817E-08   -.32683E-03
  13  Prefactor     5.3975        4.6354        .20781E-06    .40327E-01
  14  norm          .68795E-06    14.870        .60961E-06** at limit **
  15  Prefactor     .14527E-06    36.986        .70078E-06** at limit **
  16  Prefactor     17.040        1.1443       -.23055E-07    .72103E-03
  17  norm           .0000        .95378       -.53781E-07** at limit **
  18  Prefactor     .55511E-08    6.1791        .47020E-06** at limit **
  19  Prefactor     .22748E-06    3.8596        .34754E-06** at limit **
  20  norm          2.3338        1.6915        .19865E-06    .70254E-03
  21  Prefactor     .22204E-09    2.8194       -.37233E-06** at limit **
  22  Prefactor     30.259        2.2539       -.58351E-07    .32625E-01
  23  norm          .55511E-10    .98145        .20490E-06** at limit **
  24  norm           .0000        .45346        .26632E-06** at limit **
  25  Prefactor     5.0847        6.3299       -.77188E-07   -.21181E-02
  26  Prefactor     7.6358        6.7635        .59052E-07    .61327E-02
  27  Normalizat    .85391        .19285       -.10664E-05   -.25430E-05
  28  Prefactor     1.0150        .10393        .15631E-05    .68096E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.98161
  norm       = 2.22045e-10
  Prefactor  = 10.3884
  Prefactor  = 1.94289e-09
  Prefactor  = 1.79246e-07
  Prefactor  = 2.19658e-07
  norm       = 8.94784e-07
  norm       = 7.71605e-09
  norm       = 3.26704
  Prefactor  = 1.38778e-09
  Prefactor  = 3.07338
  Prefactor  = 44.6238
  Prefactor  = 5.3975
  norm       = 6.8795e-07
  Prefactor  = 1.45273e-07
  Prefactor  = 17.0398
  norm       = 0
  Prefactor  = 5.55112e-09
  Prefactor  = 2.27485e-07
  norm       = 2.33382
  Prefactor  = 2.22045e-10
  Prefactor  = 30.2594
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 5.08468
  Prefactor  = 7.6358
  Normalizat = 0.853908
  Prefactor  = 1.01503
 **********
 **   18 **HESSE 
 **********

 FCN=   8956.554     FROM HESSE     STATUS=OK           579 CALLS     3599 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9816        24.537        .35454E-03   -1.5651    
   2  norm          .22204E-09    1.4403        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.388        7.8792        .31064E-03   -1.5644    
   4  Prefactor     .19429E-08    2.5482        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .17925E-06    11.910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .21966E-06    24.582        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .89478E-06    5.5470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .77161E-08    3.0234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.2670        3.6342        .55999E-03   -1.5672    
  10  Prefactor     .13878E-08    4.0757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.0734        5.3757        .57851E-03   -1.5673    
  12  Prefactor     44.624        19.386        .14972E-03   -1.5574    
  13  Prefactor     5.3975        14.199        .43084E-03   -1.5661    
  14  norm          .68795E-06    16.754        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .14527E-06    37.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.040        26.903        .24249E-03   -1.5625    
  17  norm           .0000        .46715        .20556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-08    6.2456        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .22748E-06    4.7526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.3338        1.6956        .67107E-03   -1.5677    
  21  Prefactor     .22204E-09    2.8225        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     30.259        40.372        .18185E-03   -1.5598    
  23  norm          .55511E-10    .98014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm           .0000        .45300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.0847        6.3368        .44567E-03   -1.5663    
  26  Prefactor     7.6358        6.7765        .36272E-03   -1.5653    
  27  Normalizat    .85391        .17725        .75283E-01   -.98099    
  28  Prefactor     1.0150        .91621E-01    .42702E-01   -.92230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02904e-07
Minuit parameter uncertainties:
  1  24.5371
  2  3.37118e-05
  3  7.87925
  4  0.000141325
  5  0.00292232
  6  0.00464722
  7  0.00445571
  8  0.000304974
  9  3.63416
  10  0.000151396
  11  5.37569
  12  19.3859
  13  14.1988
  14  0.00679004
  15  0.00466218
  16  26.9035
  17  3.38222e-08
  18  0.000372853
  19  0.00207965
  20  1.69558
  21  4.74395e-05
  22  40.372
  23  1.61996e-05
  24  1.58156e-06
  25  6.33686
  26  6.77648
  27  0.177375
  28  0.0916347
Done.

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

Extracting fit parameters...

4FGL J0712.7+5033
   Spectrum: PowerLaw
280    Prefactor:  4.462e+01  1.939e+01  0.000e+00  1.000e+06 ( 1.000e-13)
281        Index:  2.201e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
282        Scale:  1.186e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.015e+00  9.163e-02  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  8.539e-01  1.774e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.67
Ra Dec: 108.188 50.551
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 8.59e-08 +/- 3.73e-08
Energy Flux (Fixed Index): 3.85e-05 +/- 1.67e-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) = 8956.51114829
delta logL = 0.0428688559368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8956.50147557
delta logL = 0.0525415686407

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    48.240       1.0000          .0000       .10000E+07
     2 'Index     '    2.0906       1.0000          .0000       10.000    
     3 'Normalizat'    .86287       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0125       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8956.501     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      275 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     48.244        23.299        .57596E-05    .50847E-03
   2  Index         2.0903        .34249        .55793E-02    .40453E-03
   3  Normalizat    .86308        .19215        .33164E-03   -.15632E-04
   4  Prefactor     1.0124        .10392        .16774E-03   -.14098E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 48.2443
  Index      = 2.09029
  Normalizat = 0.863079
  Prefactor  = 1.01237
 **********
 **   18 **HESSE 
 **********

 FCN=   8956.501     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .62E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     48.244        22.996        .11519E-05   -1.5569    
   2  Index         2.0903        .33786        .11159E-02   -.62111    
   3  Normalizat    .86308        .19221        .13265E-04   -.97770    
   4  Prefactor     1.0124        .10397        .67094E-05   -.92318    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.21214e-12
Minuit parameter uncertainties:
  1  22.9965
  2  0.338246
  3  0.192358
  4  0.10399
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/51110': 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) = 8956.50147353
delta logL = 0.0525436116732

Extracting fit parameters...

4FGL J0712.7+5033
   Spectrum: PowerLaw
280    Prefactor:  4.824e+01  2.300e+01  0.000e+00  1.000e+06 ( 1.000e-13)
281        Index:  2.090e+00  3.382e-01  0.000e+00  1.000e+01 (-1.000e+00)
282        Scale:  1.186e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.012e+00  1.040e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  8.631e-01  1.924e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.79
Ra Dec: 108.188 50.551
Photon Index (Free Index): 2.09 +/- 0.34
Photon Flux (Free Index): 7.78e-08 +/- 4.22e-08
Energy Flux (Free Index): 4.36e-05 +/- 2.60e-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/51110/cmap_HighResolution_682560001_682819201_4FGL_J0712.7+5033_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.59e-08', energy_flux2='4.36e-05', photon_flux_error='3.73e-08', dlogl='5.25e-02', energy_flux='3.85e-05', photon_flux2='7.78e-08', job_status='DONE', time_completed='2022-09-16 13:11:52.191579', photon_index_error2='0.34', photon_index2='2.09', ts='12.67', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.60e-05', EG='0.85', time_epoch_completed='1663359112.19', return_code='0', job_id='51110', GAL2='1.01', EG2='0.86', return_code2='0', energy_flux_error='1.67e-05', photon_flux_error2='4.22e-08', ts2='12.79', photon_index='2.20' WHERE bin_id='1710' AND source_name='4FGL J0712.7+5033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:11:52 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 51110: <4FGL_J0712.7+5033_daily_bin1710> in cluster <slac> Done

Job <4FGL_J0712.7+5033_daily_bin1710> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 12:55:21 2022
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 12:56:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 12:56:01 2022
Terminated at Fri Sep 16 13:11:52 2022
Results reported at Fri Sep 16 13:11:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0712.7+5033_daily_bin1710 108.188 50.5506 682560001 682819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0712.7+5033 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   920.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             354.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   951 sec.
    Turnaround time :                            992 sec.

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

