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


Performing analysis on: 4FGL_J1542.3+1801_daily_bin1748
RA = 235.579, Dec = 18.0322
tmin = 692409601, tmax = 692668801
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='889522', job_status='RUN', time_executed='2022-12-14 00:51:00.069418', time_epoch_executed='1671007860.07' WHERE source_name='4FGL J1542.3+1801' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/889522

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/889522/ft1_4FGL_J1542.3+1801_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/889522/ft2_4FGL_J1542.3+1801_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/889522/ft1_4FGL_J1542.3+1801_daily_bin1748.fits outfile=/scratch/kocevski/889522/ft1_filteredMKT_4FGL_J1542.3+1801_daily_bin1748.fits ra=235.579 dec=18.0322 rad=12.0 tmin=692409601.0 tmax=692668801.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.61
user 3.40
sys 0.20

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

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

Number of photons that the gtmktime cut: 861

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/889522/ft1_filtered_4FGL_J1542.3+1801_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/889522/ft2_4FGL_J1542.3+1801_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/889522/ltcube_692409601_692668801_4FGL_J1542.3+1801_daily_bin1748.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/889522/ft2_4FGL_J1542.3+1801_daily_bin1748.fits
.....................!
real 12.24
user 11.86
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/889522/ft1_filtered_4FGL_J1542.3+1801_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/889522/ft2_4FGL_J1542.3+1801_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/889522/ltcube_692409601_692668801_4FGL_J1542.3+1801_daily_bin1748.fits outfile=/scratch/kocevski/889522/expmap_692409601_692668801_4FGL_J1542.3+1801_daily_bin1748.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/889522/ltcube_692409601_692668801_4FGL_J1542.3+1801_daily_bin1748.fits
.....................!
real 192.96
user 186.93
sys 5.65

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/889522/ft1_filtered_4FGL_J1542.3+1801_daily_bin1748.fits scfile=/scratch/kocevski/889522/ft2_4FGL_J1542.3+1801_daily_bin1748.fits outfile=/scratch/kocevski/889522/cmap_692409601_692668801_4FGL_J1542.3+1801_daily_bin1748.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/889522/ft1_filtered_4FGL_J1542.3+1801_daily_bin1748.fits scfile=/scratch/kocevski/889522/ft2_4FGL_J1542.3+1801_daily_bin1748.fits outfile=/scratch/kocevski/889522/cmap_HighResolution_692409601_692668801_4FGL_J1542.3+1801_daily_bin1748.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.55
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15070       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.0150       1.0000          .0000       .10000E+07
     3 'norm      '    .68316       1.0000          .0000       .10000E+07
     4 'norm      '    10.223       1.0000          .0000       .10000E+07
     5 'Prefactor '    .41897       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11714E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .25656       1.0000          .0000       .10000E+07
     9 'Prefactor '    106.28       1.0000          .0000       .10000E+07
    10 'norm      '    1.9590       1.0000          .0000       .10000E+07
    11 'norm      '    3.7431       1.0000          .0000       .10000E+07
    12 'Prefactor '    .25056E-02   1.0000          .0000       .10000E+07
    13 'norm      '    40.651       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.1922       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.7018       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .81890       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=   9197.224     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1167 TOTAL
                     EDM=   .74E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        53.806       -.24693E-06** at limit **
   2  Prefactor     2.0047        4.7609        .60587E-07   -.22862E-03
   3  norm          .68312        .26436       -.97061E-09   -.18447E-02
   4  norm          10.538        32.531        .49551E-06    .40693E-03
   5  Prefactor     .61027E-04    2274.3        .19450E-05** at limit **
   6  Prefactor      .0000        1.1013       -.19841E-09** at limit **
   7  Prefactor      .0000        12.461        .17375E-06** at limit **
   8  norm          .26216        2.5100       -.35183E-07    .66622E-04
   9  Prefactor     106.51        16.473       -.38157E-07    .96516E-01
  10  norm          1.8802        6.9569       -.16653E-06   -.65816E-04
  11  norm          3.7441        1.5140       -.24593E-07   -.25140E-03
  12  Prefactor      .0000        10.408        .10040E-06** at limit **
  13  norm          40.665        16.903       -.11117E-06   -.25258E-02
  14  Prefactor     2.2244        5.7587       -.14283E-06    .19762E-03
  15  Normalizat    1.7026        .24353        .62053E-05   -.10147E-03
  16  Prefactor     .81857        .13474       -.18925E-05   -.71745E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 2.00469
  norm       = 0.683123
  norm       = 10.5379
  Prefactor  = 6.10268e-05
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.26216
  Prefactor  = 106.511
  norm       = 1.88016
  norm       = 3.74414
  Prefactor  = 0
  norm       = 40.6648
  Prefactor  = 2.22439
  Normalizat = 1.70265
  Prefactor  = 0.818573
 **********
 **   18 **HESSE 
 **********

 FCN=   9197.224     FROM HESSE     STATUS=OK           247 CALLS     1414 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        52.908        .12729E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.0047        4.8028        .72890E-03   -1.5680    
   3  norm          .68312        .26592        .62086E-03   -1.5691    
   4  norm          10.538        32.973        .31313E-03   -1.5643    
   5  Prefactor     .61027E-04    36.230        .13744E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.1012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        12.512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .26216        1.2252        .35995E-02   -1.5698    
   9  Prefactor     106.51        70.464        .97006E-04   -1.5502    
  10  norm          1.8802        7.0341        .74090E-03   -1.5681    
  11  norm          3.7441        1.5173        .52163E-03   -1.5669    
  12  Prefactor      .0000        10.394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          40.665        16.924        .15686E-03   -1.5580    
  14  Prefactor     2.2244        5.7998        .69479E-03   -1.5678    
  15  Normalizat    1.7026        .20575        .65769E-01   -.72233    
  16  Prefactor     .81857        .11264        .43963E-01   -.99047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24602e-06
