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 106 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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_J0712.7+5033_daily_bin1694
RA = 108.188, Dec = 50.5506
tmin = 678412801, tmax = 678672001
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 sDone.


Performing analysis on: 4FGL_J0712.7+5033_daily_bin1694
RA = 108.188, Dec = 50.5506
tmin = 678412801, tmax = 678672001
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='639152', job_status='RUN', time_executed='2022-07-05 03:08:18.652914', time_epoch_executed='1657015698.65' WHERE source_name='4FGL J0712.7+5033' and cadence='daily' and bin_id='1694'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/639152

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/639152/ft1_4FGL_J0712.7+5033_daily_bin1694.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/639152/ft2_4FGL_J0712.7+5033_daily_bin1694.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/639152/ft1_4FGL_J0712.7+5033_daily_bin1694.fits outfile=/scratch/kocevski/639152/ft1_filteredMKT_4FGL_J0712.7+5033_daily_bin1694.fits ra=108.188 dec=50.5506 rad=12.0 tmin=678412801.0 tmax=678672001.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.74
user 3.45
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/639152/ft2_4FGL_J0712.7+5033_daily_bin1694.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/639152/ft1_filteredMKT_4FGL_J0712.7+5033_daily_bin1694.fits evtable="EVENTS" outfile="/scratch/kocevski/639152/ft1_filtered_4FGL_J0712.7+5033_daily_bin1694.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 912

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/639152/ft1_filtered_4FGL_J0712.7+5033_daily_bin1694.fits" evtable="EVENTS" scfile=/scratch/kocevski/639152/ft2_4FGL_J0712.7+5033_daily_bin1694.fits sctable="SC_DATA" outfile=/scratch/kocevski/639152/ltcube_678412801_678672001_4FGL_J0712.7+5033_daily_bin1694.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/639152/ft2_4FGL_J0712.7+5033_daily_bin1694.fits
.....................!
real 14.99
user 14.50
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/639152/ft1_filtered_4FGL_J0712.7+5033_daily_bin1694.fits evtable="EVENTS" scfile=/scratch/kocevski/639152/ft2_4FGL_J0712.7+5033_daily_bin1694.fits sctable="SC_DATA" expcube=/scratch/kocevski/639152/ltcube_678412801_678672001_4FGL_J0712.7+5033_daily_bin1694.fits outfile=/scratch/kocevski/639152/expmap_678412801_678672001_4FGL_J0712.7+5033_daily_bin1694.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/639152/ltcube_678412801_678672001_4FGL_J0712.7+5033_daily_bin1694.fits
.....................!
real 195.03
user 188.70
sys 4.87

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/639152/ft1_filtered_4FGL_J0712.7+5033_daily_bin1694.fits scfile=/scratch/kocevski/639152/ft2_4FGL_J0712.7+5033_daily_bin1694.fits outfile=/scratch/kocevski/639152/cmap_678412801_678672001_4FGL_J0712.7+5033_daily_bin1694.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/639152/ft1_filtered_4FGL_J0712.7+5033_daily_bin1694.fits scfile=/scratch/kocevski/639152/ft2_4FGL_J0712.7+5033_daily_bin1694.fits outfile=/scratch/kocevski/639152/cmap_HighResolution_678412801_678672001_4FGL_J0712.7+5033_daily_bin1694.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.58
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/639152/ft1_filtered_4FGL_J0712.7+5033_daily_bin1694.fits evtable="EVENTS" scfile=/scratch/kocevski/639152/ft2_4FGL_J0712.7+5033_daily_bin1694.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/639152/Model_4FGL_J0712.7+5033_daily_bin1694.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/639152/ft1_filtered_4FGL_J0712.7+5033_daily_bin1694.fits.....................!
real 102.58
user 100.56
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/639152/ft1_filtered_4FGL_J0712.7+5033_daily_bin1694.fits', '/scratch/kocevski/639152/ft2_4FGL_J0712.7+5033_daily_bin1694.fits', expMap='/scratch/kocevski/639152/expmap_678412801_678672001_4FGL_J0712.7+5033_daily_bin1694.fits', expCube='/scratch/kocevski/639152/ltcube_678412801_678672001_4FGL_J0712.7+5033_daily_bin1694.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/639152/Model_4FGL_J0712.7+5033_daily_bin1694.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  1.000e-04  1.000e+04 ( 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/639152/ft1_filtered_4FGL_J0712.7+5033_daily_bin1694.fits
Spacecraft file(s): /scratch/kocevski/639152/ft2_4FGL_J0712.7+5033_daily_bin1694.fits
Exposure map: /scratch/kocevski/639152/expmap_678412801_678672001_4FGL_J0712.7+5033_daily_bin1694.fits
Exposure cube: /scratch/kocevski/639152/ltcube_678412801_678672001_4FGL_J0712.7+5033_daily_bin1694.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/639152/Model_4FGL_J0712.7+5033_daily_bin1694.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) = 9691.98780811

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    71.404       1.0000         .10000E-03   10000.    
     2 'norm      '    5.2026       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.7361       1.0000         .10000E-03   10000.    
     8 'norm      '    .29901E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.6618       1.0000         .10000E-03   10000.    
    10 'norm      '    .10175E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.5078       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.1025       1.0000         .10000E-03   10000.    
    13 'Prefactor '    37.786       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    9.2137       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12353E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.123       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.2422       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .60955       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.1391       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .21892E-01   1.0000         .10000E-03   10000.    
    25 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .97095       1.0000         .10000E-03   10000.    
    27 'Prefactor '    4.1310       1.0000         .10000E-03   10000.    
    28 'Prefactor '    10.171       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0997       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0273       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.

 FCN=   9691.891     FROM MIGRAD    STATUS=CONVERGED    769 CALLS     3400 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     71.377        41.452       -.74270E-05   -.73092E-03
   2  norm          5.2004        3.5515        .94484E-08   -.17361E-03
   3  Prefactor     .10000E-03    7.6128        .30110E-06** at limit **
   4  Prefactor     .10000E-03    4.7349        .15225E-06** at limit **
   5  Prefactor     .10000E-03    9.2028       -.27201E-06** at limit **
   6  Prefactor     .10000E-03    15.819        .94173E-07** at limit **
   7  norm          3.7359        3.3064       -.17180E-07   -.11574E-03
   8  norm          .11719E-03    1.7987       -.45295E-06** at limit **
   9  Prefactor     5.6544        22.023       -.16940E-06    .14969E-04
  10  norm          .10000E-03    3.6101       -.67095E-07** at limit **
  11  Prefactor     8.5097        14.552        .28885E-06    .11486E-04
  12  Prefactor     2.1081        6.8967        .55792E-06   -.14234E-03
  13  Prefactor     37.781        21.567       -.23708E-06   -.19302E-04
  14  Prefactor     .10000E-03    7.4158        .83119E-07** at limit **
  15  norm          9.2096        8.1615       -.11123E-06    .21860E-05
  16  Prefactor     .10000E-03    60.952        .23861E-06** at limit **
  17  Prefactor     13.126        24.983        .57421E-06   -.92817E-04
  18  norm          .10000E-03    .20725        .69129E-07** at limit **
  19  Prefactor     6.2409        10.651       -.50170E-06   -.83922E-04
  20  Prefactor     .10000E-03    7.5405       -.47092E-07** at limit **
  21  norm          .61034        1.9703        .49273E-06   -.69044E-03
  22  Prefactor     2.1390        2.8137        .18556E-05   -.27886E-02
  23  Prefactor     .10000E-03    13.757       -.18354E-06** at limit **
  24  Prefactor     .10000E-03    95.233        .44619E-05** at limit **
  25  norm          .10000E-03    2.4390       -.29191E-06** at limit **
  26  norm          .97099        .95309        .66663E-07    .30997E-03
  27  Prefactor     4.1325        5.0488       -.46584E-06   -.19950E-03
  28  Prefactor     10.175        8.3605       -.12537E-07   -.73581E-04
  29  Normalizat    1.0993        .18595       -.99688E-06    .22780E-04
  30  Prefactor     1.0275        .97687E-01    .54806E-06   -.15494E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 71.3771
  norm       = 5.20042
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.73585
  norm       = 0.000117191
  Prefactor  = 5.65438
  norm       = 0.0001
  Prefactor  = 8.50967
  Prefactor  = 2.10812
  Prefactor  = 37.7807
  Prefactor  = 0.0001
  norm       = 9.20963
  Prefactor  = 0.0001
  Prefactor  = 13.126
  norm       = 0.0001
  Prefactor  = 6.24094
  Prefactor  = 0.0001
  norm       = 0.610342
  Prefactor  = 2.13901
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 0.97099
  Prefactor  = 4.13252
  Prefactor  = 10.1754
  Normalizat = 1.09935
  Prefactor  = 1.02752
 **********
 **   18 **HESSE 
 **********

 FCN=   9691.891     FROM HESSE     STATUS=OK           600 CALLS     4000 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     71.377        44.135        .23754E-03   -1.4016    
   2  norm          5.2004        3.5676        .14625E-03   -1.5252    
   3  Prefactor     .10000E-03    7.7466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.7904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.2182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.7359        3.2997        .16219E-03   -1.5321    
   8  norm          .11719E-03    4.7865        .41366E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.6544        22.031        .16882E-03   -1.5232    
  10  norm          .10000E-03    3.6375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.5097        14.551        .13743E-03   -1.5124    
  12  Prefactor     2.1081        6.8097        .28460E-03   -1.5418    
  13  Prefactor     37.781        21.460        .65201E-04   -1.4478    
  14  Prefactor     .10000E-03    7.4290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.2096        8.1033        .13203E-03   -1.5101    
  16  Prefactor     .10000E-03    62.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     13.126        25.006        .55286E-03   -1.4983    
  18  norm          .10000E-03    .20737        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.2409        10.537        .16067E-03   -1.5208    
  20  Prefactor     .10000E-03    7.5749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .61034        1.9472        .23486E-03   -1.5552    
  22  Prefactor     2.1390        3.5265        .11651E-02   -1.5415    
  23  Prefactor     .10000E-03    13.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    99.378        .36528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    2.5405        .29987E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .97099        .96816        .92639E-04   -1.5511    
  27  Prefactor     4.1325        5.0509        .19833E-03   -1.5301    
  28  Prefactor     10.175        8.3886        .12564E-03   -1.5070    
  29  Normalizat    1.0993        .21309        .33021E-03   -.89773    
  30  Prefactor     1.0275        .11254        .18302E-03   -.91818    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.22064e-09
