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


Performing analysis on: 4FGL_J1546.1-1003_daily_bin1764
RA = 236.541, Dec = -10.051
tmin = 696556801, tmax = 696816001
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='455452', job_status='RUN', time_executed='2023-01-31 01:23:12.653540', time_epoch_executed='1675156992.65' WHERE source_name='4FGL J1546.1-1003' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/455452

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/455452/ft1_4FGL_J1546.1-1003_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/455452/ft2_4FGL_J1546.1-1003_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/455452/ft1_4FGL_J1546.1-1003_daily_bin1764.fits outfile=/scratch/kocevski/455452/ft1_filteredMKT_4FGL_J1546.1-1003_daily_bin1764.fits ra=236.541 dec=-10.051 rad=12.0 tmin=696556801.0 tmax=696816001.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 3.74
user 3.49
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/455452/ft2_4FGL_J1546.1-1003_daily_bin1764.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/455452/ft2_4FGL_J1546.1-1003_daily_bin1764.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/455452/ft1_filteredMKT_4FGL_J1546.1-1003_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/455452/ft1_filtered_4FGL_J1546.1-1003_daily_bin1764.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.34
sys 0.16

Number of photons that the gtmktime cut: 1187

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/455452/ft1_filtered_4FGL_J1546.1-1003_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/455452/ft2_4FGL_J1546.1-1003_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/455452/ltcube_696556801_696816001_4FGL_J1546.1-1003_daily_bin1764.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/455452/ft2_4FGL_J1546.1-1003_daily_bin1764.fits
.....................!
real 14.66
user 14.16
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/455452/ft1_filtered_4FGL_J1546.1-1003_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/455452/ft2_4FGL_J1546.1-1003_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/455452/ltcube_696556801_696816001_4FGL_J1546.1-1003_daily_bin1764.fits outfile=/scratch/kocevski/455452/expmap_696556801_696816001_4FGL_J1546.1-1003_daily_bin1764.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/455452/ltcube_696556801_696816001_4FGL_J1546.1-1003_daily_bin1764.fits
.....................!
real 192.63
user 186.89
sys 4.93

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 FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Added 170 point sources and 1 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 J1546.1-1003 @ 236.541 -10.051

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/455452/ft1_filtered_4FGL_J1546.1-1003_daily_bin1764.fits scfile=/scratch/kocevski/455452/ft2_4FGL_J1546.1-1003_daily_bin1764.fits outfile=/scratch/kocevski/455452/cmap_696556801_696816001_4FGL_J1546.1-1003_daily_bin1764.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=236.541 yref=-10.051 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.58
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/455452/ft1_filtered_4FGL_J1546.1-1003_daily_bin1764.fits scfile=/scratch/kocevski/455452/ft2_4FGL_J1546.1-1003_daily_bin1764.fits outfile=/scratch/kocevski/455452/cmap_HighResolution_696556801_696816001_4FGL_J1546.1-1003_daily_bin1764.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=236.541 yref=-10.051 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.60
user 0.41
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/455452/ft1_filtered_4FGL_J1546.1-1003_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/455452/ft2_4FGL_J1546.1-1003_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/455452/Model_4FGL_J1546.1-1003_daily_bin1764.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 FHES J1626.9-2431
adding source GAL_V02
Working on...
/scratch/kocevski/455452/ft1_filtered_4FGL_J1546.1-1003_daily_bin1764.fits.....................!
real 120.94
user 119.28
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/455452/ft1_filtered_4FGL_J1546.1-1003_daily_bin1764.fits', '/scratch/kocevski/455452/ft2_4FGL_J1546.1-1003_daily_bin1764.fits', expMap='/scratch/kocevski/455452/expmap_696556801_696816001_4FGL_J1546.1-1003_daily_bin1764.fits', expCube='/scratch/kocevski/455452/ltcube_696556801_696816001_4FGL_J1546.1-1003_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/455452/Model_4FGL_J1546.1-1003_daily_bin1764.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1546.1-1003'

4FGL J1546.1-1003
   Spectrum: PowerLaw
