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 75 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0618.9-1138_daily_bin1692
RA = 94.7482, Dec = -11.636
tmin = 677894401, tmax = 678153601
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='404302', job_status='RUN', time_executed='2022-06-29 04:11:24.111654', time_epoch_executed='1656501084.11' WHERE source_name='4FGL J0618.9-1138' and cadence='daily' and bin_id='1692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/404302

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/404302/ft1_4FGL_J0618.9-1138_daily_bin1692.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/404302/ft2_4FGL_J0618.9-1138_daily_bin1692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/404302/ft1_4FGL_J0618.9-1138_daily_bin1692.fits outfile=/scratch/kocevski/404302/ft1_filteredMKT_4FGL_J0618.9-1138_daily_bin1692.fits ra=94.7482 dec=-11.636 rad=12.0 tmin=677894401.0 tmax=678153601.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 4.53
user 4.22
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/404302/ft2_4FGL_J0618.9-1138_daily_bin1692.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/404302/ft2_4FGL_J0618.9-1138_daily_bin1692.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/404302/ft1_filteredMKT_4FGL_J0618.9-1138_daily_bin1692.fits evtable="EVENTS" outfile="/scratch/kocevski/404302/ft1_filtered_4FGL_J0618.9-1138_daily_bin1692.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.54
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 1691

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/404302/ft1_filtered_4FGL_J0618.9-1138_daily_bin1692.fits" evtable="EVENTS" scfile=/scratch/kocevski/404302/ft2_4FGL_J0618.9-1138_daily_bin1692.fits sctable="SC_DATA" outfile=/scratch/kocevski/404302/ltcube_677894401_678153601_4FGL_J0618.9-1138_daily_bin1692.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/404302/ft2_4FGL_J0618.9-1138_daily_bin1692.fits
.....................!
real 16.69
user 15.00
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/404302/ft1_filtered_4FGL_J0618.9-1138_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/404302/ft2_4FGL_J0618.9-1138_daily_bin1692.fits sctable="SC_DATA" expcube=/scratch/kocevski/404302/ltcube_677894401_678153601_4FGL_J0618.9-1138_daily_bin1692.fits outfile=/scratch/kocevski/404302/expmap_677894401_678153601_4FGL_J0618.9-1138_daily_bin1692.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/404302/ltcube_677894401_678153601_4FGL_J0618.9-1138_daily_bin1692.fits
.....................!
real 191.34
user 186.82
sys 4.00

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 146 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0618.9-1138 @ 94.7482 -11.636

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/404302/ft1_filtered_4FGL_J0618.9-1138_daily_bin1692.fits scfile=/scratch/kocevski/404302/ft2_4FGL_J0618.9-1138_daily_bin1692.fits outfile=/scratch/kocevski/404302/cmap_677894401_678153601_4FGL_J0618.9-1138_daily_bin1692.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=94.7482 yref=-11.636 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/404302/ft1_filtered_4FGL_J0618.9-1138_daily_bin1692.fits scfile=/scratch/kocevski/404302/ft2_4FGL_J0618.9-1138_daily_bin1692.fits outfile=/scratch/kocevski/404302/cmap_HighResolution_677894401_678153601_4FGL_J0618.9-1138_daily_bin1692.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=94.7482 yref=-11.636 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.57
user 0.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/404302/ft1_filtered_4FGL_J0618.9-1138_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/404302/ft2_4FGL_J0618.9-1138_daily_bin1692.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/404302/Model_4FGL_J0618.9-1138_daily_bin1692.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
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/404302/ft1_filtered_4FGL_J0618.9-1138_daily_bin1692.fits.....................!
real 298.11
user 295.58
sys 1.44

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/404302/ft1_filtered_4FGL_J0618.9-1138_daily_bin1692.fits', '/scratch/kocevski/404302/ft2_4FGL_J0618.9-1138_daily_bin1692.fits', expMap='/scratch/kocevski/404302/expmap_677894401_678153601_4FGL_J0618.9-1138_daily_bin1692.fits', expCube='/scratch/kocevski/404302/ltcube_677894401_678153601_4FGL_J0618.9-1138_daily_bin1692.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/404302/Model_4FGL_J0618.9-1138_daily_bin1692.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0618.9-1138'