Minuit parameter uncertainties:
  1  44.1552
  2  3.5677
  3  3.1275e-05
  4  7.41343e-06
  5  1.99893e-05
  6  6.46659e-06
  7  3.29987
  8  0.0181438
  9  22.0626
  10  1.03836e-06
  11  14.5573
  12  6.81215
  13  21.4645
  14  5.40403e-06
  15  8.10424
  16  3.0427e-05
  17  25.0257
  18  8.42744e-07
  19  10.5403
  20  3.29041e-06
  21  1.94741
  22  3.52688
  23  1.73093e-05
  24  0.00090321
  25  1.1211e-05
  26  0.968172
  27  5.05146
  28  8.38959
  29  0.213259
  30  0.112562
Done.

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

Extracting fit parameters...

4FGL J0712.7+5033
   Spectrum: PowerLaw
280    Prefactor:  3.778e+01  2.146e+01  1.000e-04  1.000e+04 ( 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.028e+00  1.126e-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:  1.099e+00  2.133e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.04
Ra Dec: 108.188 50.551
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 7.27e-08 +/- 4.13e-08
Energy Flux (Fixed Index): 3.26e-05 +/- 1.85e-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) = 9690.04644735
delta logL = 1.8443071782

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9690.03578497
delta logL = 1.85496955325

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.879       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1570       1.0000          .0000       10.000    
     3 'Normalizat'    1.0226       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0525       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.

 FCN=   9690.036     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      262 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.876        70.368        .29058E-02    .53707E-03
   2  Index         3.1571        2.1444        .96577E-01    .35328E-03
   3  Normalizat    1.0226        .82625E-01    .76900E-01   -.32004E-04
   4  Prefactor     1.0525        .40771E-01    .39764E-01   -.52205E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.876
  Index      = 3.15709
  Normalizat = 1.0226
  Prefactor  = 1.05254
 **********
 **   18 **HESSE 
 **********

 FCN=   9690.036     FROM HESSE     STATUS=OK            31 CALLS      293 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.876        19.478        .11623E-03   -1.5019    
   2  Index         3.1571        .84348        .38094E-02   -.37748    
   3  Normalizat    1.0226        .20709        .34034E-03   -.92277    
   4  Prefactor     1.0525        .10976        .18096E-03   -.90998    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.21354e-11
