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


Performing analysis on: 4FGL_J0712.7+5033_weekly_bin753
RA = 108.188, Dec = 50.5506
tmin = 694396801, tmax = 695001601
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='223648', job_status='RUN', time_executed='2023-01-10 02:28:01.847237', time_epoch_executed='1673346481.85' WHERE source_name='4FGL J0712.7+5033' and cadence='weekly' and bin_id='753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/223648

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/223648/ft1_4FGL_J0712.7+5033_weekly_bin753.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/223648/ft2_4FGL_J0712.7+5033_weekly_bin753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/223648/ft1_4FGL_J0712.7+5033_weekly_bin753.fits outfile=/scratch/kocevski/223648/ft1_filteredMKT_4FGL_J0712.7+5033_weekly_bin753.fits ra=108.188 dec=50.5506 rad=12.0 tmin=694396801.0 tmax=695001601.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 6.30
user 5.99
sys 0.26

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

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

Number of photons that the gtmktime cut: 227

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/223648/ft1_filtered_4FGL_J0712.7+5033_weekly_bin753.fits" evtable="EVENTS" scfile=/scratch/kocevski/223648/ft2_4FGL_J0712.7+5033_weekly_bin753.fits sctable="SC_DATA" outfile=/scratch/kocevski/223648/ltcube_694396801_695001601_4FGL_J0712.7+5033_weekly_bin753.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/223648/ft2_4FGL_J0712.7+5033_weekly_bin753.fits
.....................!
real 39.48
user 38.85
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/223648/ft1_filtered_4FGL_J0712.7+5033_weekly_bin753.fits evtable="EVENTS" scfile=/scratch/kocevski/223648/ft2_4FGL_J0712.7+5033_weekly_bin753.fits sctable="SC_DATA" expcube=/scratch/kocevski/223648/ltcube_694396801_695001601_4FGL_J0712.7+5033_weekly_bin753.fits outfile=/scratch/kocevski/223648/expmap_694396801_695001601_4FGL_J0712.7+5033_weekly_bin753.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/223648/ltcube_694396801_695001601_4FGL_J0712.7+5033_weekly_bin753.fits
.....................!
real 197.35
user 190.12
sys 5.45

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/223648/ft1_filtered_4FGL_J0712.7+5033_weekly_bin753.fits scfile=/scratch/kocevski/223648/ft2_4FGL_J0712.7+5033_weekly_bin753.fits outfile=/scratch/kocevski/223648/cmap_694396801_695001601_4FGL_J0712.7+5033_weekly_bin753.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/223648/ft1_filtered_4FGL_J0712.7+5033_weekly_bin753.fits scfile=/scratch/kocevski/223648/ft2_4FGL_J0712.7+5033_weekly_bin753.fits outfile=/scratch/kocevski/223648/cmap_HighResolution_694396801_695001601_4FGL_J0712.7+5033_weekly_bin753.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.61
user 0.43
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/223648/ft1_filtered_4FGL_J0712.7+5033_weekly_bin753.fits', '/scratch/kocevski/223648/ft2_4FGL_J0712.7+5033_weekly_bin753.fits', expMap='/scratch/kocevski/223648/expmap_694396801_695001601_4FGL_J0712.7+5033_weekly_bin753.fits', expCube='/scratch/kocevski/223648/ltcube_694396801_695001601_4FGL_J0712.7+5033_weekly_bin753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/223648/Model_4FGL_J0712.7+5033_weekly_bin753.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/223648/ft1_filtered_4FGL_J0712.7+5033_weekly_bin753.fits
Spacecraft file(s): /scratch/kocevski/223648/ft2_4FGL_J0712.7+5033_weekly_bin753.fits
Exposure map: /scratch/kocevski/223648/expmap_694396801_695001601_4FGL_J0712.7+5033_weekly_bin753.fits
Exposure cube: /scratch/kocevski/223648/ltcube_694396801_695001601_4FGL_J0712.7+5033_weekly_bin753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/223648/Model_4FGL_J0712.7+5033_weekly_bin753.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) = 2612.99237424

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69504E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.2136       1.0000          .0000       .10000E+07
     3 'Prefactor '    47.366       1.0000          .0000       .10000E+07
     4 'Prefactor '    13.653       1.0000          .0000       .10000E+07
     5 'Prefactor '    .20598E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .78854E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .17263E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .57851E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .43263E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.3308       1.0000          .0000       .10000E+07
    11 'Prefactor '    .25174       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.2246       1.0000          .0000       .10000E+07
    13 'Prefactor '    32.804       1.0000          .0000       .10000E+07
    14 'norm      '    .94010E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .29368       1.0000          .0000       .10000E+07
    16 'Prefactor '    .15621E-03   1.0000          .0000       .10000E+07
    17 'norm      '    2.4094       1.0000          .0000       .10000E+07
    18 'Prefactor '    .50530       1.0000          .0000       .10000E+07
    19 'Prefactor '    .79808       1.0000          .0000       .10000E+07
    20 'norm      '    .17912E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    .35889E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    2.2600       1.0000          .0000       .10000E+07
    23 'norm      '    .29615E-01   1.0000          .0000       .10000E+07
    24 'norm      '    .97869E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .19003       1.0000          .0000       .10000E+07
    26 'Prefactor '    5.2230       1.0000          .0000       .10000E+07
    27 'Normalizat'    .72616       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .84181       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=   2612.968     FROM MIGRAD    STATUS=CONVERGED    187 CALLS     2478 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17666E-05    40.632        .31694E-06** at limit **
   2  norm          3.2138        4.7207        .61042E-07    .10427E-02
   3  Prefactor     47.446        9.0214        .28365E-07    .62442E-01
   4  Prefactor     13.707        4.5875        .24128E-08   -.26228E-01
   5  Prefactor      .0000        18.417       -.59567E-07** at limit **
   6  Prefactor     .58842E-08    23.523       -.12522E-06** at limit **
   7  norm          .22204E-09    59.071        .41770E-06** at limit **
   8  norm          .10775E-06    13.686        .29990E-06** at limit **
   9  norm          .91316E-07    12.913        .74384E-07** at limit **
  10  Prefactor     9.3333        3.4199       -.56184E-08    .22672E-01
  11  Prefactor     .24980E-08    1.8549        .11183E-06** at limit **
  12  Prefactor     8.7849        21.330       -.41062E-07    .16768E-01
  13  Prefactor     32.747        2.2714        .40079E-08    .74907E-01
  14  norm           .0000        57.011        .56144E-08** at limit **
  15  Prefactor     .26096E-06    69.617        .33024E-06** at limit **
  16  Prefactor     .37943E-05    194.28        .32617E-06** at limit **
  17  norm          2.4046        4.2877       -.21985E-06   -.30126E-02
  18  Prefactor     .19045E-04    144.72        .36677E-06** at limit **
  19  Prefactor     .10646E-02    267.03       -.45081E-06** at limit **
  20  norm           .0000        19.822       -.87131E-07** at limit **
  21  Prefactor     .46594E-03    45.937       -.40066E-07** at limit **
  22  Prefactor     .58117E-03    605.07       -.59663E-06** at limit **
  23  norm          .55511E-10    43.808        .12448E-06** at limit **
  24  norm          .66613E-09    11.474        .83015E-07** at limit **
  25  Prefactor     .16653E-09    73.714        .33039E-06** at limit **
  26  Prefactor     5.3944        6.3759       -.18331E-07   -.26184E-01
  27  Normalizat    .72802        .39431       -.18008E-04   -.12036E-03
  28  Prefactor     .84090        .17508        .43343E-05   -.15283E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.76659e-06
  norm       = 3.21378
  Prefactor  = 47.4455
  Prefactor  = 13.7075
  Prefactor  = 0
  Prefactor  = 5.88418e-09
  norm       = 2.22045e-10
  norm       = 1.07747e-07
  norm       = 9.13158e-08
  Prefactor  = 9.33326
  Prefactor  = 2.498e-09
  Prefactor  = 8.78495
  Prefactor  = 32.747
  norm       = 0
  Prefactor  = 2.60958e-07
  Prefactor  = 3.7943e-06
  norm       = 2.40464
  Prefactor  = 1.90448e-05
  Prefactor  = 0.00106458
  norm       = 0
  Prefactor  = 0.000465944
  Prefactor  = 0.000581169
  norm       = 5.55112e-11
  norm       = 6.66134e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 5.39436
  Normalizat = 0.728018
  Prefactor  = 0.840895
 **********
 **   18 **HESSE 
 **********

 FCN=   2612.968     FROM HESSE     STATUS=OK           573 CALLS     3051 TOTAL
                     EDM=   .39E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17666E-05    42.201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.2138        4.7271        .56489E-03   -1.5672    
   3  Prefactor     47.446        18.379        .14531E-03   -1.5570    
   4  Prefactor     13.707        29.798        .27082E-03   -1.5634    
   5  Prefactor      .0000        18.375        .16998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .58842E-08    23.526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .22204E-09    7.9634        .86770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10775E-06    13.989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .91316E-07    13.362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.3333        30.860        .32785E-03   -1.5647    
  11  Prefactor     .24980E-08    97.301        .10919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.7849        171.92        .37294E-03   -1.5649    
  13  Prefactor     32.747        34.834        .17462E-03   -1.5594    
  14  norm           .0000        55.993        .14093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .26096E-06    89.431        .10301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .37943E-05    211.75        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.4046        4.3446        .65927E-03   -1.5677    
  18  Prefactor     .19045E-04    163.49        .78178E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10646E-02    711.36        .53078E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        19.772        .17178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .46594E-03    462.69        .16155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .58117E-03    987.70        .68305E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .55511E-10    43.553        .16471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .66613E-09    11.505        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .16653E-09    73.599        .11956E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     5.3944        41.579        .43960E-03   -1.5662    
  27  Normalizat    .72802        .36481        .88528E-01   -1.0280    
  28  Prefactor     .84090        .15495        .44259E-01   -.98238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.87055e-06
