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 17 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_J0734.0+5021_daily_bin1711
RA = 113.524, Dec = 50.3572
tmin = 682819201, tmax = 683078401
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='54225', job_status='RUN', time_executed='2022-09-16 13:07:29.523238', time_epoch_executed='1663358849.52' WHERE source_name='4FGL J0734.0+5021' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/54225

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/54225/ft1_4FGL_J0734.0+5021_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/54225/ft2_4FGL_J0734.0+5021_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/54225/ft1_4FGL_J0734.0+5021_daily_bin1711.fits outfile=/scratch/kocevski/54225/ft1_filteredMKT_4FGL_J0734.0+5021_daily_bin1711.fits ra=113.524 dec=50.3572 rad=12.0 tmin=682819201.0 tmax=683078401.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.57
user 4.30
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/54225/ft2_4FGL_J0734.0+5021_daily_bin1711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/54225/ft2_4FGL_J0734.0+5021_daily_bin1711.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/54225/ft1_filteredMKT_4FGL_J0734.0+5021_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/54225/ft1_filtered_4FGL_J0734.0+5021_daily_bin1711.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.53
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 805

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/54225/ft1_filtered_4FGL_J0734.0+5021_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/54225/ft2_4FGL_J0734.0+5021_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/54225/ltcube_682819201_683078401_4FGL_J0734.0+5021_daily_bin1711.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/54225/ft2_4FGL_J0734.0+5021_daily_bin1711.fits
.....................!
real 13.89
user 13.52
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/54225/ft1_filtered_4FGL_J0734.0+5021_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/54225/ft2_4FGL_J0734.0+5021_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/54225/ltcube_682819201_683078401_4FGL_J0734.0+5021_daily_bin1711.fits outfile=/scratch/kocevski/54225/expmap_682819201_683078401_4FGL_J0734.0+5021_daily_bin1711.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/54225/ltcube_682819201_683078401_4FGL_J0734.0+5021_daily_bin1711.fits
.....................!
real 191.28
user 185.61
sys 5.20

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

