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


Performing analysis on: 4FGL_J1542.3+1801_daily_bin1765
RA = 235.579, Dec = 18.0322
tmin = 696816001, tmax = 697075201
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='638350', job_status='RUN', time_executed='2023-02-03 01:13:09.054673', time_epoch_executed='1675415589.05' WHERE source_name='4FGL J1542.3+1801' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/638350

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/638350/ft1_4FGL_J1542.3+1801_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/638350/ft2_4FGL_J1542.3+1801_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/638350/ft1_4FGL_J1542.3+1801_daily_bin1765.fits outfile=/scratch/kocevski/638350/ft1_filteredMKT_4FGL_J1542.3+1801_daily_bin1765.fits ra=235.579 dec=18.0322 rad=12.0 tmin=696816001.0 tmax=697075201.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.66
user 3.45
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/638350/ft2_4FGL_J1542.3+1801_daily_bin1765.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/638350/ft2_4FGL_J1542.3+1801_daily_bin1765.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/638350/ft1_filteredMKT_4FGL_J1542.3+1801_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/638350/ft1_filtered_4FGL_J1542.3+1801_daily_bin1765.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.35
sys 0.16

Number of photons that the gtmktime cut: 775

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/638350/ft1_filtered_4FGL_J1542.3+1801_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/638350/ft2_4FGL_J1542.3+1801_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/638350/ltcube_696816001_697075201_4FGL_J1542.3+1801_daily_bin1765.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/638350/ft2_4FGL_J1542.3+1801_daily_bin1765.fits
.....................!
real 15.56
user 15.11
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/638350/ft1_filtered_4FGL_J1542.3+1801_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/638350/ft2_4FGL_J1542.3+1801_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/638350/ltcube_696816001_697075201_4FGL_J1542.3+1801_daily_bin1765.fits outfile=/scratch/kocevski/638350/expmap_696816001_697075201_4FGL_J1542.3+1801_daily_bin1765.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/638350/ltcube_696816001_697075201_4FGL_J1542.3+1801_daily_bin1765.fits
.....................!
real 191.95
user 187.37
sys 4.12

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J1542.3+1801 @ 235.579 18.0322

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/638350/ft1_filtered_4FGL_J1542.3+1801_daily_bin1765.fits scfile=/scratch/kocevski/638350/ft2_4FGL_J1542.3+1801_daily_bin1765.fits outfile=/scratch/kocevski/638350/cmap_696816001_697075201_4FGL_J1542.3+1801_daily_bin1765.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=235.579 yref=18.0322 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.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/638350/ft1_filtered_4FGL_J1542.3+1801_daily_bin1765.fits scfile=/scratch/kocevski/638350/ft2_4FGL_J1542.3+1801_daily_bin1765.fits outfile=/scratch/kocevski/638350/cmap_HighResolution_696816001_697075201_4FGL_J1542.3+1801_daily_bin1765.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=235.579 yref=18.0322 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.59
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/638350/ft1_filtered_4FGL_J1542.3+1801_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/638350/ft2_4FGL_J1542.3+1801_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/638350/Model_4FGL_J1542.3+1801_daily_bin1765.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/638350/ft1_filtered_4FGL_J1542.3+1801_daily_bin1765.fits.....................!
real 63.75
user 62.25
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/638350/ft1_filtered_4FGL_J1542.3+1801_daily_bin1765.fits', '/scratch/kocevski/638350/ft2_4FGL_J1542.3+1801_daily_bin1765.fits', expMap='/scratch/kocevski/638350/expmap_696816001_697075201_4FGL_J1542.3+1801_daily_bin1765.fits', expCube='/scratch/kocevski/638350/ltcube_696816001_697075201_4FGL_J1542.3+1801_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/638350/Model_4FGL_J1542.3+1801_daily_bin1765.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1542.3+1801'

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  4.061e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/638350/ft1_filtered_4FGL_J1542.3+1801_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/638350/ft2_4FGL_J1542.3+1801_daily_bin1765.fits
Exposure map: /scratch/kocevski/638350/expmap_696816001_697075201_4FGL_J1542.3+1801_daily_bin1765.fits
Exposure cube: /scratch/kocevski/638350/ltcube_696816001_697075201_4FGL_J1542.3+1801_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/638350/Model_4FGL_J1542.3+1801_daily_bin1765.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) = 8435.84446153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68198E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.9345       1.0000          .0000       .10000E+07
     3 'norm      '    .72836       1.0000          .0000       .10000E+07
     4 'norm      '    .23550E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .56185E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .51292E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    9.6287       1.0000          .0000       .10000E+07
     8 'norm      '    1.6083       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27917E-03   1.0000          .0000       .10000E+07
    10 'norm      '    6.7464       1.0000          .0000       .10000E+07
    11 'norm      '    8.4834       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31124E-04   1.0000          .0000       .10000E+07
    13 'norm      '    37.697       1.0000          .0000       .10000E+07
    14 'Prefactor '    18.939       1.0000          .0000       .10000E+07
    15 'Normalizat'    .61406       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.2971       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8435.801     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1124 TOTAL
                     EDM=   .59E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66613E-09    71.517        .39825E-06** at limit **
   2  Prefactor     5.8466        6.7861        .39075E-07    .15373E-03
   3  norm          .72865        .30689       -.40232E-07    .19034E-02
   4  norm          .66613E-09    25.495        .48359E-06** at limit **
   5  Prefactor     .68834E-08    146.50       -.54676E-05** at limit **
   6  Prefactor      .0000        .52018       -.13732E-06** at limit **
   7  Prefactor     9.5966        1.5888       -.15296E-07   -.30683E-01
   8  norm          1.6121        1.5274        .53598E-07    .81468E-04
   9  Prefactor     .30531E-08    35.656        .92832E-06** at limit **
  10  norm          6.5658        7.8090        .32711E-06   -.13342E-03
  11  norm          8.4923        2.5336        .36560E-07   -.64881E-03
  12  Prefactor      .0000        7.9307        .35485E-06** at limit **
  13  norm          37.725        17.580       -.29243E-06   -.11457E-03
  14  Prefactor     18.906        12.413       -.44528E-07   -.11019E-02
  15  Normalizat    .61407        .25172       -.83195E-05    .45862E-04
  16  Prefactor     1.2973        .14512        .35454E-05    .79251E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.66134e-10
  Prefactor  = 5.84657
  norm       = 0.728649
  norm       = 6.66134e-10
  Prefactor  = 6.88338e-09
  Prefactor  = 0
  Prefactor  = 9.59664
  norm       = 1.61209
  Prefactor  = 3.05311e-09
  norm       = 6.56582
  norm       = 8.49231
  Prefactor  = 0
  norm       = 37.7251
  Prefactor  = 18.9061
  Normalizat = 0.61407
  Prefactor  = 1.29732
 **********
 **   18 **HESSE 
 **********

 FCN=   8435.801     FROM HESSE     STATUS=OK           235 CALLS     1359 TOTAL
                     EDM=   .66E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66613E-09    71.332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.8466        6.7972        .41197E-03   -1.5660    
   3  norm          .72865        .31046        .58436E-03   -1.5691    
   4  norm          .66613E-09    25.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .68834E-08    146.24        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .52147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.5966        24.279        .32271E-03   -1.5646    
   8  norm          1.6121        1.5349        .83509E-03   -1.5683    
   9  Prefactor     .30531E-08    35.707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.5658        7.8322        .38607E-03   -1.5657    
  11  norm          8.4923        2.5335        .34393E-03   -1.5650    
  12  Prefactor      .0000        7.9284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          37.725        17.589        .16289E-03   -1.5585    
  14  Prefactor     18.906        12.437        .22986E-03   -1.5621    
  15  Normalizat    .61407        .23226        .97524E-01   -1.0739    
  16  Prefactor     1.2973        .13132        .32661E-01   -.83387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.57612e-08