Minuit parameter uncertainties:
  1  2.56379e-06
  2  4.80283
  3  0.265922
  4  32.974
  5  0.0940428
  6  5.96561e-07
  7  6.16643e-06
  8  1.13349
  9  70.4648
  10  7.03415
  11  1.51733
  12  2.98729e-06
  13  16.9238
  14  5.79982
  15  0.20585
  16  0.112668
Done.

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

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  0.000e+00  6.166e-06  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.186e-01  1.127e-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.703e+00  2.059e-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: 7.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/889522/likelihoodResults_692409601_692668801_4FGL_J1542.3+1801_daily_bin1748.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) = 9197.2628015
delta logL = -0.0383868559857

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9197.22441465
delta logL = -9.67702362686e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20417E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.6437       1.0000          .0000       10.000    
     3 'Normalizat'    1.7026       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81858       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=   9197.224     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      222 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20539E-08    789.31        .42118E-03** at limit **
   2  Index         3.3967        8.3010        .50000       -.10004E-08
   3  Normalizat    1.7027        .23157E-01    .65769E-01    .11254E-03
   4  Prefactor     .81857        .12729E-01    .43959E-01    .17036E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.05391e-09
  Index      = 3.39674
  Normalizat = 1.70265
  Prefactor  = 0.818573
 **********
 **   18 **HESSE 
 **********

 FCN=   9197.224     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      253 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20539E-08    8425.4        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.3967        6.6062        .50000       -.32642    
   3  Normalizat    1.7027        .11497        .29089E-03   -.72233    
   4  Prefactor     .81857        .63232E-01    .21863E-03   -.99047    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.48358e-09
Minuit parameter uncertainties:
  1  0.00830146
  2  66.6975
  3  0.114992
  4  0.063238
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/889522': 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) = 9197.22441464
delta logL = -2.36468622461e-11

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  2.054e-09  8.301e-03  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  3.397e+00  6.670e+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.186e-01  6.324e-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.703e+00  1.150e-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/889522/cmap_HighResolution_692409601_692668801_4FGL_J1542.3+1801_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.52e-03', job_status='DONE', photon_flux_upper_limit='7.09e-08', time_completed='2022-12-14 01:00:19.650920', job_id='889522', GAL2='0.82', fit_tolerance='1e-08', EG2='1.70', EG='1.70', time_epoch_completed='1671008419.65', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='-2.36e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1748' AND source_name='4FGL J1542.3+1801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:00:19 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 889522: <4FGL_J1542.3+1801_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1542.3+1801_daily_bin1748> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Dec 14 00:50:27 2022
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:50:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:50:37 2022
Terminated at Wed Dec 14 01:00:20 2022
Results reported at Wed Dec 14 01:00:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1542.3+1801_daily_bin1748 235.579 18.0322 692409601 692668801 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 :                                   562.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             363.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   582 sec.
    Turnaround time :                            593 sec.

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