Minuit parameter uncertainties:
  1  19.4881
  2  0.848183
  3  0.207256
  4  0.109784
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/639152': 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) = 9690.03578494
delta logL = 1.85496958706

Extracting fit parameters...

4FGL J0712.7+5033
   Spectrum: PowerLaw
280    Prefactor:  1.188e+01  1.949e+01  1.000e-04  1.000e+04 ( 1.000e-13)
281        Index:  3.157e+00  8.482e-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.053e+00  1.098e-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:  1.023e+00  2.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.03
Ra Dec: 108.188 50.551
Photon Index (Free Index): 3.16 +/- 0.85
Photon Flux (Free Index): 1.36e-07 +/- 5.93e-08
Energy Flux (Free Index): 2.52e-05 +/- 1.20e-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/639152/cmap_HighResolution_678412801_678672001_4FGL_J0712.7+5033_daily_bin1694.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.27e-08', energy_flux2='2.52e-05', photon_flux_error='4.13e-08', dlogl='1.85e+00', energy_flux='3.26e-05', photon_flux2='1.36e-07', job_status='DONE', time_completed='2022-07-05 03:26:16.837222', photon_index_error2='0.85', photon_index2='3.16', ts='5.04', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.20e-05', EG='1.10', time_epoch_completed='1657016776.84', return_code='0', job_id='639152', GAL2='1.05', EG2='1.02', return_code2='0', energy_flux_error='1.85e-05', photon_flux_error2='5.93e-08', ts2='9.03', photon_index='2.20' WHERE bin_id='1694' AND source_name='4FGL J0712.7+5033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul  5 03:26:16 PDT 2022

 <slac> at Tue Jul  5 00:05:43 2022
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul  5 03:07:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul  5 03:07:07 2022
Terminated at Tue Jul  5 03:23:29 2022
Results reported at Tue Jul  5 03:23:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0712.7+5033_daily_bin1694 108.188 50.5506 678412801 678672001 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 :                                   861.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   982 sec.
    Turnaround time :                            11866 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0087>
Subject: Job 639152: <4FGL_J0712.7+5033_daily_bin1694> in cluster <slac> Done

Job <4FGL_J0712.7+5033_daily_bin1694> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Jul  5 00:05:43 2022
Job was executed on host(s) <bullet0087>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul  5 03:07:05 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul  5 03:07:05 2022
Terminated at Tue Jul  5 03:26:17 2022
Results reported at Tue Jul  5 03:26:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0712.7+5033_daily_bin1694 108.188 50.5506 678412801 678672001 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 :                                   1074.22 sec.
    Max Memory :                                 658 MB
    Average Memory :                             335.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2932 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1152 sec.
    Turnaround time :                            12034 sec.

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

