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


Performing analysis on: 4FGL_J1542.3+1801_weekly_bin735
RA = 235.579, Dec = 18.0322
tmin = 683510401, tmax = 684115201
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='276831', job_status='RUN', time_executed='2022-09-17 01:38:24.619453', time_epoch_executed='1663403904.62' WHERE source_name='4FGL J1542.3+1801' and cadence='weekly' and bin_id='735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/276831

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/276831/ft1_4FGL_J1542.3+1801_weekly_bin735.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/276831/ft2_4FGL_J1542.3+1801_weekly_bin735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/276831/ft1_4FGL_J1542.3+1801_weekly_bin735.fits outfile=/scratch/kocevski/276831/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin735.fits ra=235.579 dec=18.0322 rad=12.0 tmin=683510401.0 tmax=684115201.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 7.34
user 7.06
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/276831/ft2_4FGL_J1542.3+1801_weekly_bin735.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/276831/ft1_filteredMKT_4FGL_J1542.3+1801_weekly_bin735.fits evtable="EVENTS" outfile="/scratch/kocevski/276831/ft1_filtered_4FGL_J1542.3+1801_weekly_bin735.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.55
user 0.37
sys 0.18

Number of photons that the gtmktime cut: 1615

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/276831/ft1_filtered_4FGL_J1542.3+1801_weekly_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/276831/ft2_4FGL_J1542.3+1801_weekly_bin735.fits sctable="SC_DATA" expcube=/scratch/kocevski/276831/ltcube_683510401_684115201_4FGL_J1542.3+1801_weekly_bin735.fits outfile=/scratch/kocevski/276831/expmap_683510401_684115201_4FGL_J1542.3+1801_weekly_bin735.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/276831/ltcube_683510401_684115201_4FGL_J1542.3+1801_weekly_bin735.fits
.....................!
real 191.23
user 186.61
sys 4.67

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/276831/ft1_filtered_4FGL_J1542.3+1801_weekly_bin735.fits scfile=/scratch/kocevski/276831/ft2_4FGL_J1542.3+1801_weekly_bin735.fits outfile=/scratch/kocevski/276831/cmap_683510401_684115201_4FGL_J1542.3+1801_weekly_bin735.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.68
user 0.40
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/276831/ft1_filtered_4FGL_J1542.3+1801_weekly_bin735.fits scfile=/scratch/kocevski/276831/ft2_4FGL_J1542.3+1801_weekly_bin735.fits outfile=/scratch/kocevski/276831/cmap_HighResolution_683510401_684115201_4FGL_J1542.3+1801_weekly_bin735.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.40
sys 0.19

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32312E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.7979       1.0000          .0000       .10000E+07
     3 'norm      '    .24561       1.0000          .0000       .10000E+07
     4 'norm      '    .14226       1.0000          .0000       .10000E+07
     5 'Prefactor '    .55898E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .91470E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .58842E-06   1.0000          .0000       .10000E+07
     8 'norm      '    8.8716       1.0000          .0000       .10000E+07
     9 'Prefactor '    41.661       1.0000          .0000       .10000E+07
    10 'norm      '    3.2104       1.0000          .0000       .10000E+07
    11 'norm      '    3.5150       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.0175       1.0000          .0000       .10000E+07
    13 'norm      '    39.438       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.228       1.0000          .0000       .10000E+07
    15 'Normalizat'    .85482       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0747       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=   17317.22     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      946 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21649E-07    7.9224        .31987E-06** at limit **
   2  Prefactor     1.7898        3.9579        .76854E-07   -.95959E-04
   3  norm          .24578        .13710        .97862E-08** at limit **
   4  norm          .11471E-04    5.2310        .89253E-07** at limit **
   5  Prefactor     .55511E-09    27.796        .79153E-06** at limit **
   6  Prefactor      .0000        3.6739       -.12594E-06** at limit **
   7  Prefactor     .55511E-10    5.8085        .39794E-07** at limit **
   8  norm          8.8740        2.3287       -.23986E-07    .80751E-03
   9  Prefactor     41.017        33.208       -.54243E-08    .74974E-02
  10  norm          3.1930        5.8394        .25845E-06   -.46696E-04
  11  norm          3.5149        1.1516       -.12239E-07   -.10758E-03
  12  Prefactor     6.0085        5.0549       -.52634E-07    .15440E-04
  13  norm          39.453        10.968        .15752E-07    .42650E-01
  14  Prefactor     11.244        8.7116       -.33770E-07    .10324E-02
  15  Normalizat    .85480        .16297        .15437E-06    .84647E-05
  16  Prefactor     1.0749        .93358E-01   -.14677E-05    .81716E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.16493e-08
  Prefactor  = 1.78981
  norm       = 0.24578
  norm       = 1.14712e-05
  Prefactor  = 5.55112e-10
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 8.87397
  Prefactor  = 41.0165
  norm       = 3.19303
  norm       = 3.51494
  Prefactor  = 6.00847
  norm       = 39.4528
  Prefactor  = 11.2444
  Normalizat = 0.8548
  Prefactor  = 1.07486
 **********
 **   18 **HESSE 
 **********

 FCN=   17317.22     FROM HESSE     STATUS=OK           243 CALLS     1189 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21649E-07    8.0645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7898        3.9871        .77945E-03   -1.5681    
   3  norm          .24578        .14328        .79738E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11471E-04    75.393        .12910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-09    27.861        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .41077        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    5.8319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.8740        2.3371        .33627E-03   -1.5648    
   9  Prefactor     41.017        33.365        .15494E-03   -1.5580    
  10  norm          3.1930        5.8648        .56518E-03   -1.5672    
  11  norm          3.5149        1.1524        .53898E-03   -1.5670    
  12  Prefactor     6.0085        5.0756        .40908E-03   -1.5659    
  13  norm          39.453        11.173        .15925E-03   -1.5582    
  14  Prefactor     11.244        8.7371        .29873E-03   -1.5641    
  15  Normalizat    .85480        .13972        .77641E-01   -.98067    
  16  Prefactor     1.0749        .79041E-01    .38637E-01   -.90274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31173e-06
