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


Performing analysis on: 4FGL_J0712.7+5033_daily_bin1775
RA = 108.188, Dec = 50.5506
tmin = 699408001, tmax = 699667201
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='738597', job_status='RUN', time_executed='2023-03-05 02:41:54.504936', time_epoch_executed='1678012914.5' WHERE source_name='4FGL J0712.7+5033' and cadence='daily' and bin_id='1775'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/738597

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/738597/ft1_4FGL_J0712.7+5033_daily_bin1775.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/738597/ft2_4FGL_J0712.7+5033_daily_bin1775.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/738597/ft1_4FGL_J0712.7+5033_daily_bin1775.fits outfile=/scratch/kocevski/738597/ft1_filteredMKT_4FGL_J0712.7+5033_daily_bin1775.fits ra=108.188 dec=50.5506 rad=12.0 tmin=699408001.0 tmax=699667201.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 4.69
user 4.43
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/738597/ft2_4FGL_J0712.7+5033_daily_bin1775.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/738597/ft1_filteredMKT_4FGL_J0712.7+5033_daily_bin1775.fits evtable="EVENTS" outfile="/scratch/kocevski/738597/ft1_filtered_4FGL_J0712.7+5033_daily_bin1775.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.35
sys 0.14

Number of photons that the gtmktime cut: 752

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/738597/ft1_filtered_4FGL_J0712.7+5033_daily_bin1775.fits" evtable="EVENTS" scfile=/scratch/kocevski/738597/ft2_4FGL_J0712.7+5033_daily_bin1775.fits sctable="SC_DATA" outfile=/scratch/kocevski/738597/ltcube_699408001_699667201_4FGL_J0712.7+5033_daily_bin1775.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/738597/ft2_4FGL_J0712.7+5033_daily_bin1775.fits
.....................!
real 12.89
user 12.18
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/738597/ft1_filtered_4FGL_J0712.7+5033_daily_bin1775.fits evtable="EVENTS" scfile=/scratch/kocevski/738597/ft2_4FGL_J0712.7+5033_daily_bin1775.fits sctable="SC_DATA" expcube=/scratch/kocevski/738597/ltcube_699408001_699667201_4FGL_J0712.7+5033_daily_bin1775.fits outfile=/scratch/kocevski/738597/expmap_699408001_699667201_4FGL_J0712.7+5033_daily_bin1775.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/738597/ltcube_699408001_699667201_4FGL_J0712.7+5033_daily_bin1775.fits
.....................!
real 192.99
user 185.29
sys 5.18

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/738597/ft1_filtered_4FGL_J0712.7+5033_daily_bin1775.fits scfile=/scratch/kocevski/738597/ft2_4FGL_J0712.7+5033_daily_bin1775.fits outfile=/scratch/kocevski/738597/cmap_699408001_699667201_4FGL_J0712.7+5033_daily_bin1775.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/738597/ft1_filtered_4FGL_J0712.7+5033_daily_bin1775.fits scfile=/scratch/kocevski/738597/ft2_4FGL_J0712.7+5033_daily_bin1775.fits outfile=/scratch/kocevski/738597/cmap_HighResolution_699408001_699667201_4FGL_J0712.7+5033_daily_bin1775.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45631E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .50167       1.0000          .0000       .10000E+07
     3 'Prefactor '    .32440E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .41549       1.0000          .0000       .10000E+07
     5 'Prefactor '    .22080E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.1482       1.0000          .0000       .10000E+07
     7 'norm      '    .18868E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .13006E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .23460E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18435E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.1488       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.9971       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.044       1.0000          .0000       .10000E+07
    14 'norm      '    .66447E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.6225       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37957E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .82472       1.0000          .0000       .10000E+07
    18 'Prefactor '    17.073       1.0000          .0000       .10000E+07
    19 'Prefactor '    .70545E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .14182E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    4.8870       1.0000          .0000       .10000E+07
    22 'Prefactor '    .22603E-04   1.0000          .0000       .10000E+07
    23 'norm      '    .64169E-03   1.0000          .0000       .10000E+07
    24 'norm      '    1.9535       1.0000          .0000       .10000E+07
    25 'Prefactor '    .20719E-03   1.0000          .0000       .10000E+07
    26 'Prefactor '    15.340       1.0000          .0000       .10000E+07
    27 'Normalizat'    .91486       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0786       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=   7989.251     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     2004 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13173E-06    30.310       -.52113E-05** at limit **
   2  norm          .50141        2.4015        .12087E-05   -.35009E-03
   3  Prefactor     .32752E-08    9.1196       -.97949E-06** at limit **
   4  Prefactor     .39858        6.8236        .34637E-06    .30454E-03
   5  Prefactor     .16653E-09    13.671        .20678E-05** at limit **
   6  Prefactor     .42698        94.433       -.18548E-04   -.14409E-02
   7  norm          .12779E-06    2.2444       -.30506E-06** at limit **
   8  norm           .0000        3.3243        .12388E-05** at limit **
   9  norm          .89484E-07    3.0621        .71763E-06** at limit **
  10  Prefactor     .27756E-09    5.9772        .18504E-06** at limit **
  11  Prefactor     9.1987        5.8679       -.35883E-06    .29920E-02
  12  Prefactor     6.0065        2.1854       -.80543E-06   -.19779E-01
  13  Prefactor     14.697        11.595        .34552E-05    .61850E-01
  14  norm           .0000        1.7992        .83410E-06** at limit **
  15  Prefactor     .51037        288.95       -.33593E-04    .86494E-02
  16  Prefactor     .25796E-06    17.803        .60693E-05** at limit **
  17  norm          .82540        .63501        .41614E-06    .11709E-01
  18  Prefactor     17.116        2.3525        .33861E-06    .75563E-01
  19  Prefactor     .72164E-09    4.1817       -.15460E-05** at limit **
  20  norm           .0000        1.9616       -.83175E-06** at limit **
  21  Prefactor     4.8721        8.0766       -.75790E-06   -.17394E-02
  22  Prefactor     .59097E-06    21.468        .59775E-05** at limit **
  23  norm           .0000        2.2595        .65147E-06** at limit **
  24  norm          1.9512        1.6118        .29028E-06   -.50376E-03
  25  Prefactor     .11102E-08    5.2441       -.12207E-05** at limit **
  26  Prefactor     15.386        1.3102        .67658E-07    .17826E-02
  27  Normalizat    .91548        .20766       -.34634E-04    .20629E-04
  28  Prefactor     1.0784        .11054        .67904E-05    .92710E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.31728e-07
  norm       = 0.501406
  Prefactor  = 3.27516e-09
  Prefactor  = 0.398582
  Prefactor  = 1.66533e-10
  Prefactor  = 0.426977
  norm       = 1.27787e-07
  norm       = 0
  norm       = 8.9484e-08
  Prefactor  = 2.77556e-10
  Prefactor  = 9.19872
  Prefactor  = 6.00652
  Prefactor  = 14.6972
  norm       = 0
  Prefactor  = 0.510372
  Prefactor  = 2.5796e-07
  norm       = 0.825403
  Prefactor  = 17.1162
  Prefactor  = 7.21645e-10
  norm       = 0
  Prefactor  = 4.8721
  Prefactor  = 5.90972e-07
  norm       = 0
  norm       = 1.95122
  Prefactor  = 1.11022e-09
  Prefactor  = 15.3863
  Normalizat = 0.915475
  Prefactor  = 1.07843
 **********
 **   18 **HESSE 
 **********

 FCN=   7989.251     FROM HESSE     STATUS=OK           585 CALLS     2589 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13173E-06    31.561        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .50141        2.3650        .78542E-03   -1.5694    
   3  Prefactor     .32752E-08    9.2053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .39858        6.6912        .87713E-03   -1.5695    
   5  Prefactor     .16653E-09    13.793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .42698        26.623        .14225E-01   -1.5695    
   7  norm          .12779E-06    5.0588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        3.2795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .89484E-07    4.8902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .27756E-09    6.0694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.1987        5.9467        .33111E-03   -1.5647    
  12  Prefactor     6.0065        16.887        .40979E-03   -1.5659    
  13  Prefactor     14.697        23.764        .26701E-03   -1.5631    
  14  norm           .0000        1.8027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .51037        31.050        .11794E-01   -1.5694    
  16  Prefactor     .25796E-06    38.795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .82540        .63602        .51110E-03   -1.5690    
  18  Prefactor     17.116        13.622        .24212E-03   -1.5625    
  19  Prefactor     .72164E-09    4.1857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        1.9505        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.8721        8.1047        .45477E-03   -1.5664    
  22  Prefactor     .59097E-06    39.745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        2.2518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.9512        1.6157        .74210E-03   -1.5680    
  25  Prefactor     .11102E-08    5.4795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     15.386        11.096        .25546E-03   -1.5630    
  27  Normalizat    .91548        .19667        .77408E-01   -.95918    
  28  Prefactor     1.0784        .99664E-01    .38464E-01   -.90159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.28246e-06
