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


Performing analysis on: 4FGL_J0712.7+5033_daily_bin1745
RA = 108.188, Dec = 50.5506
tmin = 691632001, tmax = 691891201
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='637862', job_status='RUN', time_executed='2022-12-05 00:08:19.165635', time_epoch_executed='1670227699.17' WHERE source_name='4FGL J0712.7+5033' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/637862

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/637862/ft1_4FGL_J0712.7+5033_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/637862/ft2_4FGL_J0712.7+5033_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/637862/ft1_4FGL_J0712.7+5033_daily_bin1745.fits outfile=/scratch/kocevski/637862/ft1_filteredMKT_4FGL_J0712.7+5033_daily_bin1745.fits ra=108.188 dec=50.5506 rad=12.0 tmin=691632001.0 tmax=691891201.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 2.54
user 2.16
sys 0.17

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

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

Number of photons that the gtmktime cut: 238

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/637862/ft1_filtered_4FGL_J0712.7+5033_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/637862/ft2_4FGL_J0712.7+5033_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/637862/ltcube_691632001_691891201_4FGL_J0712.7+5033_daily_bin1745.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/637862/ft2_4FGL_J0712.7+5033_daily_bin1745.fits
.....................!
real 12.71
user 12.29
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/637862/ft1_filtered_4FGL_J0712.7+5033_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/637862/ft2_4FGL_J0712.7+5033_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/637862/ltcube_691632001_691891201_4FGL_J0712.7+5033_daily_bin1745.fits outfile=/scratch/kocevski/637862/expmap_691632001_691891201_4FGL_J0712.7+5033_daily_bin1745.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/637862/ltcube_691632001_691891201_4FGL_J0712.7+5033_daily_bin1745.fits
.....................!
real 191.01
user 185.75
sys 4.85

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/637862/ft1_filtered_4FGL_J0712.7+5033_daily_bin1745.fits scfile=/scratch/kocevski/637862/ft2_4FGL_J0712.7+5033_daily_bin1745.fits outfile=/scratch/kocevski/637862/cmap_691632001_691891201_4FGL_J0712.7+5033_daily_bin1745.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/637862/ft1_filtered_4FGL_J0712.7+5033_daily_bin1745.fits scfile=/scratch/kocevski/637862/ft2_4FGL_J0712.7+5033_daily_bin1745.fits outfile=/scratch/kocevski/637862/cmap_HighResolution_691632001_691891201_4FGL_J0712.7+5033_daily_bin1745.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/637862/ft1_filtered_4FGL_J0712.7+5033_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/637862/ft2_4FGL_J0712.7+5033_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/637862/Model_4FGL_J0712.7+5033_daily_bin1745.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/637862/ft1_filtered_4FGL_J0712.7+5033_daily_bin1745.fits......................!
real 37.71
user 36.38
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    155.59       1.0000          .0000       .10000E+07
     2 'norm      '    11.777       1.0000          .0000       .10000E+07
     3 'Prefactor '    8.1552       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10764       1.0000          .0000       .10000E+07
     5 'Prefactor '    201.60       1.0000          .0000       .10000E+07
     6 'Prefactor '    .22677E-01   1.0000          .0000       .10000E+07
     7 'norm      '    5.8076       1.0000          .0000       .10000E+07
     8 'norm      '    1.5606       1.0000          .0000       .10000E+07
     9 'norm      '    .24732E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .17801E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    25.872       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14589E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .41042E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .34682E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    35.388       1.0000          .0000       .10000E+07
    16 'Prefactor '    .35621E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .41590       1.0000          .0000       .10000E+07
    18 'Prefactor '    .47557E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .11590E-01   1.0000          .0000       .10000E+07
    20 'norm      '    .16464E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    7.7513       1.0000          .0000       .10000E+07
    22 'Prefactor '    .22341       1.0000          .0000       .10000E+07
    23 'norm      '    .16977E-01   1.0000          .0000       .10000E+07
    24 'norm      '    .22782E-05   1.0000          .0000       .10000E+07
    25 'Prefactor '    2.3846       1.0000          .0000       .10000E+07
    26 'Prefactor '    .12555E-04   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.2177       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .86905       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=   2755.423     FROM MIGRAD    STATUS=CONVERGED    269 CALLS     3857 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     170.86        231.94        .24327E-06   -.37039E-02
   2  norm          11.795        5.4755        .33647E-07   -.10344    
   3  Prefactor     8.0758        5.0033       -.15894E-06   -.36936E-01
   4  Prefactor      .0000        49.020        .16818E-06** at limit **
   5  Prefactor     201.87        18.698       -.16016E-07    .24847    
   6  Prefactor      .0000        33.596        .17459E-06** at limit **
   7  norm          5.8296        12.240       -.16480E-06   -.54054E-02
   8  norm          1.6396        14.470       -.18499E-06   -.87733E-03
   9  norm          .16875E-07    9.0817       -.20592E-07** at limit **
  10  Prefactor     .13478E-06    6.4826        .77740E-08** at limit **
  11  Prefactor     25.858        19.314        .18339E-06    .75410E-02
  12  Prefactor     .16870E-06    122.47       -.68996E-06** at limit **
  13  Prefactor      .0000        20.580        .56469E-07** at limit **
  14  norm          .39135E-07    7.0697       -.94990E-07** at limit **
  15  Prefactor     36.022        46.703       -.10308E-05   -.11789E-01
  16  Prefactor     .28311E-08    27.787       -.26308E-07** at limit **
  17  norm          .41756        1.8119       -.38536E-07    .27950E-04
  18  Prefactor     .55511E-09    8.4771       -.98695E-07** at limit **
  19  Prefactor      .0000        13.512        .13858E-06** at limit **
  20  norm          .12768E-08    9.2472        .12245E-06** at limit **
  21  Prefactor     7.8631        18.515       -.17620E-06   -.92276E-02
  22  Prefactor     .55543E-04    1183.1       -.53071E-05** at limit **
  23  norm          .22204E-09    46.494        .81098E-06** at limit **
  24  norm           .0000        1.5481        .11836E-08** at limit **
  25  Prefactor     2.4764        20.433       -.22878E-07   -.36848E-02
  26  Prefactor     .11102E-09    5.1263        .13394E-07** at limit **
  27  Normalizat    1.2198        .42613        .11468E-04    .28412E-04
  28  Prefactor     .86583        .22855       -.35423E-05    .20075E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 170.856
  norm       = 11.7948
  Prefactor  = 8.07576
  Prefactor  = 0
  Prefactor  = 201.874
  Prefactor  = 0
  norm       = 5.82964
  norm       = 1.63956
  norm       = 1.68754e-08
  Prefactor  = 1.34781e-07
  Prefactor  = 25.8577
  Prefactor  = 1.68698e-07
  Prefactor  = 0
  norm       = 3.91354e-08
  Prefactor  = 36.0223
  Prefactor  = 2.83107e-09
  norm       = 0.417562
  Prefactor  = 5.55112e-10
  Prefactor  = 0
  norm       = 1.27676e-09
  Prefactor  = 7.86305
  Prefactor  = 5.55425e-05
  norm       = 2.22045e-10
  norm       = 0
  Prefactor  = 2.4764
  Prefactor  = 1.11022e-10
  Normalizat = 1.21979
  Prefactor  = 0.865826
 **********
 **   18 **HESSE 
 **********

 FCN=   2755.423     FROM HESSE     STATUS=OK           583 CALLS     4440 TOTAL
                     EDM=   .60E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     170.86        230.67        .80175E-04   -1.5447    
   2  norm          11.795        14.769        .29165E-03   -1.5639    
   3  Prefactor     8.0758        24.851        .35084E-03   -1.5651    
   4  Prefactor      .0000        48.962        .13728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     201.87        127.38        .70438E-04   -1.5424    
   6  Prefactor      .0000        33.605        .16867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.8296        12.294        .41652E-03   -1.5660    
   8  norm          1.6396        14.626        .85145E-03   -1.5682    
   9  norm          .16875E-07    9.9980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .13478E-06    10.524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     25.858        20.115        .19664E-03   -1.5606    
  12  Prefactor     .16870E-06    122.31        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        20.572        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .39135E-07    11.066        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     36.022        46.929        .16812E-03   -1.5588    
  16  Prefactor     .28311E-08    27.828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .41756        1.6266        .87668E-03   -1.5721    
  18  Prefactor     .55511E-09    8.5451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        13.562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .12768E-08    11.167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.8631        23.234        .35994E-03   -1.5652    
  22  Prefactor     .55543E-04    185.46        .14809E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .22204E-09    4.0142        .61811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm           .0000        1.5415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     2.4764        20.684        .66305E-03   -1.5676    
  26  Prefactor     .11102E-09    5.1171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.2198        .37040        .72810E-01   -.85994    
  28  Prefactor     .86583        .19996        .44609E-01   -.97346    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.02111e-06