4FGL J0618.9-1138
   Spectrum: PowerLaw
278    Prefactor:  4.162e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.536e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.023e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/404302/ft1_filtered_4FGL_J0618.9-1138_daily_bin1692.fits
Spacecraft file(s): /scratch/kocevski/404302/ft2_4FGL_J0618.9-1138_daily_bin1692.fits
Exposure map: /scratch/kocevski/404302/expmap_677894401_678153601_4FGL_J0618.9-1138_daily_bin1692.fits
Exposure cube: /scratch/kocevski/404302/ltcube_677894401_678153601_4FGL_J0618.9-1138_daily_bin1692.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/404302/Model_4FGL_J0618.9-1138_daily_bin1692.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) = 17363.9872391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.1868       1.0000         .10000E-03   10000.    
     5 'norm      '    .11314E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.906       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.7013       1.0000         .10000E-03   10000.    
    12 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    10.919       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.5361       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .98799       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0196       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17363.93     FROM MIGRAD    STATUS=CONVERGED    348 CALLS     1415 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.6275       -.10155E-08** at limit **
   2  norm          .10000E-03    8.9587        .14109E-07** at limit **
   3  norm          .10000E-03    3.7613       -.11389E-07** at limit **
   4  Prefactor     1.1843        9.4057       -.16891E-06   -.17125E-03
   5  norm          .10000E-03    3.5749        .20991E-06** at limit **
   6  Prefactor     .10000E-03    6.1548        .58560E-07** at limit **
   7  Prefactor     .10000E-03    48.442        .17737E-06** at limit **
   8  Prefactor     .10000E-03    8.8512       -.14686E-06** at limit **
   9  Prefactor     15.898        26.848       -.70016E-05   -.55266E-04
  10  Prefactor     .10000E-03    20.107       -.17423E-06** at limit **
  11  norm          1.7015        3.5725       -.23630E-07   -.23324E-03
  12  norm          .10000E-03    7.6059        .59878E-07** at limit **
  13  norm          .10000E-03    1.1954        .17311E-07** at limit **
  14  norm          10.918        7.4004       -.16720E-06   -.15411E-04
  15  Prefactor     6.5360        1.8597        .14329E-06   -.25721E-02
  16  Normalizat    .98824        .27219        .10133E-05   -.47285E-05
  17  Prefactor     1.0195        .44956E-01    .41012E-07   -.76564E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.18425
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.8977
  Prefactor  = 0.0001
  norm       = 1.7015
  norm       = 0.0001
  norm       = 0.0001
  norm       = 10.9183
  Prefactor  = 6.536
  Normalizat = 0.988237
  Prefactor  = 1.01954
 **********
 **   18 **HESSE 
 **********

 FCN=   17363.93     FROM HESSE     STATUS=OK           221 CALLS     1636 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.7537        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    8.9634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    3.7652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1843        10.450        .41867E-03   -1.5490    
   5  norm          .10000E-03    11.852        .48184E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.2287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    48.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.9007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.898        27.045        .10043E-03   -1.4910    
  10  Prefactor     .10000E-03    20.361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.7015        3.5867        .32249E-03   -1.5447    
  12  norm          .10000E-03    7.7619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.2170        .14060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.918        7.7833        .12124E-03   -1.5047    
  15  Prefactor     6.5360        3.6046        .78487E-03   -1.5197    
  16  Normalizat    .98824        .27866        .71761E-03   -.93426    
  17  Prefactor     1.0195        .46052E-01    .12583E-03   -.92081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52004e-09
Minuit parameter uncertainties:
  1  3.02483e-06
  2  7.51248e-07
  3  6.13555e-07
  4  7.03716
  5  3.48485e-05
  6  9.9204e-06
  7  6.30318e-06
  8  1.90318e-06
  9  27.0654
  10  2.33796e-05
  11  3.58715
  12  6.3507e-06
  13  1.05591e-06
  14  7.78405
  15  3.60474
  16  0.279072
  17  0.0460543