Minuit parameter uncertainties:
  1  0.00407808
  2  2.17793
  3  0.000348019
  4  3.26619
  5  9.98594e-05
  6  6.7432
  7  0.00160797
  8  6.37865e-06
  9  0.00132301
  10  8.15829e-05
  11  5.94668
  12  16.887
  13  23.7637
  14  5.93268e-06
  15  7.96169
  16  0.00632662
  17  0.636017
  18  13.6218
  19  0.000108864
  20  2.80314e-06
  21  8.10468
  22  0.00969296
  23  4.26104e-06
  24  1.61569
  25  0.000154814
  26  11.0962
  27  0.196827
  28  0.0996808
Done.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
641   Normalization:  9.155e-01  1.968e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.15
Ra Dec: 108.188 50.551
Photon Flux Upper Limit: 9.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/738597/likelihoodResults_699408001_699667201_4FGL_J0712.7+5033_daily_bin1775.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) = 7989.11687853
delta logL = 0.134531031599

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7989.10079513
delta logL = 0.150614432919

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9653       1.0000          .0000       .10000E+07
     2 'Index     '    2.9472       1.0000          .0000       10.000    
     3 'Normalizat'    .89632       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0831       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=   7989.101     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      227 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9653        137.33        .50629E-03    .82486E-02
   2  Index         2.9473        2.8608        .22231        .11650E-03
   3  Normalizat    .89634        .41993E-01    .78134E-01    .28812E-03
   4  Prefactor     1.0831        .21995E-01    .38266E-01    .21126E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.96534
  Index      = 2.94731
  Normalizat = 0.896337
  Prefactor  = 1.08312
 **********
 **   18 **HESSE 
 **********

 FCN=   7989.101     FROM HESSE     STATUS=OK            31 CALLS      258 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9653        20.884        .20252E-04   -1.5668    
   2  Index         2.9473        2.2635        .77719E-02   -.42304    
   3  Normalizat    .89634        .20669        .34584E-03   -.96589    
   4  Prefactor     1.0831        .10890        .16932E-03   -.90008    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61052e-10
