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


Performing analysis on: 4FGL_J0610.9-6054_monthly_bin171
RA = 92.7305, Dec = -60.9164
tmin = 680227201, tmax = 682819201
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='122111', job_status='RUN', time_executed='2022-09-16 16:59:53.802169', time_epoch_executed='1663372793.8' WHERE source_name='4FGL J0610.9-6054' and cadence='monthly' and bin_id='171'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/122111

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/122111/ft1_4FGL_J0610.9-6054_monthly_bin171.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/122111/ft2_4FGL_J0610.9-6054_monthly_bin171.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/122111/ft1_4FGL_J0610.9-6054_monthly_bin171.fits outfile=/scratch/kocevski/122111/ft1_filteredMKT_4FGL_J0610.9-6054_monthly_bin171.fits ra=92.7305 dec=-60.9164 rad=12.0 tmin=680227201.0 tmax=682819201.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 29.96
user 29.16
sys 0.71

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/122111/ft2_4FGL_J0610.9-6054_monthly_bin171.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/122111/ft1_filteredMKT_4FGL_J0610.9-6054_monthly_bin171.fits evtable="EVENTS" outfile="/scratch/kocevski/122111/ft1_filtered_4FGL_J0610.9-6054_monthly_bin171.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.87
user 0.68
sys 0.18

