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 107 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_J0610.9-6054_daily_bin1745
RA = 92.7305, Dec = -60.9164
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='637714', job_status='RUN', time_executed='2022-12-05 00:07:58.440875', time_epoch_executed='1670227678.44' WHERE source_name='4FGL J0610.9-6054' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/637714

Creating custom pfile directory:
/scratch/kocevski/637714/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/637714/ft1_4FGL_J0610.9-6054_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/637714/ft2_4FGL_J0610.9-6054_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/637714/ft1_4FGL_J0610.9-6054_daily_bin1745.fits outfile=/scratch/kocevski/637714/ft1_filteredMKT_4FGL_J0610.9-6054_daily_bin1745.fits ra=92.7305 dec=-60.9164 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.37
user 2.17
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/637714/ft2_4FGL_J0610.9-6054_daily_bin1745.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/637714/ft2_4FGL_J0610.9-6054_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/637714/ft1_filteredMKT_4FGL_J0610.9-6054_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/637714/ft1_filtered_4FGL_J0610.9-6054_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.52
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 1430

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/637714/ft1_filtered_4FGL_J0610.9-6054_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/637714/ft2_4FGL_J0610.9-6054_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/637714/ltcube_691632001_691891201_4FGL_J0610.9-6054_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/637714/ft2_4FGL_J0610.9-6054_daily_bin1745.fits
.....................!
real 12.38
user 12.01
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/637714/ft1_filtered_4FGL_J0610.9-6054_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/637714/ft2_4FGL_J0610.9-6054_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/637714/ltcube_691632001_691891201_4FGL_J0610.9-6054_daily_bin1745.fits outfile=/scratch/kocevski/637714/expmap_691632001_691891201_4FGL_J0610.9-6054_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/637714/ltcube_691632001_691891201_4FGL_J0610.9-6054_daily_bin1745.fits
.....................!
real 190.65
user 185.26
sys 5.03

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
Extended source LMC-North in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-North.fits is the correct path to the extended template.
Extended source LMC-FarWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-30DorWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Added 210 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0610.9-6054 @ 92.7305 -60.9164

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/637714/ft1_filtered_4FGL_J0610.9-6054_daily_bin1745.fits scfile=/scratch/kocevski/637714/ft2_4FGL_J0610.9-6054_daily_bin1745.fits outfile=/scratch/kocevski/637714/cmap_691632001_691891201_4FGL_J0610.9-6054_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=92.7305 yref=-60.9164 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/637714/ft1_filtered_4FGL_J0610.9-6054_daily_bin1745.fits scfile=/scratch/kocevski/637714/ft2_4FGL_J0610.9-6054_daily_bin1745.fits outfile=/scratch/kocevski/637714/cmap_HighResolution_691632001_691891201_4FGL_J0610.9-6054_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=92.7305 yref=-60.9164 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/637714/ft1_filtered_4FGL_J0610.9-6054_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/637714/ft2_4FGL_J0610.9-6054_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/637714/Model_4FGL_J0610.9-6054_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
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
Working on...
/scratch/kocevski/637714/ft1_filtered_4FGL_J0610.9-6054_daily_bin1745.fits.....................!
real 8700.18
user 8684.17
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/637714/ft1_filtered_4FGL_J0610.9-6054_daily_bin1745.fits', '/scratch/kocevski/637714/ft2_4FGL_J0610.9-6054_daily_bin1745.fits', expMap='/scratch/kocevski/637714/expmap_691632001_691891201_4FGL_J0610.9-6054_daily_bin1745.fits', expCube='/scratch/kocevski/637714/ltcube_691632001_691891201_4FGL_J0610.9-6054_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/637714/Model_4FGL_J0610.9-6054_daily_bin1745.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0610.9-6054'

4FGL J0610.9-6054
   Spectrum: PowerLaw