Minuit parameter uncertainties:
  1  18.2002
  2  2.36857
  3  0.206877
  4  0.108917
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/738597': 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) = 7989.10079511
delta logL = 0.150614449922

Extracting fit parameters...

4FGL J0712.7+5033
   Spectrum: PowerLaw
280    Prefactor:  3.965e+00  1.820e+01  0.000e+00  1.000e+06 ( 1.000e-13)
281        Index:  2.947e+00  2.369e+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:  1.083e+00  1.089e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  8.963e-01  2.069e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/738597/cmap_HighResolution_699408001_699667201_4FGL_J0712.7+5033_daily_bin1775.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.91e-03', job_status='DONE', photon_flux_upper_limit='9.06e-08', time_completed='2023-03-05 02:55:27.118249', job_id='738597', GAL2='1.08', fit_tolerance='1e-08', EG2='0.90', EG='0.92', time_epoch_completed='1678013727.12', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.51e-01', ts2='0.46', photon_index_error='0.00', photon_index='2.20' WHERE bin_id='1775' AND source_name='4FGL J0712.7+5033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Mar  5 02:55:27 PST 2023



------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 738596: <4FGL_J0712.7+5033_daily_bin1775> in cluster <slac> Done

Job <4FGL_J0712.7+5033_daily_bin1775> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Sun Mar  5 00:05:43 2023
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Mar  5 02:37:58 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Mar  5 02:37:58 2023
Terminated at Sun Mar  5 02:53:42 2023
Results reported at Sun Mar  5 02:53:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0712.7+5033_daily_bin1775 108.188 50.5506 699408001 699667201 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 :                                   817.30 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             304.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   944 sec.
    Turnaround time :                            10079 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0177>
Subject: Job 738597: <4FGL_J0712.7+5033_daily_bin1775> in cluster <slac> Done

Job <4FGL_J0712.7+5033_daily_bin1775> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Mar  5 00:05:43 2023
Job was executed on host(s) <bullet0177>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Mar  5 02:38:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Mar  5 02:38:22 2023
Terminated at Sun Mar  5 02:55:27 2023
Results reported at Sun Mar  5 02:55:27 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0712.7+5033_daily_bin1775 108.188 50.5506 699408001 699667201 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 :                                   807.61 sec.
    Max Memory :                                 1104 MB
    Average Memory :                             288.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   3406 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1025 sec.
    Turnaround time :                            10184 sec.

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

