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 75 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0610.9-6054_monthly_bin168
RA = 92.7305, Dec = -60.9164
tmin = 672451201, tmax = 675043201
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='621138', job_status='RUN', time_executed='2022-05-24 02:24:12.768415', time_epoch_executed='1653384252.77' WHERE source_name='4FGL J0610.9-6054' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/621138

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/621138/ft1_4FGL_J0610.9-6054_monthly_bin168.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/621138/ft2_4FGL_J0610.9-6054_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/621138/ft1_4FGL_J0610.9-6054_monthly_bin168.fits outfile=/scratch/kocevski/621138/ft1_filteredMKT_4FGL_J0610.9-6054_monthly_bin168.fits ra=92.7305 dec=-60.9164 rad=12.0 tmin=672451201.0 tmax=675043201.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 28.66
user 28.02
sys 0.56

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/621138/ft2_4FGL_J0610.9-6054_monthly_bin168.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/621138/ft1_filteredMKT_4FGL_J0610.9-6054_monthly_bin168.fits evtable="EVENTS" outfile="/scratch/kocevski/621138/ft1_filtered_4FGL_J0610.9-6054_monthly_bin168.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.65
sys 0.20

Number of photons that the gtmktime cut: 10887

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/621138/ft1_filtered_4FGL_J0610.9-6054_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/621138/ft2_4FGL_J0610.9-6054_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/621138/ltcube_672451201_675043201_4FGL_J0610.9-6054_monthly_bin168.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/621138/ft2_4FGL_J0610.9-6054_monthly_bin168.fits
.....................!
real 138.72
user 138.05
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/621138/ft1_filtered_4FGL_J0610.9-6054_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/621138/ft2_4FGL_J0610.9-6054_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/621138/ltcube_672451201_675043201_4FGL_J0610.9-6054_monthly_bin168.fits outfile=/scratch/kocevski/621138/expmap_672451201_675043201_4FGL_J0610.9-6054_monthly_bin168.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/621138/ltcube_672451201_675043201_4FGL_J0610.9-6054_monthly_bin168.fits
.....................!
real 191.46
user 186.32
sys 4.79

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_archive_v18/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_archive_v18/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_archive_v18/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_archive_v18/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/621138/ft1_filtered_4FGL_J0610.9-6054_monthly_bin168.fits scfile=/scratch/kocevski/621138/ft2_4FGL_J0610.9-6054_monthly_bin168.fits outfile=/scratch/kocevski/621138/cmap_672451201_675043201_4FGL_J0610.9-6054_monthly_bin168.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.79
user 0.63
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/621138/ft1_filtered_4FGL_J0610.9-6054_monthly_bin168.fits scfile=/scratch/kocevski/621138/ft2_4FGL_J0610.9-6054_monthly_bin168.fits outfile=/scratch/kocevski/621138/cmap_HighResolution_672451201_675043201_4FGL_J0610.9-6054_monthly_bin168.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.80
user 0.61
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/621138/ft1_filtered_4FGL_J0610.9-6054_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/621138/ft2_4FGL_J0610.9-6054_monthly_bin168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/621138/Model_4FGL_J0610.9-6054_monthly_bin168.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/621138/ft1_filtered_4FGL_J0610.9-6054_monthly_bin168.fits.....................!
real 67810.44
user 67656.83
sys 1.66

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/621138/ft1_filtered_4FGL_J0610.9-6054_monthly_bin168.fits', '/scratch/kocevski/621138/ft2_4FGL_J0610.9-6054_monthly_bin168.fits', expMap='/scratch/kocevski/621138/expmap_672451201_675043201_4FGL_J0610.9-6054_monthly_bin168.fits', expCube='/scratch/kocevski/621138/ltcube_672451201_675043201_4FGL_J0610.9-6054_monthly_bin168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/621138/Model_4FGL_J0610.9-6054_monthly_bin168.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  1.000e-04  1.000e+04 ( 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/621138/ft1_filtered_4FGL_J0610.9-6054_monthly_bin168.fits
Spacecraft file(s): /scratch/kocevski/621138/ft2_4FGL_J0610.9-6054_monthly_bin168.fits
Exposure map: /scratch/kocevski/621138/expmap_672451201_675043201_4FGL_J0610.9-6054_monthly_bin168.fits
Exposure cube: /scratch/kocevski/621138/ltcube_672451201_675043201_4FGL_J0610.9-6054_monthly_bin168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/621138/Model_4FGL_J0610.9-6054_monthly_bin168.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) = 114399.311376

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .88332       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.5343       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.4236       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.7151       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.1472       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .56262E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.9476       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .56445       1.0000         .10000E-03   10000.    
     9 'norm      '    15.176       1.0000         .10000E-03   10000.    
    10 'norm      '    2.5493       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5660       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.5002       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.4281       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.7428       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.8455       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.5872       1.0000         .10000E-03   10000.    
    17 'Prefactor '    28.388       1.0000         .10000E-03   10000.    
    18 'Prefactor '    32.957       1.0000         .10000E-03   10000.    
    19 'norm      '    1.1802       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.0917       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .21395E-01   1.0000         .10000E-03   10000.    
    23 'Prefactor '    56.495       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0563       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .97314       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   114399.3     FROM MIGRAD    STATUS=CONVERGED    593 CALLS     3014 TOTAL
                     EDM=   .48E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .88323        1.2034       -.30798E-09   -.58160E-04
   2  Prefactor     4.5344        3.7710        .32231E-06   -.21195E-03
   3  Prefactor     3.4233        5.5120       -.28060E-06   -.80771E-05
   4  Prefactor     9.7146        3.8885        .30718E-06    .81256E-05
   5  Prefactor     4.1470        3.3842       -.30655E-06    .99747E-06
   6  Prefactor     .10000E-03    2.0126       -.72611E-07** at limit **
   7  norm          5.9474        1.0645       -.23193E-07    .58118E-05
   8  Prefactor     .56470        .85931        .18155E-07   -.30427E-03
   9  norm          15.175        2.3787       -.46548E-07   -.15351E-04
  10  norm          2.5491        1.3367       -.58214E-07   -.14346E-02
  11  Prefactor     1.5720        4.6410       -.17064E-06   -.38140E-03
  12  Prefactor     5.4995        2.3856        .16900E-06   -.50594E-03
  13  Prefactor     3.4238        3.6078        .88455E-08    .17668E-04
  14  Prefactor     8.7421        8.1497        .34683E-06    .32084E-05
  15  Prefactor     2.8450        1.9305       -.14710E-07   -.88655E-03
  16  Prefactor     2.5873        2.3324       -.19466E-07   -.70055E-05
  17  Prefactor     28.372        25.917       -.12737E-04   -.28193E-05
  18  Prefactor     32.955        5.5444        .64632E-06    .48494E-04
  19  norm          1.1801        .66189       -.43449E-08   -.97602E-04
  20  Prefactor     .10000E-03    2.7950        .39089E-07** at limit **
  21  norm          2.0917        .78229       -.29084E-07   -.71607E-04
  22  Prefactor     .62752E-02    .33301       -.54064E-07   -.56851E-04
  23  Prefactor     56.494        22.293        .27492E-05    .11785E-04
  24  Normalizat    1.0563        .54386E-01   -.19888E-07    .11809E-03
  25  Prefactor     .97319        .27382E-01   -.19339E-07    .23019E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.883226
  Prefactor  = 4.53437
  Prefactor  = 3.4233
  Prefactor  = 9.71465
  Prefactor  = 4.14699
  Prefactor  = 0.0001
  norm       = 5.94741
  Prefactor  = 0.564696
  norm       = 15.175
  norm       = 2.54914
  Prefactor  = 1.57196
  Prefactor  = 5.49945
  Prefactor  = 3.42381
  Prefactor  = 8.74209
  Prefactor  = 2.84495
  Prefactor  = 2.58726
  Prefactor  = 28.3721
  Prefactor  = 32.9553
  norm       = 1.18014
  Prefactor  = 0.0001
  norm       = 2.09167
  Prefactor  = 0.00627517
  Prefactor  = 56.494
  Normalizat = 1.05629
  Prefactor  = 0.973186
 **********
 **   18 **HESSE 
 **********

 FCN=   114399.3     FROM HESSE     STATUS=OK           459 CALLS     3473 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .88323        1.2039        .25494E-03   -1.5520    
   2  Prefactor     4.5344        3.8291        .94529E-03   -1.5282    
   3  Prefactor     3.4233        5.4972        .21862E-03   -1.5338    
   4  Prefactor     9.7146        3.8966        .12857E-03   -1.5084    
   5  Prefactor     4.1470        3.3863        .19793E-03   -1.5301    
   6  Prefactor     .10000E-03    2.0730        .16408       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.9474        1.0645        .16465E-04   -1.5220    
   8  Prefactor     .56470        .87749        .35760E-02   -1.5558    
   9  norm          15.175        2.3686        .10281E-03   -1.4929    
  10  norm          2.5491        1.5780        .12787E-02   -1.5389    
  11  Prefactor     1.5720        5.9207        .16993E-02   -1.5457    
  12  Prefactor     5.4995        2.3903        .85660E-03   -1.5239    
  13  Prefactor     3.4238        3.6762        .21847E-03   -1.5338    
  14  Prefactor     8.7421        8.1509        .13556E-03   -1.5117    
  15  Prefactor     2.8450        2.0622        .12052E-02   -1.5371    
  16  Prefactor     2.5873        2.3273        .25370E-03   -1.5386    
  17  Prefactor     28.372        25.926        .75193E-04   -1.4642    
  18  Prefactor     32.955        5.5408        .69800E-04   -1.4559    
  19  norm          1.1801        .65444        .19819E-03   -1.5491    
  20  Prefactor     .10000E-03    2.8325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.0917        .77841        .17599E-03   -1.5419    
  22  Prefactor     .62752E-02    .68132        .57292E-01   -1.5692    
  23  Prefactor     56.494        22.328        .53371E-04   -1.4203    
  24  Normalizat    1.0563        .63131E-01    .33454E-03   -.91168    
  25  Prefactor     .97319        .31544E-01    .18499E-03   -.93629    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95206e-06
