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


Performing analysis on: 4FGL_J1542.3+1801_daily_bin1762
RA = 235.579, Dec = 18.0322
tmin = 696038401, tmax = 696297601
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='113359', job_status='RUN', time_executed='2023-01-25 01:14:04.093889', time_epoch_executed='1674638044.09' WHERE source_name='4FGL J1542.3+1801' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/113359

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/113359/ft1_4FGL_J1542.3+1801_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/113359/ft2_4FGL_J1542.3+1801_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/113359/ft1_4FGL_J1542.3+1801_daily_bin1762.fits outfile=/scratch/kocevski/113359/ft1_filteredMKT_4FGL_J1542.3+1801_daily_bin1762.fits ra=235.579 dec=18.0322 rad=12.0 tmin=696038401.0 tmax=696297601.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.67
user 3.43
sys 0.22

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

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

Number of photons that the gtmktime cut: 760

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/113359/ft1_filtered_4FGL_J1542.3+1801_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/113359/ft2_4FGL_J1542.3+1801_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/113359/ltcube_696038401_696297601_4FGL_J1542.3+1801_daily_bin1762.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/113359/ft2_4FGL_J1542.3+1801_daily_bin1762.fits
.....................!
real 14.79
user 14.39
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/113359/ft1_filtered_4FGL_J1542.3+1801_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/113359/ft2_4FGL_J1542.3+1801_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/113359/ltcube_696038401_696297601_4FGL_J1542.3+1801_daily_bin1762.fits outfile=/scratch/kocevski/113359/expmap_696038401_696297601_4FGL_J1542.3+1801_daily_bin1762.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/113359/ltcube_696038401_696297601_4FGL_J1542.3+1801_daily_bin1762.fits
.....................!
real 192.83
user 186.87
sys 5.41

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/113359/ft1_filtered_4FGL_J1542.3+1801_daily_bin1762.fits scfile=/scratch/kocevski/113359/ft2_4FGL_J1542.3+1801_daily_bin1762.fits outfile=/scratch/kocevski/113359/cmap_696038401_696297601_4FGL_J1542.3+1801_daily_bin1762.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/113359/ft1_filtered_4FGL_J1542.3+1801_daily_bin1762.fits scfile=/scratch/kocevski/113359/ft2_4FGL_J1542.3+1801_daily_bin1762.fits outfile=/scratch/kocevski/113359/cmap_HighResolution_696038401_696297601_4FGL_J1542.3+1801_daily_bin1762.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/113359/ft1_filtered_4FGL_J1542.3+1801_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/113359/ft2_4FGL_J1542.3+1801_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/113359/Model_4FGL_J1542.3+1801_daily_bin1762.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/113359/ft1_filtered_4FGL_J1542.3+1801_daily_bin1762.fits....................!
real 65.45
user 64.07
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/113359/ft1_filtered_4FGL_J1542.3+1801_daily_bin1762.fits', '/scratch/kocevski/113359/ft2_4FGL_J1542.3+1801_daily_bin1762.fits', expMap='/scratch/kocevski/113359/expmap_696038401_696297601_4FGL_J1542.3+1801_daily_bin1762.fits', expCube='/scratch/kocevski/113359/ltcube_696038401_696297601_4FGL_J1542.3+1801_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/113359/Model_4FGL_J1542.3+1801_daily_bin1762.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/113359/ft1_filtered_4FGL_J1542.3+1801_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/113359/ft2_4FGL_J1542.3+1801_daily_bin1762.fits
Exposure map: /scratch/kocevski/113359/expmap_696038401_696297601_4FGL_J1542.3+1801_daily_bin1762.fits
Exposure cube: /scratch/kocevski/113359/ltcube_696038401_696297601_4FGL_J1542.3+1801_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/113359/Model_4FGL_J1542.3+1801_daily_bin1762.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) = 8504.69748219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80990E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    23.728       1.0000          .0000       .10000E+07
     3 'norm      '    .72470E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .30011E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    35.761       1.0000          .0000       .10000E+07
     6 'Prefactor '    6.7614       1.0000          .0000       .10000E+07
     7 'Prefactor '    .68576E-03   1.0000          .0000       .10000E+07
     8 'norm      '    4.3139       1.0000          .0000       .10000E+07
     9 'Prefactor '    .85246E-03   1.0000          .0000       .10000E+07
    10 'norm      '    16.525       1.0000          .0000       .10000E+07
    11 'norm      '    8.4346       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11670       1.0000          .0000       .10000E+07
    13 'norm      '    68.856       1.0000          .0000       .10000E+07
    14 'Prefactor '    25.380       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2882       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .87368       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=   8504.686     FROM MIGRAD    STATUS=CONVERGED    292 CALLS     1527 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    16.825        .10805E-06** at limit **
   2  Prefactor     23.774        10.508        .75512E-07   -.55820E-02
   3  norm          .13247E-03    40.845        .25196E-05** at limit **
   4  norm          .55511E-09    13.110       -.43889E-07** at limit **
   5  Prefactor     35.340        59.814        .75612E-06    .14119E-02
   6  Prefactor     6.7723        3.6518        .19580E-07    .18739E-02
   7  Prefactor     .46074E-08    31.302       -.42445E-06** at limit **
   8  norm          4.3060        2.5169       -.13576E-07    .79077E-03
   9  Prefactor     .72164E-09    40.956        .41017E-06** at limit **
  10  norm          16.482        11.019        .24547E-06   -.84830E-02
  11  norm          8.4382        2.4618       -.11850E-07    .18970E-02
  12  Prefactor     .31353E-06    2.9393        .10453E-06** at limit **
  13  norm          68.777        8.2819        .38860E-07   -.62850E-01
  14  Prefactor     25.391        16.213       -.24358E-07   -.16109E-01
  15  Normalizat    1.2888        .28284       -.35574E-05    .26839E-03
  16  Prefactor     .87370        .14378        .39295E-06    .36979E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 23.7736
  norm       = 0.000132474
  norm       = 5.55112e-10
  Prefactor  = 35.3395
  Prefactor  = 6.77233
  Prefactor  = 4.60743e-09
  norm       = 4.30604
  Prefactor  = 7.21645e-10
  norm       = 16.482
  norm       = 8.43824
  Prefactor  = 3.13527e-07
  norm       = 68.7765
  Prefactor  = 25.3908
  Normalizat = 1.28878
  Prefactor  = 0.8737
 **********
 **   18 **HESSE 
 **********

 FCN=   8504.686     FROM HESSE     STATUS=OK           249 CALLS     1776 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    16.861        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     23.774        10.477        .20534E-03   -1.5610    
   3  norm          .13247E-03    .82569E-01    .15237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .55511E-09    13.260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     35.340        58.362        .16724E-03   -1.5589    
   6  Prefactor     6.7723        3.6918        .38564E-03   -1.5656    
   7  Prefactor     .46074E-08    31.152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.3060        2.5223        .48478E-03   -1.5666    
   9  Prefactor     .72164E-09    41.057        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          16.482        10.673        .24611E-03   -1.5627    
  11  norm          8.4382        2.4699        .34493E-03   -1.5650    
  12  Prefactor     .31353E-06    9.1878        .94944E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          68.777        20.996        .12052E-03   -1.5542    
  14  Prefactor     25.391        17.985        .19854E-03   -1.5607    
  15  Normalizat    1.2888        .23220        .75120E-01   -.83902    
  16  Prefactor     .87370        .11867        .44669E-01   -.97066    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08818e-08