Setting source of interest to:
4FGL J0734.0+5021 @ 113.524 50.3572

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/54225/ft1_filtered_4FGL_J0734.0+5021_daily_bin1711.fits scfile=/scratch/kocevski/54225/ft2_4FGL_J0734.0+5021_daily_bin1711.fits outfile=/scratch/kocevski/54225/cmap_682819201_683078401_4FGL_J0734.0+5021_daily_bin1711.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=113.524 yref=50.3572 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/54225/ft1_filtered_4FGL_J0734.0+5021_daily_bin1711.fits scfile=/scratch/kocevski/54225/ft2_4FGL_J0734.0+5021_daily_bin1711.fits outfile=/scratch/kocevski/54225/cmap_HighResolution_682819201_683078401_4FGL_J0734.0+5021_daily_bin1711.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=113.524 yref=50.3572 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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/54225/ft1_filtered_4FGL_J0734.0+5021_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/54225/ft2_4FGL_J0734.0+5021_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/54225/Model_4FGL_J0734.0+5021_daily_bin1711.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/54225/ft1_filtered_4FGL_J0734.0+5021_daily_bin1711.fits.....................!
real 88.85
user 87.42
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/54225/ft1_filtered_4FGL_J0734.0+5021_daily_bin1711.fits', '/scratch/kocevski/54225/ft2_4FGL_J0734.0+5021_daily_bin1711.fits', expMap='/scratch/kocevski/54225/expmap_682819201_683078401_4FGL_J0734.0+5021_daily_bin1711.fits', expCube='/scratch/kocevski/54225/ltcube_682819201_683078401_4FGL_J0734.0+5021_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/54225/Model_4FGL_J0734.0+5021_daily_bin1711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0734.0+5021'

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  9.135e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/54225/ft1_filtered_4FGL_J0734.0+5021_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/54225/ft2_4FGL_J0734.0+5021_daily_bin1711.fits
Exposure map: /scratch/kocevski/54225/expmap_682819201_683078401_4FGL_J0734.0+5021_daily_bin1711.fits
Exposure cube: /scratch/kocevski/54225/ltcube_682819201_683078401_4FGL_J0734.0+5021_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/54225/Model_4FGL_J0734.0+5021_daily_bin1711.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) = 8607.88432926

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33513E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .62475       1.0000          .0000       .10000E+07
     3 'norm      '    .20924E-05   1.0000          .0000       .10000E+07
     4 'norm      '    .60035E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .10086E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .78078E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .83475       1.0000          .0000       .10000E+07
     8 'Prefactor '    .26132E-01   1.0000          .0000       .10000E+07
     9 'norm      '    2.5068       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.148       1.0000          .0000       .10000E+07
    11 'Prefactor '    .72893E-02   1.0000          .0000       .10000E+07
    12 'norm      '    1.1828       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20000E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.4032       1.0000          .0000       .10000E+07
    15 'norm      '    .94360       1.0000          .0000       .10000E+07
    16 'Prefactor '    .70875E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .21024E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    11.252       1.0000          .0000       .10000E+07
    19 'norm      '    .82818E-05   1.0000          .0000       .10000E+07
    20 'norm      '    2.3262       1.0000          .0000       .10000E+07
    21 'Prefactor '    8.3784       1.0000          .0000       .10000E+07
    22 'norm      '    1.0461       1.0000          .0000       .10000E+07
    23 'Prefactor '    7.0487       1.0000          .0000       .10000E+07
    24 'Prefactor '    .20054       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0994       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .94850       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8607.880     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     2237 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18840E-06    6.7072        .42194E-06** at limit **
   2  norm          .62577        4.0845       -.16596E-05   -.25586E-02
   3  norm           .0000        .91526        .34261E-07** at limit **
   4  norm           .0000        1.3635        .57235E-07** at limit **
   5  Prefactor     .36471E-07    7.3866        .75287E-06** at limit **
   6  Prefactor     .55511E-10    1.6623       -.23582E-06** at limit **
   7  Prefactor     .83051        2.1613       -.68868E-06    .62642E-02
   8  Prefactor     .55511E-10    13.089        .90149E-08** at limit **
   9  norm          2.4844        6.8610        .79458E-06    .56024E-02
  10  Prefactor     14.857        23.271        .13606E-05   -.51063E-02
  11  Prefactor     .89595E-07    8.4371       -.41608E-06** at limit **
  12  norm          1.1842        .84280       -.22004E-07   -.76988E-03
  13  Prefactor     .34417E-08    3.6236        .40410E-06** at limit **
  14  Prefactor     3.4029        10.963        .15213E-05   -.28374E-01
  15  norm          .93441        1.7635       -.35760E-07   -.16187E-02
  16  Prefactor     .83655E-07    7.7384       -.71787E-06** at limit **
  17  Prefactor     .26146E-07    91.286       -.14493E-05** at limit **
  18  Prefactor     11.244        6.3423       -.69113E-06   -.74099E-02
  19  norm           .0000        1.7484        .34144E-07** at limit **
  20  norm          2.3263        1.4485       -.28825E-08   -.19024E-02
  21  Prefactor     8.3783        8.4863       -.43314E-06   -.65344E-02
  22  norm          1.0461        .67421        .54104E-07   -.31193E-02
  23  Prefactor     7.0494        5.7956       -.17786E-06   -.40104E-02
  24  Prefactor     .14065        1.4833       -.11286E-06** at limit **
  25  Normalizat    1.0999        .20450       -.15283E-05   -.42589E-04
  26  Prefactor     .94844        .12166        .21928E-05    .22957E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.88405e-07
  norm       = 0.625774
  norm       = 0
  norm       = 0
  Prefactor  = 3.64708e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0.830505
  Prefactor  = 5.55112e-11
  norm       = 2.48445
  Prefactor  = 14.8568
  Prefactor  = 8.9595e-08
  norm       = 1.18416
  Prefactor  = 3.44169e-09
  Prefactor  = 3.40286
  norm       = 0.934411
  Prefactor  = 8.36553e-08
  Prefactor  = 2.61458e-08
  Prefactor  = 11.2445
  norm       = 0
  norm       = 2.32631
  Prefactor  = 8.37828
  norm       = 1.04607
  Prefactor  = 7.04942
  Prefactor  = 0.140651
  Normalizat = 1.09994
  Prefactor  = 0.948443
 **********
 **   18 **HESSE 
 **********

 FCN=   8607.880     FROM HESSE     STATUS=OK           514 CALLS     2751 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18840E-06    9.6718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .62577        4.1589        .67040E-03   -1.5692    
   3  norm           .0000        .91498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.3667        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .36471E-07    7.7938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    1.6613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .83051        49.350        .50380E-03   -1.5690    
   8  Prefactor     .55511E-10    12.790        .16662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.4844        6.8766        .64513E-03   -1.5676    
  10  Prefactor     14.857        24.175        .25707E-03   -1.5631    
  11  Prefactor     .89595E-07    11.029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.1842        .86571        .10499E-02   -1.5686    
  13  Prefactor     .34417E-08    10.623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.4029        24.143        .54815E-03   -1.5671    
  15  norm          .93441        1.7744        .42791E-03   -1.5689    
  16  Prefactor     .83655E-07    8.5119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .26146E-07    91.263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.244        6.3552        .29841E-03   -1.5641    
  19  norm           .0000        1.7472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.3263        1.4466        .67218E-03   -1.5677    
  21  Prefactor     8.3783        8.5092        .34610E-03   -1.5650    
  22  norm          1.0461        .67373        .12157E-02   -1.5688    
  23  Prefactor     7.0494        5.8256        .37761E-03   -1.5655    
  24  Prefactor     .14065        5.9370        .77575E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0999        .18010        .66409E-01   -.89754    
  26  Prefactor     .94844        .10426        .45620E-01   -.94468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88812e-06