279    Prefactor:  3.205e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
280        Index:  1.947e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  3.617e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/455452/ft1_filtered_4FGL_J1546.1-1003_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/455452/ft2_4FGL_J1546.1-1003_daily_bin1764.fits
Exposure map: /scratch/kocevski/455452/expmap_696556801_696816001_4FGL_J1546.1-1003_daily_bin1764.fits
Exposure cube: /scratch/kocevski/455452/ltcube_696556801_696816001_4FGL_J1546.1-1003_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/455452/Model_4FGL_J1546.1-1003_daily_bin1764.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) = 12684.4042609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.7476       1.0000          .0000       .10000E+07
     2 'norm      '    .38937       1.0000          .0000       .10000E+07
     3 'Prefactor '    .16397E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .27932E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .50460E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .27877E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    33.033       1.0000          .0000       .10000E+07
     8 'Prefactor '    18.336       1.0000          .0000       .10000E+07
     9 'Prefactor '    .89721E-02   1.0000          .0000       .10000E+07
    10 'Normalizat'    .93942       1.0000         .10000E-01   10.000    
    11 'Prefactor '    1.1183       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12684.40     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      680 TOTAL
                     EDM=   .27E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7455        4.0448       -.16422E-07    .13375E-03
   2  norm          .38937        .10196       -.68994E-08    .14777E-02
   3  Prefactor      .0000        3.2034       -.62250E-08** at limit **
   4  norm           .0000        2.5529        .19686E-07** at limit **
   5  Prefactor      .0000        1.5231       -.55080E-07** at limit **
   6  Prefactor      .0000        17.672       -.72529E-08** at limit **
   7  Prefactor     32.931        28.508       -.13718E-07    .24470E-01
   8  Prefactor     18.147        20.925       -.11817E-07   -.24751E-01
   9  Prefactor     .55511E-10    10.661       -.28849E-07** at limit **
  10  Normalizat    .93963        .29797       -.24906E-05    .23418E-05
  11  Prefactor     1.1183        .78868E-01    .47431E-06   -.52248E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.74552
  norm       = 0.389375
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 32.9309
  Prefactor  = 18.1469
  Prefactor  = 5.55112e-11
  Normalizat = 0.939628
  Prefactor  = 1.1183
 **********
 **   18 **HESSE 
 **********

 FCN=   12684.40     FROM HESSE     STATUS=OK           132 CALLS      812 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7455        4.0597        .41872E-03   -1.5660    
   2  norm          .38937        .10254        .38992E-03   -1.5695    
   3  Prefactor      .0000        3.2064        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        2.5507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.5254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        17.665        .16565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     32.931        36.286        .17401E-03   -1.5593    
   8  Prefactor     18.147        32.725        .23362E-03   -1.5623    
   9  Prefactor     .55511E-10    10.629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Normalizat    .93963        .27435        .13230       -.95081    
  11  Prefactor     1.1183        .71866E-01    .36930E-01   -.88884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.84957e-08
Minuit parameter uncertainties:
  1  4.05967
  2  0.102536
  3  2.54635e-06
  4  1.51312e-06
  5  8.87366e-07
  6  6.46549e-06
  7  36.286
  8  32.7253
  9  4.52138e-05
  10  0.274763
  11  0.0718721
Done.

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

Extracting fit parameters...

4FGL J1546.1-1003
   Spectrum: PowerLaw
279    Prefactor:  3.293e+01  3.629e+01  0.000e+00  1.000e+06 ( 1.000e-14)
280        Index:  1.947e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  3.617e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  1.118e+00  7.187e-02  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  9.396e-01  2.748e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.33
Ra Dec: 236.541 -10.051
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 3.75e-08 +/- 4.14e-08
Energy Flux (Fixed Index): 2.97e-05 +/- 3.27e-05