359    Prefactor:  2.663e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
360        Index:  2.582e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
361        Scale:  1.115e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/637714/ft1_filtered_4FGL_J0610.9-6054_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/637714/ft2_4FGL_J0610.9-6054_daily_bin1745.fits
Exposure map: /scratch/kocevski/637714/expmap_691632001_691891201_4FGL_J0610.9-6054_daily_bin1745.fits
Exposure cube: /scratch/kocevski/637714/ltcube_691632001_691891201_4FGL_J0610.9-6054_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/637714/Model_4FGL_J0610.9-6054_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) = 14997.0236861

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.725       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.1728       1.0000          .0000       .10000E+07
     3 'Prefactor '    17.069       1.0000          .0000       .10000E+07
     4 'Prefactor '    9.6141       1.0000          .0000       .10000E+07
     5 'Prefactor '    .25224E-02   1.0000          .0000       .10000E+07
     6 'norm      '    5.7696       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.1654       1.0000          .0000       .10000E+07
     8 'norm      '    3.3826       1.0000          .0000       .10000E+07
     9 'norm      '    .45434E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .31310       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.5587       1.0000          .0000       .10000E+07
    12 'Prefactor '    .65503E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    14.458       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.919       1.0000          .0000       .10000E+07
    15 'Prefactor '    24.721       1.0000          .0000       .10000E+07
    16 'Prefactor '    47.061       1.0000          .0000       .10000E+07
    17 'norm      '    1.8758       1.0000          .0000       .10000E+07
    18 'Prefactor '    .61303       1.0000          .0000       .10000E+07
    19 'norm      '    2.0628       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.5930       1.0000          .0000       .10000E+07
    21 'Prefactor '    129.93       1.0000          .0000       .10000E+07
    22 'Normalizat'    .64737       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99715       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14997.02     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     2007 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.717        8.2479       -.27406E-06    .37835E-02
   2  Prefactor     5.1458        10.728       -.38286E-06    .65937E-03
   3  Prefactor     17.013        2.2383        .53486E-07   -.71639E-02
   4  Prefactor     9.5796        11.816        .24798E-07   -.23101E-03
   5  Prefactor      .0000        7.6673       -.44332E-07** at limit **
   6  norm          5.7722        2.9879        .43138E-07   -.13297E-02
   7  Prefactor     1.1601        2.0857        .20883E-06   -.35523E-02
   8  norm          3.3800        3.1301        .28937E-07   -.81000E-03
   9  norm          .55511E-10    23.607        .84360E-06** at limit **
  10  Prefactor     .58660        121.59       -.37459E-05    .21720E-03
  11  Prefactor     3.5734        6.5664        .16255E-06   -.95599E-03
  12  Prefactor     .55511E-10    10.758       -.33086E-06** at limit **
  13  Prefactor     14.463        8.1947       -.73172E-07   -.58485E-03
  14  Prefactor     11.931        7.3408        .19629E-06   -.14647E-02
  15  Prefactor     24.780        2.4742       -.15512E-08    .13126E-01
  16  Prefactor     47.005        15.871       -.45903E-07   -.91071E-04
  17  norm          1.8755        2.4052       -.29549E-06    .44605E-02
  18  Prefactor     .18652E-06    797.40        .13676E-08** at limit **
  19  norm          2.0632        1.8939       -.16942E-06    .49580E-02
  20  Prefactor     8.6012        5.9991        .20328E-06   -.22246E-02
  21  Prefactor     130.18        11.274        .24245E-07   -.17622E-01
  22  Normalizat    .64699        .16700        .74723E-05   -.60929E-04
  23  Prefactor     .99750        .80917E-01   -.78915E-06   -.76649E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.7171
  Prefactor  = 5.14583
  Prefactor  = 17.0131
  Prefactor  = 9.57956
  Prefactor  = 0
  norm       = 5.77221
  Prefactor  = 1.16007
  norm       = 3.38004
  norm       = 5.55112e-11
  Prefactor  = 0.586596
  Prefactor  = 3.57339
  Prefactor  = 5.55112e-11
  Prefactor  = 14.463
  Prefactor  = 11.9307
  Prefactor  = 24.7803
  Prefactor  = 47.0046
  norm       = 1.87545
  Prefactor  = 1.86517e-07
  norm       = 2.06316
  Prefactor  = 8.60117
  Prefactor  = 130.179
  Normalizat = 0.646993
  Prefactor  = 0.997504
 **********
 **   18 **HESSE 
 **********

 FCN=   14997.02     FROM HESSE     STATUS=OK           450 CALLS     2457 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.717        8.7279        .23118E-03   -1.5621    
   2  Prefactor     5.1458        10.781        .44177E-03   -1.5663    
   3  Prefactor     17.013        32.521        .24215E-03   -1.5625    
   4  Prefactor     9.5796        11.942        .32295E-03   -1.5646    
   5  Prefactor      .0000        7.6811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.7722        2.9973        .41790E-03   -1.5660    
   7  Prefactor     1.1601        2.1259        .10648E-02   -1.5686    
   8  norm          3.3800        3.1311        .54990E-03   -1.5671    
   9  norm          .55511E-10    2.6672        .62587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .58660        10.616        .12055E-01   -1.5693    
  11  Prefactor     3.5734        6.6499        .53552E-03   -1.5670    
  12  Prefactor     .55511E-10    10.784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.463        8.2673        .26315E-03   -1.5632    
  14  Prefactor     11.931        7.3821        .28991E-03   -1.5639    
  15  Prefactor     24.780        53.749        .20117E-03   -1.5608    
  16  Prefactor     47.005        16.077        .14578E-03   -1.5571    
  17  norm          1.8755        2.4296        .75998E-03   -1.5681    
  18  Prefactor     .18652E-06    15.904        .10218E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.0632        1.8962        .71917E-03   -1.5679    
  20  Prefactor     8.6012        6.0425        .34172E-03   -1.5649    
  21  Prefactor     130.18        65.318        .87736E-04   -1.5480    
  22  Normalizat    .64699        .15322        .86680E-01   -1.0602    
  23  Prefactor     .99750        .72202E-01    .46232E-01   -.92813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34309e-07