Minuit parameter uncertainties:
  1  0.000429312
  2  6.79718
  3  0.310462
  4  0.000261351
  5  0.00201003
  6  8.27603e-08
  7  24.2788
  8  1.53494
  9  0.000661984
  10  7.83221
  11  2.53354
  12  8.1465e-06
  13  17.5885
  14  12.4366
  15  0.232627
  16  0.131358
Done.

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

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  9.597e+00  2.428e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.297e+00  1.314e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  6.141e-01  2.326e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.18
Ra Dec: 235.579 18.032
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/638350/likelihoodResults_696816001_697075201_4FGL_J1542.3+1801_daily_bin1765.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) = 8435.69337876
delta logL = 0.107730637121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8435.67259383
delta logL = 0.128515561759

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8264       1.0000          .0000       .10000E+07
     2 'Index     '    3.2745       1.0000          .0000       10.000    
     3 'Normalizat'    .59599       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3031       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+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=   8435.673     FROM MIGRAD    STATUS=FAILED       101 CALLS      295 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8465        85.367        .83166E-04    .13043E-02
   2  Index         3.2724        3.7006        .10380E-01    .40164E-03
   3  Normalizat    .59629        .25342        .43824E-03   -.28017E-05
   4  Prefactor     1.3030        .14634        .17723E-03   -.17063E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8435.673     FROM SIMPLEX   STATUS=UNCHANGED     83 CALLS      378 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8465        85.367        .47056E-04   -1.5660    
   2  Index         3.2724        3.7006        .19419E-02   -.35280    
   3  Normalizat    .59629        .25342        .58784E-03   -1.0814    
   4  Prefactor     1.3030        .14634        .21053E-03   -.83219    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8435.673     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      407 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8465        18.809        .16633E-04   -.54679E-04
   2  Index         3.2724        1.7511        .20759E-02    .15047E-04
   3  Normalizat    .59629        .25259        .17529E-04   -.28536E-05
   4  Prefactor     1.3030        .14519        .70893E-05   -.17319E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.84652
  Index      = 3.27235
  Normalizat = 0.596287
  Prefactor  = 1.30296
 **********
 **   18 **HESSE 
 **********

 FCN=   8435.673     FROM HESSE     STATUS=OK            25 CALLS      432 TOTAL
                     EDM=   .27E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8465        17.532        .66533E-06   -1.5660    
   2  Index         3.2724        1.6369        .41518E-03   -.35280    
   3  Normalizat    .59629        .25332        .35059E-05   -1.0814    
   4  Prefactor     1.3030        .14551        .14179E-05   -.83219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66959e-13