TS (Fixed Index): 1.33
Ra Dec: 236.541 -10.051
Photon Flux Upper Limit: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/455452/likelihoodResults_696556801_696816001_4FGL_J1546.1-1003_daily_bin1764.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) = 12683.9358164
delta logL = 0.46816587739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12683.9336719
delta logL = 0.470310331819

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   12683.93     FROM MIGRAD    STATUS=FAILED       106 CALLS      342 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.686        39.971        .48939E-04    .37726E-03
   2  Index         2.5353        .94071        .44694E-02    .10090E-02
   3  Normalizat    .88747        .30231        .60241E-03   -.33970E-06
   4  Prefactor     1.1225        .78961E-01    .14448E-03   -.28327E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   12683.93     FROM SIMPLEX   STATUS=UNCHANGED     73 CALLS      415 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.686        39.971        .23921E-04   -1.5626    
   2  Index         2.5353        .94071        .66372E-03   -.51546    
   3  Normalizat    .88747        .30231        .45983E-03   -.96902    
   4  Prefactor     1.1225        .78961E-01    .10826E-03   -.88750    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12683.93     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      444 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.686        26.972        .97878E-05   -.16261E-04
   2  Index         2.5353        .63651        .89388E-03    .39300E-04
   3  Normalizat    .88747        .29732        .24096E-04   -.37744E-06
   4  Prefactor     1.1225        .78285E-01    .57793E-05   -.23606E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.6865
  Index      = 2.53533
  Normalizat = 0.88747
  Prefactor  = 1.12253
 **********
 **   18 **HESSE 
 **********

 FCN=   12683.93     FROM HESSE     STATUS=OK            25 CALLS      469 TOTAL
                     EDM=   .96E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.686        25.668        .39151E-06   -1.5626    
   2  Index         2.5353        .60570        .17878E-03   -.51546    
   3  Normalizat    .88747        .29667        .48193E-05   -.96902    
   4  Prefactor     1.1225        .78166E-01    .11559E-05   -.88750    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.56736e-15
Minuit parameter uncertainties:
  1  25.6684
  2  0.607676
  3  0.297215
  4  0.0781743
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/455452': 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) = 12683.9336626
delta logL = 0.470319677597

Extracting fit parameters...

4FGL J1546.1-1003
   Spectrum: PowerLaw
279    Prefactor:  1.669e+01  2.567e+01  0.000e+00  1.000e+06 ( 1.000e-14)
280        Index:  2.535e+00  6.077e-01  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  3.617e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  1.123e+00  7.817e-02  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  8.875e-01  2.972e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.30
Ra Dec: 236.541 -10.051
Photon Index (Free Index): 2.54 +/- 0.61
Photon Flux (Free Index): 9.71e-08 +/- 8.61e-08
Energy Flux (Free Index): 2.71e-05 +/- 2.13e-05

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/455452/cmap_HighResolution_696556801_696816001_4FGL_J1546.1-1003_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.99e-03', comment='SUCCESS', photon_flux='3.75e-08', energy_flux2='2.71e-05', photon_flux_error='4.14e-08', dlogl='4.70e-01', energy_flux='2.97e-05', photon_flux2='9.71e-08', job_status='DONE', time_completed='2023-01-31 01:34:08.880005', photon_index_error2='0.61', photon_index2='2.54', ts='1.33', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='1.34e-07', energy_flux_error2='2.13e-05', EG='0.94', time_epoch_completed='1675157648.88', return_code='0', job_id='455452', GAL2='1.12', EG2='0.89', return_code2='0', energy_flux_error='3.27e-05', photon_flux_error2='8.61e-08', ts2='2.30', photon_index='1.95' WHERE bin_id='1764' AND source_name='4FGL J1546.1-1003' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 01:34:08 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 455452: <4FGL_J1546.1-1003_daily_bin1764> in cluster <slac> Done

Job <4FGL_J1546.1-1003_daily_bin1764> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jan 31 01:20:18 2023
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 01:20:38 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 01:20:38 2023
Terminated at Tue Jan 31 01:34:09 2023
Results reported at Tue Jan 31 01:34:09 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1546.1-1003_daily_bin1764 236.541 -10.051 696556801 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1546.1-1003 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   657.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             303.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            831 sec.

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