Minuit parameter uncertainties:
  1  230.684
  2  14.7689
  3  24.8511
  4  4.10941e-05
  5  127.381
  6  2.99255e-05
  7  12.2941
  8  9.79405
  9  0.000821173
  10  0.00238201
  11  20.1146
  12  0.00908554
  13  5.41635e-06
  14  0.00131628
  15  46.9299
  16  0.000561983
  17  1.6266
  18  0.000136007
  19  2.55823e-06
  20  0.000239975
  21  23.2347
  22  0.202994
  23  6.02078e-05
  24  6.2531e-08
  25  14.314
  26  4.15758e-05
  27  0.371205
  28  0.200124
Done.

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

Extracting fit parameters...

4FGL J0712.7+5033
   Spectrum: PowerLaw
280    Prefactor:  1.687e-07  9.086e-03  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.658e-01  2.001e-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.220e+00  3.712e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/637862/likelihoodResults_691632001_691891201_4FGL_J0712.7+5033_daily_bin1745.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2755.42702024
delta logL = -0.00411433702993

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2754.71266792
delta logL = 0.710237981899

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11525E-02   1.0000          .0000       .10000E+07
     2 'Index     '    7.4282       1.0000          .0000       10.000    
     3 'Normalizat'    1.0909       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91179       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=   2754.713     FROM MIGRAD    STATUS=CONVERGED    247 CALLS      524 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10257E-02    .99148E-02    .42118E-04** at limit **
   2  Index         7.4778        2.1909        .11018       -.78086E-04
   3  Normalizat    1.0916        .35699        .76057E-01   -.50656E-03
   4  Prefactor     .91124        .19500        .45155E-01   -.66022E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00102573
  Index      = 7.47782
  Normalizat = 1.09161
  Prefactor  = 0.911241
 **********
 **   18 **HESSE 
 **********

 FCN=   2754.713     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      555 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10257E-02    .54536E-01    .16661E-05   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.4778        8.1990        .43670E-02   -43.464    
   3  Normalizat    1.0916        .39047        .33662E-03    5.3830    
   4  Prefactor     .91124        .21961        .20778E-03   -7.2407    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.35773e-09