Minuit parameter uncertainties:
  1  17.532
  2  1.67211
  3  0.253817
  4  0.145555
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/638350': 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) = 8435.67259215
delta logL = 0.128517247227

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  5.847e+00  1.753e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  3.272e+00  1.672e+00  0.000e+00  1.000e+01 (-1.000e+00)
240        Scale:  8.483e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.303e+00  1.456e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  5.963e-01  2.538e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.18
Ra Dec: 235.579 18.032

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/638350/cmap_HighResolution_696816001_697075201_4FGL_J1542.3+1801_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.84e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2023-02-03 01:22:21.265050', job_id='638350', GAL2='1.30', fit_tolerance='1e-08', EG2='0.60', EG='0.61', time_epoch_completed='1675416141.27', return_code2='0', ts='0.18', comment='SUCCESS', return_code='0', GAL='1.30', dlogl='1.29e-01', ts2='0.45', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1765' AND source_name='4FGL J1542.3+1801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:22:21 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 638350: <4FGL_J1542.3+1801_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1542.3+1801_daily_bin1765> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Feb  3 01:10:22 2023
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:11:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:11:19 2023
Terminated at Fri Feb  3 01:22:22 2023
Results reported at Fri Feb  3 01:22:22 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1542.3+1801_daily_bin1765 235.579 18.0322 696816001 697075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1542.3+1801 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   554.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   662 sec.
    Turnaround time :                            720 sec.

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