Minuit parameter uncertainties:
  1  1.20397
  2  3.82932
  3  5.49805
  4  3.89669
  5  3.38651
  6  4.06527e-05
  7  1.06455
  8  0.877514
  9  2.36864
  10  1.57804
  11  5.92288
  12  2.39031
  13  3.67646
  14  8.15194
  15  2.06229
  16  2.32737
  17  25.9361
  18  5.54089
  19  0.654447
  20  1.72864e-08
  21  0.77841
  22  0.129728
  23  22.3316
  24  0.0631359
  25  0.0315447
Done.

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

Extracting fit parameters...

4FGL J0610.9-6054
   Spectrum: PowerLaw
359    Prefactor:  3.424e+00  3.676e+00  1.000e-04  1.000e+04 ( 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.732e-01  3.154e-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.056e+00  6.314e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.68
Ra Dec: 92.731 -60.916
Photon Index (Fixed Index): 2.58 +/- 0.00
Photon Flux (Fixed Index): 1.10e-08 +/- 1.18e-08
Energy Flux (Fixed Index): 2.92e-06 +/- 3.14e-06

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

Saving results to:
/scratch/kocevski/621138/likelihoodResults_672451201_675043201_4FGL_J0610.9-6054_monthly_bin168.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) = 114398.856884
delta logL = 0.424852037962

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 114398.851582
delta logL = 0.430153617068

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29351       1.0000         .10000E-03   10000.    
     2 'Index     '    4.1700       1.0000          .0000       10.000    
     3 'Normalizat'    1.0400       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97911       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   114398.9     FROM MIGRAD    STATUS=FAILED        97 CALLS      350 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .29301        5.7090        .10949E-03    .13125E-03
   2  Index         4.1707        3.7222        .95204E-02    .48616E-02
   3  Normalizat    1.0401        .43674E-01    .33690E-03   -.28615E-04
   4  Prefactor     .97911        .22843E-01    .18450E-03   -.35492E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   114398.9     FROM SIMPLEX   STATUS=UNCHANGED     90 CALLS      440 TOTAL
                     EDM=   .56E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .29301        5.7090        .14189E-03    .13125E-03
   2  Index         4.1707        3.7222        .24755E-02    .48616E-02
   3  Normalizat    1.0401        .43674E-01    .25202E-04   -.28615E-04
   4  Prefactor     .97911        .22843E-01    .13030E-04   -.35492E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   114398.9     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      506 TOTAL
                     EDM=   .76E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .29300        2.8779        .87590E-06   -.11738E-03
   2  Index         4.1708        2.8166        .38082E-03   -.71648E-05
   3  Normalizat    1.0401        .60056E-01    .26952E-05   -.67489E-04
   4  Prefactor     .97911        .31390E-01    .14760E-05   -.12323E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.292996
  Index      = 4.17077
  Normalizat = 1.04006
  Prefactor  = 0.97911
 **********
 **   18 **HESSE 
 **********

 FCN=   114398.9     FROM HESSE     STATUS=OK            23 CALLS      529 TOTAL
                     EDM=   .72E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .29300        1.4036        .37193E-06   -1.5600    
   2  Index         4.1708        2.0358        .15233E-04   -.16662    
   3  Normalizat    1.0401        .60692E-01    .53905E-06   -.91700    
   4  Prefactor     .97911        .31662E-01    .29521E-06   -.93429    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.22773e-13