Number of photons that the gtmktime cut: 10699

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/122111/ft1_filtered_4FGL_J0610.9-6054_monthly_bin171.fits" evtable="EVENTS" scfile=/scratch/kocevski/122111/ft2_4FGL_J0610.9-6054_monthly_bin171.fits sctable="SC_DATA" outfile=/scratch/kocevski/122111/ltcube_680227201_682819201_4FGL_J0610.9-6054_monthly_bin171.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/122111/ft2_4FGL_J0610.9-6054_monthly_bin171.fits
.....................!
real 132.42
user 130.26
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/122111/ft1_filtered_4FGL_J0610.9-6054_monthly_bin171.fits evtable="EVENTS" scfile=/scratch/kocevski/122111/ft2_4FGL_J0610.9-6054_monthly_bin171.fits sctable="SC_DATA" expcube=/scratch/kocevski/122111/ltcube_680227201_682819201_4FGL_J0610.9-6054_monthly_bin171.fits outfile=/scratch/kocevski/122111/expmap_680227201_682819201_4FGL_J0610.9-6054_monthly_bin171.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/122111/ltcube_680227201_682819201_4FGL_J0610.9-6054_monthly_bin171.fits
.....................!
real 192.60
user 186.84
sys 5.25

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/122111/ft1_filtered_4FGL_J0610.9-6054_monthly_bin171.fits scfile=/scratch/kocevski/122111/ft2_4FGL_J0610.9-6054_monthly_bin171.fits outfile=/scratch/kocevski/122111/cmap_680227201_682819201_4FGL_J0610.9-6054_monthly_bin171.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.80
user 0.61
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/122111/ft1_filtered_4FGL_J0610.9-6054_monthly_bin171.fits scfile=/scratch/kocevski/122111/ft2_4FGL_J0610.9-6054_monthly_bin171.fits outfile=/scratch/kocevski/122111/cmap_HighResolution_680227201_682819201_4FGL_J0610.9-6054_monthly_bin171.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.82
user 0.65
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/122111/ft1_filtered_4FGL_J0610.9-6054_monthly_bin171.fits evtable="EVENTS" scfile=/scratch/kocevski/122111/ft2_4FGL_J0610.9-6054_monthly_bin171.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/122111/Model_4FGL_J0610.9-6054_monthly_bin171.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/122111/ft1_filtered_4FGL_J0610.9-6054_monthly_bin171.fits.....................!
real 66132.90
user 65969.63
sys 1.64

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/122111/ft1_filtered_4FGL_J0610.9-6054_monthly_bin171.fits', '/scratch/kocevski/122111/ft2_4FGL_J0610.9-6054_monthly_bin171.fits', expMap='/scratch/kocevski/122111/expmap_680227201_682819201_4FGL_J0610.9-6054_monthly_bin171.fits', expCube='/scratch/kocevski/122111/ltcube_680227201_682819201_4FGL_J0610.9-6054_monthly_bin171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/122111/Model_4FGL_J0610.9-6054_monthly_bin171.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/122111/ft1_filtered_4FGL_J0610.9-6054_monthly_bin171.fits
Spacecraft file(s): /scratch/kocevski/122111/ft2_4FGL_J0610.9-6054_monthly_bin171.fits
Exposure map: /scratch/kocevski/122111/expmap_680227201_682819201_4FGL_J0610.9-6054_monthly_bin171.fits
Exposure cube: /scratch/kocevski/122111/ltcube_680227201_682819201_4FGL_J0610.9-6054_monthly_bin171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/122111/Model_4FGL_J0610.9-6054_monthly_bin171.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) = 112163.05171

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8535       1.0000          .0000       .10000E+07
     2 'Prefactor '    .54458E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    19.207       1.0000          .0000       .10000E+07
     4 'Prefactor '    9.6860       1.0000          .0000       .10000E+07
     5 'Prefactor '    .21340E-04   1.0000          .0000       .10000E+07
     6 'norm      '    4.6493       1.0000          .0000       .10000E+07
     7 'Prefactor '    .45131E-07   1.0000          .0000       .10000E+07
     8 'norm      '    15.224       1.0000          .0000       .10000E+07
     9 'norm      '    3.6211       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13040E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.6873       1.0000          .0000       .10000E+07
    12 'Prefactor '    .55648       1.0000          .0000       .10000E+07
    13 'Prefactor '    .32254E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.1766       1.0000          .0000       .10000E+07
    15 'Prefactor '    .23095E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .17892E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .83406       1.0000          .0000       .10000E+07
    18 'Prefactor '    11.052       1.0000          .0000       .10000E+07
    19 'norm      '    1.9107       1.0000          .0000       .10000E+07
    20 'Prefactor '    2.0739       1.0000          .0000       .10000E+07
    21 'Prefactor '    20.637       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.2303       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .94456       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=   112162.4     FROM MIGRAD    STATUS=CONVERGED    121 CALLS     1474 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8488        1.9416       -.22288E-07    .17380E-02
   2  Prefactor     .46074E-08    3.4880        .42953E-06** at limit **
   3  Prefactor     19.294        1.4364       -.11323E-07   -.38279E-02
   4  Prefactor     9.7162        4.4513       -.28259E-08   -.22425E-03
   5  Prefactor     .84377E-08    2.1395       -.13385E-06** at limit **
   6  norm          4.6469        1.0982        .28747E-07    .14170E-02
   7  Prefactor      .0000        .39569       -.56823E-07** at limit **
   8  norm          15.221        2.4930       -.66176E-07   -.22545E-02
   9  norm          3.6217        1.5776       -.10898E-06    .19397E-02
  10  Prefactor     .16098E-08    2.1615       -.78743E-07** at limit **
  11  Prefactor     4.6960        2.5886       -.26224E-07   -.33443E-03
  12  Prefactor     .55536        1.8302       -.21135E-06   -.69705E-03
  13  Prefactor     .11602E-07    1.5013       -.22922E-06** at limit **
  14  Prefactor     4.1854        2.4547        .85958E-08    .31391E-03
  15  Prefactor     .14433E-08    6.5059        .38014E-06** at limit **
  16  Prefactor     .11047E-07    6.6786        .73852E-06** at limit **
  17  norm          .83426        .46944        .42413E-07   -.14583E-02
  18  Prefactor     11.063        6.2290       -.66331E-07   -.20755E-02
  19  norm          1.9112        .79483        .79256E-08    .32701E-02
  20  Prefactor     2.0755        2.4086       -.20826E-06   -.71368E-03
  21  Prefactor     20.680        3.9911       -.12959E-06    .68330E-01
  22  Normalizat    1.2301        .63098E-01    .32152E-06   -.15220E-03
  23  Prefactor     .94459        .32078E-01    .88898E-06   -.11486E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.84885
  Prefactor  = 4.60743e-09
  Prefactor  = 19.2937
  Prefactor  = 9.71624
  Prefactor  = 8.43769e-09
  norm       = 4.64694
  Prefactor  = 0
  norm       = 15.2209
  norm       = 3.62174
  Prefactor  = 1.60982e-09
  Prefactor  = 4.69601
  Prefactor  = 0.555357
  Prefactor  = 1.16018e-08
  Prefactor  = 4.1854
  Prefactor  = 1.44329e-09
  Prefactor  = 1.10467e-08
  norm       = 0.834256
  Prefactor  = 11.0631
  norm       = 1.91117
  Prefactor  = 2.07551
  Prefactor  = 20.6798
  Normalizat = 1.23009
  Prefactor  = 0.94459
 **********
 **   18 **HESSE 
 **********

 FCN=   112162.4     FROM HESSE     STATUS=OK           424 CALLS     1898 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8488        2.0683        .76537E-03   -1.5681    
   2  Prefactor     .46074E-08    3.4804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.294        11.973        .22826E-03   -1.5620    
   4  Prefactor     9.7162        4.4696        .32174E-03   -1.5646    
   5  Prefactor     .84377E-08    2.8924        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.6469        1.1035        .46652E-03   -1.5665    
   7  Prefactor      .0000        .39188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          15.221        2.4943        .25643E-03   -1.5630    
   9  norm          3.6217        1.5844        .53070E-03   -1.5670    
  10  Prefactor     .16098E-08    2.3068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.6960        2.5898        .46458E-03   -1.5665    
  12  Prefactor     .55536        1.8302        .73220E-03   -1.5693    
  13  Prefactor     .11602E-07    4.0193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.1854        2.4593        .49291E-03   -1.5667    
  15  Prefactor     .14433E-08    6.6551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11047E-07    6.7563        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .83426        .47028        .50430E-04   -1.5690    
  18  Prefactor     11.063        6.2360        .30111E-03   -1.5641    
  19  norm          1.9112        .80325        .75176E-03   -1.5680    
  20  Prefactor     2.0755        2.4174        .71696E-03   -1.5679    
  21  Prefactor     20.680        18.473        .22020E-03   -1.5617    
  22  Normalizat    1.2301        .54985E-01    .72656E-01   -.85678    
  23  Prefactor     .94459        .27891E-01    .45570E-01   -.94600    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15979e-05