Minuit parameter uncertainties:
  1  0.000835962
  2  3.98709
  3  0.143278
  4  0.0588174
  5  0.000252287
  6  2.63324e-06
  7  3.48716e-05
  8  2.33713
  9  33.3653
  10  5.86485
  11  1.15242
  12  5.07559
  13  11.1734
  14  8.73715
  15  0.139777
  16  0.0790493
Done.

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

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  5.551e-11  3.487e-05  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.075e+00  7.905e-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:  8.548e-01  1.398e-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: 3.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/276831/likelihoodResults_683510401_684115201_4FGL_J1542.3+1801_weekly_bin735.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) = 17317.2247939
delta logL = -0.000188859914488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17317.2246068
delta logL = -1.75421155291e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45890E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.0415       1.0000          .0000       10.000    
     3 'Normalizat'    .85465       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0749       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=   17317.22     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      235 TOTAL
                     EDM=   .82E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    4.8890        .46834E-06** at limit **
   2  Index         2.9476        3.3702       -.37491E-04    .17084E-10
   3  Normalizat    .85480        .16001        .82665E-05    .10458E-03
   4  Prefactor     1.0749        .92787E-01   -.31976E-05    .16187E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.94755
  Normalizat = 0.854801
  Prefactor  = 1.07486
 **********
 **   18 **HESSE 
 **********

 FCN=   17317.22     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      268 TOTAL
                     EDM=   .15E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .25417E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9476        5.7859        .40434       -.42299    
   3  Normalizat    .85480        .23971E-03    .77641E-01   -.98067    
   4  Prefactor     1.0749        .13906E-03    .38627E-01   -.90274    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.53885e-14
Minuit parameter uncertainties:
  1  1.79574e-06
  2  12330.2
  3  0.000239707
  4  0.000139056
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/276831': 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) = 17317.2246051
delta logL = 0.0

Extracting fit parameters...

4FGL J1542.3+1801
   Spectrum: PowerLaw
238    Prefactor:  5.551e-11  1.796e-06  0.000e+00  1.000e+06 ( 1.000e-13)
239        Index:  2.948e+00  1.233e+04  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.075e+00  1.391e-04  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:  8.548e-01  2.397e-04  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/276831/cmap_HighResolution_683510401_684115201_4FGL_J1542.3+1801_weekly_bin735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.92e-03', job_status='DONE', photon_flux_upper_limit='3.75e-08', time_completed='2022-09-17 01:51:31.734576', job_id='276831', GAL2='1.07', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1663404691.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='0.00e+00', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='735' AND source_name='4FGL J1542.3+1801' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Sep 17 01:51:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 276831: <4FGL_J1542.3+1801_weekly_bin735> in cluster <slac> Done

Job <4FGL_J1542.3+1801_weekly_bin735> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep 17 01:35:35 2022
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 01:37:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 01:37:21 2022
Terminated at Sat Sep 17 01:51:32 2022
Results reported at Sat Sep 17 01:51:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1542.3+1801_weekly_bin735 235.579 18.0322 683510401 684115201 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 :                                   789.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             331.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            957 sec.

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