Minuit parameter uncertainties:
  1  8.72787
  2  10.7809
  3  32.5211
  4  11.9419
  5  1.48343e-05
  6  2.99732
  7  2.12591
  8  3.13114
  9  2.82351e-05
  10  4.99082
  11  6.64991
  12  3.78252e-05
  13  8.26726
  14  7.38209
  15  53.7499
  16  16.0768
  17  2.4296
  18  0.0034447
  19  1.89617
  20  6.04255
  21  65.3183
  22  0.153317
  23  0.0722093
Done.

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

Extracting fit parameters...

4FGL J0610.9-6054
   Spectrum: PowerLaw
359    Prefactor:  5.551e-11  3.783e-05  0.000e+00  1.000e+06 ( 1.000e-13)
360        Index:  2.582e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
361        Scale:  1.115e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
684    Prefactor:  9.975e-01  7.221e-02  0.000e+00  1.000e+01 ( 1.000e+00)
685        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
686        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
683   Normalization:  6.470e-01  1.533e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 92.731 -60.916
Photon Flux Upper Limit: 5.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/637714/likelihoodResults_691632001_691891201_4FGL_J0610.9-6054_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) = 14997.0654812
delta logL = -0.0493572411451

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14996.7704565
delta logL = 0.245667523939

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .78853E-01   1.0000          .0000       .10000E+07
     2 'Index     '    4.8108       1.0000          .0000       10.000    
     3 'Normalizat'    .61480       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14996.77     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      291 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .79477E-01    .72398        .11064E-02** at limit **
   2  Index         4.8067        1.4567        .20151        .11621E-03
   3  Normalizat    .61497        .15727E-01    .88808E-01    .20374E-04
   4  Prefactor     1.0070        .84530E-02    .43763E-01   -.25265E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0794767
  Index      = 4.80674
  Normalizat = 0.614968
  Prefactor  = 1.00703
 **********
 **   18 **HESSE 
 **********

 FCN=   14996.77     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      326 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .79477E-01    8.1262        .46289E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.8067        7.3076        .80481E-02   -.38662E-01
   3  Normalizat    .61497        .93245E-01    .39341E-03   -1.0735    
   4  Prefactor     1.0070        .49195E-01    .16746E-03   -.92496    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.51075e-06
Minuit parameter uncertainties:
  1  1.60729
  2  9.04235
  3  0.0932683
  4  0.0491973
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/637714': 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) = 14996.7704495
delta logL = 0.245674509963

Extracting fit parameters...

4FGL J0610.9-6054
   Spectrum: PowerLaw
359    Prefactor:  7.948e-02  1.607e+00  0.000e+00  1.000e+06 ( 1.000e-13)
360        Index:  4.807e+00  9.042e+00  0.000e+00  1.000e+01 (-1.000e+00)
361        Scale:  1.115e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
684    Prefactor:  1.007e+00  4.920e-02  0.000e+00  1.000e+01 ( 1.000e+00)
685        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
686        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
683   Normalization:  6.150e-01  9.327e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 92.731 -60.916

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/637714/cmap_HighResolution_691632001_691891201_4FGL_J0610.9-6054_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.43e-03', job_status='DONE', photon_flux_upper_limit='5.67e-08', time_completed='2022-12-05 02:52:46.420702', job_id='637714', GAL2='1.01', fit_tolerance='1e-08', EG2='0.61', EG='0.65', time_epoch_completed='1670237566.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.46e-01', ts2='0.55', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1745' AND source_name='4FGL J0610.9-6054' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 02:52:46 PST 2022

SUCCESS', return_code='0', GAL='1.00', dlogl='2.46e-01', ts2='0.55', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1745' AND source_name='4FGL J0610.9-6054' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 02:49:42 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 637715: <4FGL_J0610.9-6054_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0610.9-6054_daily_bin1745> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Dec  5 00:05:34 2022
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:06:02 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:02 2022
Terminated at Mon Dec  5 02:49:42 2022
Results reported at Mon Dec  5 02:49:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0610.9-6054_daily_bin1745 92.7305 -60.9164 691632001 691891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0610.9-6054 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   9712.00 sec.
    Max Memory :                                 1259 MB
    Average Memory :                             585.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   9820 sec.
    Turnaround time :                            9848 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 637714: <4FGL_J0610.9-6054_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0610.9-6054_daily_bin1745> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Dec  5 00:05:34 2022
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:06:02 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:02 2022
Terminated at Mon Dec  5 02:52:47 2022
Results reported at Mon Dec  5 02:52:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0610.9-6054_daily_bin1745 92.7305 -60.9164 691632001 691891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0610.9-6054 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   9879.00 sec.
    Max Memory :                                 1259 MB
    Average Memory :                             582.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10004 sec.
    Turnaround time :                            10033 sec.

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