Minuit parameter uncertainties:
  1  0.0172689
  2  4.72712
  3  18.3787
  4  29.7988
  5  7.162e-06
  6  0.000744873
  7  8.13917e-05
  8  0.00245558
  9  0.0022095
  10  30.8603
  11  0.000984766
  12  77.7275
  13  34.8342
  14  3.45477e-05
  15  0.00966237
  16  0.0566924
  17  4.34459
  18  0.111601
  19  1.74066
  20  1.28863e-05
  21  0.928699
  22  1.51553
  23  7.20787e-05
  24  0.000174654
  25  0.000229166
  26  29.9532
  27  0.366037
  28  0.155028
Done.

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

Extracting fit parameters...

4FGL J0712.7+5033
   Spectrum: PowerLaw
280    Prefactor:  8.785e+00  7.773e+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:  8.409e-01  1.550e-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:  7.280e-01  3.660e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 108.188 50.551
Photon Flux Upper Limit: 3.91e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.98e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/223648/likelihoodResults_694396801_695001601_4FGL_J0712.7+5033_weekly_bin753.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) = 2612.90038567
delta logL = 0.0678793158613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2612.89590262
delta logL = 0.0723623594477

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.208       1.0000          .0000       .10000E+07
     2 'Index     '    2.9777       1.0000          .0000       10.000    
     3 'Normalizat'    .69265       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84760       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=   2612.896     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      275 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.213        71.805        .11960E-04    .21744E-02
   2  Index         2.9773        2.4597        .77068E-02    .14021E-03
   3  Normalizat    .69293        .40361        .40147E-03    .28190E-03
   4  Prefactor     .84748        .17307        .15961E-03    .52184E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2129
  Index      = 2.97733
  Normalizat = 0.692931
  Prefactor  = 0.847482
 **********
 **   18 **HESSE 
 **********

 FCN=   2612.896     FROM HESSE     STATUS=OK            23 CALLS      298 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.213        47.148        .47840E-06   -1.5641    
   2  Index         2.9773        2.0255        .30827E-03   -.41647    
   3  Normalizat    .69293        .40347        .80294E-04   -1.0417    
   4  Prefactor     .84748        .17277        .31923E-04   -.98001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04443e-09