Minuit parameter uncertainties:
  1  1.28239
  2  2.09855
  3  0.0606955
  4  0.0316628
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/621138': 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) = 114398.851582
delta logL = 0.430153715104

Extracting fit parameters...

4FGL J0610.9-6054
   Spectrum: PowerLaw
359    Prefactor:  2.930e-01  1.282e+00  1.000e-04  1.000e+04 ( 1.000e-13)
360        Index:  4.171e+00  2.099e+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:  9.791e-01  3.166e-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.040e+00  6.070e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.68
Ra Dec: 92.731 -60.916
Photon Index (Free Index): 4.17 +/- 2.10
Photon Flux (Free Index): 2.16e-08 +/- 1.43e-08
Energy Flux (Free Index): 3.15e-06 +/- 2.20e-06

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/621138/cmap_HighResolution_672451201_675043201_4FGL_J0610.9-6054_monthly_bin168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.20e-03', comment='SUCCESS', photon_flux='1.10e-08', energy_flux2='3.15e-06', photon_flux_error='1.18e-08', dlogl='4.30e-01', energy_flux='2.92e-06', photon_flux2='2.16e-08', job_status='DONE', time_completed='2022-05-24 23:59:04.054773', photon_index_error2='2.10', photon_index2='4.17', ts='1.68', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='2.81e-08', energy_flux_error2='2.20e-06', EG='1.06', time_epoch_completed='1653461944.05', return_code='0', job_id='621138', GAL2='0.98', EG2='1.04', return_code2='0', energy_flux_error='3.14e-06', photon_flux_error2='1.43e-08', ts2='2.68', photon_index='2.58' WHERE bin_id='168' AND source_name='4FGL J0610.9-6054' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue May 24 23:59:04 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 621138: <4FGL_J0610.9-6054_monthly_bin168> in cluster <slac> Done

Job <4FGL_J0610.9-6054_monthly_bin168> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue May 24 02:20:37 2022
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 02:22:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 02:22:49 2022
Terminated at Tue May 24 23:59:05 2022
Results reported at Tue May 24 23:59:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0610.9-6054_monthly_bin168 92.7305 -60.9164 672451201 675043201 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 :                                   77552.00 sec.
    Max Memory :                                 1270 MB
    Average Memory :                             622.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              6
    Max Threads :                                22
    Run time :                                   77776 sec.
    Turnaround time :                            77908 sec.

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