Done.

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

Extracting fit parameters...

4FGL J0618.9-1138
   Spectrum: PowerLaw
278    Prefactor:  1.590e+01  2.707e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.536e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  1.023e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.020e+00  4.605e-02  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  9.882e-01  2.791e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.39
Ra Dec: 94.748 -11.636
Photon Flux Upper Limit: 1.74e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.36e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/404302/likelihoodResults_677894401_678153601_4FGL_J0618.9-1138_daily_bin1692.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) = 17363.8722573
delta logL = 0.0551454278466

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17363.8615847
delta logL = 0.06581807986

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.404       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8467       1.0000          .0000       10.000    
     3 'Normalizat'    .97933       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0199       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17363.86     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      256 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.401        27.661        .11374E-03   -.86361E-04
   2  Index         2.8463        1.0204        .11359E-01   -.31354E-04
   3  Normalizat    .97941        .24981        .72037E-03   -.31235E-03
   4  Prefactor     1.0199        .44446E-01    .12580E-03   -.14916E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4012
  Index      = 2.8463
  Normalizat = 0.979412
  Prefactor  = 1.01992
 **********
 **   18 **HESSE 
 **********

 FCN=   17363.86     FROM HESSE     STATUS=OK            25 CALLS      281 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.401        23.778        .45495E-05   -1.5004    
   2  Index         2.8463        .87845        .45437E-03   -.44531    
   3  Normalizat    .97941        .24988        .28815E-04   -.93723    
   4  Prefactor     1.0199        .44426E-01    .25161E-04   -.92069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56923e-10
Minuit parameter uncertainties:
  1  23.7963
  2  0.884094
  3  0.25018
  4  0.0444279
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/404302': 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) = 17363.8615843
delta logL = 0.0658184041895

Extracting fit parameters...

4FGL J0618.9-1138
   Spectrum: PowerLaw
278    Prefactor:  1.240e+01  2.380e+01  1.000e-04  1.000e+04 ( 1.000e-13)
279        Index:  2.846e+00  8.841e-01  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  1.023e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.020e+00  4.443e-02  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  9.794e-01  2.502e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.39
Ra Dec: 94.748 -11.636

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/404302/cmap_HighResolution_677894401_678153601_4FGL_J0618.9-1138_daily_bin1692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', job_status='DONE', photon_flux_upper_limit='1.74e-07', time_completed='2022-06-29 04:31:05.137028', job_id='404302', GAL2='1.02', fit_tolerance='1e-08', EG2='0.98', EG='0.99', time_epoch_completed='1656502265.14', return_code2='0', ts='0.39', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='6.58e-02', ts2='0.53', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1692' AND source_name='4FGL J0618.9-1138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun 29 04:31:05 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 404301: <4FGL_J0618.9-1138_daily_bin1692> in cluster <slac> Done

Job <4FGL_J0618.9-1138_daily_bin1692> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jun 29 00:05:46 2022
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:10:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:10:04 2022
Terminated at Wed Jun 29 04:31:01 2022
Results reported at Wed Jun 29 04:31:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0618.9-1138_daily_bin1692 94.7482 -11.636 677894401 678153601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0618.9-1138 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1032.52 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             341.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1256 sec.
    Turnaround time :                            15915 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 404302: <4FGL_J0618.9-1138_daily_bin1692> in cluster <slac> Done

Job <4FGL_J0618.9-1138_daily_bin1692> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jun 29 00:05:46 2022
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:10:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:10:04 2022
Terminated at Wed Jun 29 04:31:05 2022
Results reported at Wed Jun 29 04:31:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0618.9-1138_daily_bin1692 94.7482 -11.636 677894401 678153601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0618.9-1138 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1045.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             346.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1261 sec.
    Turnaround time :                            15919 sec.

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