Minuit parameter uncertainties:
  1  6.87312e-05
  2  10.4771
  3  0.00661462
  4  0.000170239
  5  58.3628
  6  3.69183
  7  0.000755509
  8  2.5223
  9  0.000349136
  10  10.6731
  11  2.46994
  12  0.00339454
  13  20.9965
  14  17.9849
  15  0.232389
  16  0.118705
Done.

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

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  4.607e-09  7.555e-04  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:  8.737e-01  1.187e-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:  1.289e+00  2.324e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/113359/likelihoodResults_696038401_696297601_4FGL_J1542.3+1801_daily_bin1762.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) = 8504.70170715
delta logL = -0.0155456861394

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8504.67861386
delta logL = 0.00754760086966

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45935       1.0000          .0000       .10000E+07
     2 'Index     '    4.0507       1.0000          .0000       10.000    
     3 'Normalizat'    1.2789       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87660       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.

 FCN=   8504.679     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      348 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .45935        8.2210        .46509E-02    .89764E-02
   2  Index         4.0507        .77717        .50000        .12858E-05
   3  Normalizat    1.2789        .99672E-02    .75373E-01   -.50609E-04
   4  Prefactor     .87660        .53452E-02    .44706E-01   -.12544E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.459351
  Index      = 4.05071
  Normalizat = 1.27885
  Prefactor  = 0.876601
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .45935        1280.2        .28627E-03   -1.5694    
   2  Index         4.0507        5.4854        .79364E-02   -.19102    
   3  Normalizat    1.2789        .17310        .33358E-03   -.84200    
   4  Prefactor     .87660        .72612E-01    .21043E-03   -.96964    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.34628e-06
Minuit parameter uncertainties:
  1  48.5094
  2  45.3502
  3  0.173181
  4  0.0726204
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/113359': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8504.67861386
delta logL = 0.00754760189739

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  4.594e-01  4.851e+01  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  4.051e+00  4.535e+01  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:  8.766e-01  7.262e-02  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:  1.279e+00  1.732e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/113359/cmap_HighResolution_696038401_696297601_4FGL_J1542.3+1801_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.17e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2023-01-25 01:23:45.325968', job_id='113359', GAL2='0.88', fit_tolerance='1e-08', EG2='1.28', EG='1.29', time_epoch_completed='1674638625.33', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='7.55e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1762' AND source_name='4FGL J1542.3+1801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:23:45 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 113359: <4FGL_J1542.3+1801_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1542.3+1801_daily_bin1762> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Jan 25 01:10:18 2023
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:11:09 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:11:09 2023
Terminated at Wed Jan 25 01:23:46 2023
Results reported at Wed Jan 25 01:23:46 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1542.3+1801_daily_bin1762 235.579 18.0322 696038401 696297601 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 :                                   583.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            808 sec.

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