Minuit parameter uncertainties:
  1  0.0149585
  2  6.16529
  3  0.391502
  4  0.219825
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/637862': 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) = 2754.71264289
delta logL = 0.710263015828

Extracting fit parameters...

4FGL J0712.7+5033
   Spectrum: PowerLaw
280    Prefactor:  1.026e-03  1.496e-02  0.000e+00  1.000e+06 ( 1.000e-13)
281        Index:  7.478e+00  6.165e+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:  9.112e-01  2.198e-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.092e+00  3.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.52
Ra Dec: 108.188 50.551
Photon Index (Free Index): 7.48 +/- 6.17
Photon Flux (Free Index): 1.73e-07 +/- 4.91e-06
Energy Flux (Free Index): 2.04e-05 +/- 5.77e-04

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/637862/cmap_HighResolution_691632001_691891201_4FGL_J0712.7+5033_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.65e-02', comment='SUCCESS', energy_flux2='2.04e-05', dlogl='7.10e-01', photon_flux2='1.73e-07', job_status='DONE', time_completed='2022-12-05 00:17:45.438288', photon_index_error2='6.17', photon_index2='7.48', ts='-0.00', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='2.17e-07', energy_flux_error2='5.77e-04', EG='1.22', time_epoch_completed='1670228265.44', return_code='0', job_id='637862', GAL2='0.91', EG2='1.09', return_code2='102', photon_flux_error2='4.91e-06', ts2='1.52', photon_index='2.20' WHERE bin_id='1745' AND source_name='4FGL J0712.7+5033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:17:45 PST 2022

37861', GAL2='0.91', EG2='1.09', return_code2='102', photon_flux_error2='4.91e-06', ts2='1.52', photon_index='2.20' WHERE bin_id='1745' AND source_name='4FGL J0712.7+5033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:16:27 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 637861: <4FGL_J0712.7+5033_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0712.7+5033_daily_bin1745> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Dec  5 00:05:40 2022
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:06:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:06:19 2022
Terminated at Mon Dec  5 00:16:28 2022
Results reported at Mon Dec  5 00:16:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0712.7+5033_daily_bin1745 108.188 50.5506 691632001 691891201 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 :                                   576.38 sec.
    Max Memory :                                 618 MB
    Average Memory :                             301.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   609 sec.
    Turnaround time :                            648 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 637862: <4FGL_J0712.7+5033_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0712.7+5033_daily_bin1745> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Dec  5 00:05:40 2022
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:06:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:06:19 2022
Terminated at Mon Dec  5 00:17:46 2022
Results reported at Mon Dec  5 00:17:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0712.7+5033_daily_bin1745 108.188 50.5506 691632001 691891201 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 :                                   568.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             333.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   686 sec.
    Turnaround time :                            726 sec.

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