Minuit parameter uncertainties:
  1  2.06826
  2  0.000253594
  3  11.9733
  4  4.46957
  5  0.000311964
  6  1.10353
  7  4.49739e-07
  8  2.49426
  9  1.58444
  10  0.000121793
  11  2.58978
  12  1.83016
  13  0.00043216
  14  2.45931
  15  0.000196747
  16  0.000547035
  17  0.47028
  18  6.23597
  19  0.803255
  20  2.41744
  21  18.4726
  22  0.0549874
  23  0.0278918
Done.

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

Extracting fit parameters...

4FGL J0610.9-6054
   Spectrum: PowerLaw
359    Prefactor:  5.554e-01  1.830e+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

GAL_V02
   Spectrum: PowerLaw
684    Prefactor:  9.446e-01  2.789e-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:  1.230e+00  5.499e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/122111/likelihoodResults_680227201_682819201_4FGL_J0610.9-6054_monthly_bin171.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) = 112162.280746
delta logL = 0.120290992636

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 112162.275942
delta logL = 0.125094900504

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2538       1.0000          .0000       .10000E+07
     2 'Index     '    2.0887       1.0000          .0000       10.000    
     3 'Normalizat'    1.2306       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94424       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   112162.3     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      293 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2526        2.3989        .19949E-03    .21218E-02
   2  Index         2.0863        .83145        .21906E-01    .10487E-04
   3  Normalizat    1.2306        .59548E-01    .32145E-03   -.11827E-03
   4  Prefactor     .94422        .31333E-01    .18925E-03   -.13937E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.25259
  Index      = 2.08632
  Normalizat = 1.23062
  Prefactor  = 0.944224
 **********
 **   18 **HESSE 
 **********

 FCN=   112162.3     FROM HESSE     STATUS=OK            27 CALLS      320 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2526        2.3680        .79796E-05   -1.5686    
   2  Index         2.0863        .82262        .87624E-03   -.62209    
   3  Normalizat    1.2306        .59589E-01    .12858E-04   -.85662    
   4  Prefactor     .94422        .31354E-01    .75698E-05   -.94612    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.79761e-12
Minuit parameter uncertainties:
  1  2.36796
  2  0.828342
  3  0.0595922
  4  0.031355
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/122111': 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) = 112162.275937
delta logL = 0.125099732555

Extracting fit parameters...

4FGL J0610.9-6054
   Spectrum: PowerLaw
359    Prefactor:  1.253e+00  2.368e+00  0.000e+00  1.000e+06 ( 1.000e-13)
360        Index:  2.086e+00  8.283e-01  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:  9.442e-01  3.136e-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:  1.231e+00  5.959e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/122111/cmap_HighResolution_680227201_682819201_4FGL_J0610.9-6054_monthly_bin171.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.26e-03', job_status='DONE', photon_flux_upper_limit='1.61e-08', time_completed='2022-09-17 12:57:42.320238', job_id='122111', GAL2='0.94', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1663444662.32', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.25e-01', ts2='0.35', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='171' AND source_name='4FGL J0610.9-6054' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sat Sep 17 12:57:42 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 122111: <4FGL_J0610.9-6054_monthly_bin171> in cluster <slac> Done

Job <4FGL_J0610.9-6054_monthly_bin171> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 16:55:39 2022
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:57:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 16:57:32 2022
Terminated at Sat Sep 17 12:57:43 2022
Results reported at Sat Sep 17 12:57:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0610.9-6054_monthly_bin171 92.7305 -60.9164 680227201 682819201 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 :                                   71731.00 sec.
    Max Memory :                                 1268 MB
    Average Memory :                             626.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   72011 sec.
    Turnaround time :                            72124 sec.

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