Minuit parameter uncertainties:
  1  0.00269964
  2  3.22646
  3  2.62377e-06
  4  2.42549e-06
  5  0.00106666
  6  1.99333e-05
  7  12.8041
  8  3.97924e-05
  9  6.87663
  10  24.1755
  11  0.00198797
  12  0.865707
  13  0.000383292
  14  18.1278
  15  1.77442
  16  0.00168781
  17  0.00308869
  18  6.35519
  19  3.77953e-06
  20  1.4466
  21  8.50921
  22  0.673725
  23  5.82561
  24  1.82762
  25  0.180204
  26  0.104284
Done.

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

Extracting fit parameters...

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  8.959e-08  1.988e-03  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.484e-01  1.043e-01  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  1.100e+00  1.802e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 113.524 50.357
Photon Flux Upper Limit: 6.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/54225/likelihoodResults_682819201_683078401_4FGL_J0734.0+5021_daily_bin1711.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) = 8607.88057017
delta logL = -8.61860971781e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8607.88048398
delta logL = -7.00310920365e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96589E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.3131       1.0000          .0000       10.000    
     3 'Normalizat'    1.0999       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94845       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8607.880     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      248 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.2738        .42118E-03** at limit **
   2  Index         3.1629        1.4798        .10294E-03     .0000    
   3  Normalizat    1.0999        1.1553       -.61083E-05    .78348E-04
   4  Prefactor     .94844        1.2908        .12673E-04    .19214E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.16288
  Normalizat = 1.09994
  Prefactor  = 0.948443
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8607.880     FROM HESSE     STATUS=FAILED         9 CALLS      257 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.2738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1265        2.1319        .10294E-03   -.37624    
   3  Normalizat    1.0999        1.1553       -.61083E-05   -.89754    
   4  Prefactor     .94844        1.2908        .12673E-04   -.94468    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.51071e-11
Minuit parameter uncertainties:
  1  2.84118e-05
  2  1.50602
  3  1.18363
  4  1.33665
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/54225': 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): 101
logL (Free Index) = 8607.88048398
delta logL = 4.05634636991e-09

Extracting fit parameters...

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  2.841e-05  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  3.163e+00  1.506e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  9.484e-01  1.337e+00  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  1.100e+00  1.184e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 113.524 50.357

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/54225/cmap_HighResolution_682819201_683078401_4FGL_J0734.0+5021_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2022-09-16 13:21:52.192600', job_id='54225', GAL2='0.95', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1663359712.19', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='4.06e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1711' AND source_name='4FGL J0734.0+5021' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:21:52 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 54225: <4FGL_J0734.0+5021_daily_bin1711> in cluster <slac> Done

Job <4FGL_J0734.0+5021_daily_bin1711> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 13:05:23 2022
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:07:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 13:07:04 2022
Terminated at Fri Sep 16 13:21:53 2022
Results reported at Fri Sep 16 13:21:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0734.0+5021_daily_bin1711 113.524 50.3572 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0734.0+5021 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   864.02 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             319.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            990 sec.

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