Minuit parameter uncertainties:
  1  45.9862
  2  2.09839
  3  0.405214
  4  0.172886
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/223648': 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) = 2612.89590237
delta logL = 0.07236261459

Extracting fit parameters...

4FGL J0712.7+5033
   Spectrum: PowerLaw
280    Prefactor:  1.121e+01  4.599e+01  0.000e+00  1.000e+06 ( 1.000e-13)
281        Index:  2.977e+00  2.098e+00  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:  8.475e-01  1.729e-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:  6.929e-01  4.052e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 108.188 50.551

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/223648/cmap_HighResolution_694396801_695001601_4FGL_J0712.7+5033_weekly_bin753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.98e-02', job_status='DONE', photon_flux_upper_limit='3.91e-07', time_completed='2023-01-10 02:37:37.060335', job_id='223648', GAL2='0.85', fit_tolerance='1e-08', EG2='0.69', EG='0.73', time_epoch_completed='1673347057.06', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='7.24e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.20' WHERE bin_id='753' AND source_name='4FGL J0712.7+5033' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 10 02:37:37 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 223648: <4FGL_J0712.7+5033_weekly_bin753> in cluster <slac> Done

Job <4FGL_J0712.7+5033_weekly_bin753> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 10 02:25:28 2023
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 02:26:45 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 02:26:45 2023
Terminated at Tue Jan 10 02:37:37 2023
Results reported at Tue Jan 10 02:37:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0712.7+5033_weekly_bin753 108.188 50.5506 694396801 695001601 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 :                                   574.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             291.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   652 sec.
    Turnaround time :                            729 sec.

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

