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


Performing analysis on: 4FGL_J0045.1-3706_daily_bin1765
RA = 11.2936, Dec = -37.1065
tmin = 696816001, tmax = 697075201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='620776', job_status='RUN', time_executed='2023-02-03 00:11:53.910149', time_epoch_executed='1675411913.91' WHERE source_name='4FGL J0045.1-3706' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/620776

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/620776/ft1_4FGL_J0045.1-3706_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/620776/ft2_4FGL_J0045.1-3706_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/620776/ft1_4FGL_J0045.1-3706_daily_bin1765.fits outfile=/scratch/kocevski/620776/ft1_filteredMKT_4FGL_J0045.1-3706_daily_bin1765.fits ra=11.2936 dec=-37.1065 rad=12.0 tmin=696816001.0 tmax=697075201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.69
user 3.44
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/620776/ft2_4FGL_J0045.1-3706_daily_bin1765.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/620776/ft2_4FGL_J0045.1-3706_daily_bin1765.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/620776/ft1_filteredMKT_4FGL_J0045.1-3706_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/620776/ft1_filtered_4FGL_J0045.1-3706_daily_bin1765.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 371

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/620776/ft1_filtered_4FGL_J0045.1-3706_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/620776/ft2_4FGL_J0045.1-3706_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/620776/ltcube_696816001_697075201_4FGL_J0045.1-3706_daily_bin1765.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /scratch/kocevski/620776/ft2_4FGL_J0045.1-3706_daily_bin1765.fits
.....................!
real 13.44
user 13.01
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/620776/ft1_filtered_4FGL_J0045.1-3706_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/620776/ft2_4FGL_J0045.1-3706_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/620776/ltcube_696816001_697075201_4FGL_J0045.1-3706_daily_bin1765.fits outfile=/scratch/kocevski/620776/expmap_696816001_697075201_4FGL_J0045.1-3706_daily_bin1765.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/620776/ltcube_696816001_697075201_4FGL_J0045.1-3706_daily_bin1765.fits
.....................!
real 191.16
user 185.53
sys 5.08

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 196 point sources and 0 extended sources

Setting source of interest to:
4FGL J0045.1-3706 @ 11.2936 -37.1065

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/620776/ft1_filtered_4FGL_J0045.1-3706_daily_bin1765.fits scfile=/scratch/kocevski/620776/ft2_4FGL_J0045.1-3706_daily_bin1765.fits outfile=/scratch/kocevski/620776/cmap_696816001_697075201_4FGL_J0045.1-3706_daily_bin1765.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=11.2936 yref=-37.1065 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/620776/ft1_filtered_4FGL_J0045.1-3706_daily_bin1765.fits scfile=/scratch/kocevski/620776/ft2_4FGL_J0045.1-3706_daily_bin1765.fits outfile=/scratch/kocevski/620776/cmap_HighResolution_696816001_697075201_4FGL_J0045.1-3706_daily_bin1765.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=11.2936 yref=-37.1065 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/620776/ft1_filtered_4FGL_J0045.1-3706_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/620776/ft2_4FGL_J0045.1-3706_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/620776/Model_4FGL_J0045.1-3706_daily_bin1765.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/620776/ft1_filtered_4FGL_J0045.1-3706_daily_bin1765.fits.....................!
real 36.78
user 35.46
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/620776/ft1_filtered_4FGL_J0045.1-3706_daily_bin1765.fits', '/scratch/kocevski/620776/ft2_4FGL_J0045.1-3706_daily_bin1765.fits', expMap='/scratch/kocevski/620776/expmap_696816001_697075201_4FGL_J0045.1-3706_daily_bin1765.fits', expCube='/scratch/kocevski/620776/ltcube_696816001_697075201_4FGL_J0045.1-3706_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/620776/Model_4FGL_J0045.1-3706_daily_bin1765.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0045.1-3706'

4FGL J0045.1-3706
   Spectrum: PowerLaw
153    Prefactor:  3.854e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
154        Index:  2.595e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
155        Scale:  5.055e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/620776/ft1_filtered_4FGL_J0045.1-3706_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/620776/ft2_4FGL_J0045.1-3706_daily_bin1765.fits
Exposure map: /scratch/kocevski/620776/expmap_696816001_697075201_4FGL_J0045.1-3706_daily_bin1765.fits
Exposure cube: /scratch/kocevski/620776/ltcube_696816001_697075201_4FGL_J0045.1-3706_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/620776/Model_4FGL_J0045.1-3706_daily_bin1765.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 4172.40978686

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44631E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .50699       1.0000          .0000       .10000E+07
     3 'Prefactor '    .61788E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    17.678       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.3836       1.0000          .0000       .10000E+07
     6 'Prefactor '    23.921       1.0000          .0000       .10000E+07
     7 'norm      '    .88707E-07   1.0000          .0000       .10000E+07
     8 'norm      '    3.7128       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.7923       1.0000          .0000       .10000E+07
    10 'Prefactor '    36.524       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.5817       1.0000          .0000       .10000E+07
    12 'Prefactor '    .25829E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    19.391       1.0000          .0000       .10000E+07
    14 'Normalizat'    .81351       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .92313       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4172.371     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      980 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20539E-08    25.207        .14043E-05** at limit **
   2  Prefactor     .50574        5.9881       -.69552E-07    .21297E-03
   3  Prefactor     .11102E-09    58.363       -.11636E-05** at limit **
   4  Prefactor     17.671        8.2673       -.14241E-06   -.39108E-03
   5  Prefactor     2.4083        2.3816       -.17610E-06    .16923E-02
   6  Prefactor     23.923        12.838       -.20010E-07   -.66866E-03
   7  norm          .72164E-09    27.355        .11327E-05** at limit **
   8  norm          3.7128        3.3247       -.81516E-07    .16145E-04
   9  Prefactor     5.7935        5.1430       -.27929E-06    .66670E-03
  10  Prefactor     36.520        2.7850       -.27216E-07   -.22090E-01
  11  Prefactor     7.5829        5.8777        .58487E-07    .20390E-03
  12  Prefactor      .0000        3.8320        .18114E-06** at limit **
  13  Prefactor     19.388        1.2667        .16911E-07   -.77615E-02
  14  Normalizat    .81333        .21784        .52964E-05    .15350E-04
  15  Prefactor     .92327        .23580       -.74491E-06    .16876E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.05391e-09
  Prefactor  = 0.505743
  Prefactor  = 1.11022e-10
  Prefactor  = 17.6712
  Prefactor  = 2.40831
  Prefactor  = 23.923
  norm       = 7.21645e-10
  norm       = 3.71282
  Prefactor  = 5.79348
  Prefactor  = 36.5204
  Prefactor  = 7.5829
  Prefactor  = 0
  Prefactor  = 19.3882
  Normalizat = 0.813329
  Prefactor  = 0.923273
 **********
 **   18 **HESSE 
 **********

 FCN=   4172.371     FROM HESSE     STATUS=OK           214 CALLS     1194 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20539E-08    25.314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .50574        6.1527        .78009E-03   -1.5694    
   3  Prefactor     .11102E-09    57.409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.671        11.165        .23794E-03   -1.5624    
   5  Prefactor     2.4083        116.27        .66319E-03   -1.5677    
   6  Prefactor     23.923        12.860        .20451E-03   -1.5610    
   7  norm          .72164E-09    27.383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.7128        3.3288        .52384E-03   -1.5669    
   9  Prefactor     5.7935        5.1428        .41707E-03   -1.5660    
  10  Prefactor     36.520        27.126        .16549E-03   -1.5587    
  11  Prefactor     7.5829        5.9520        .36397E-03   -1.5653    
  12  Prefactor      .0000        3.8275        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     19.388        45.974        .22717E-03   -1.5620    
  14  Normalizat    .81333        .18754        .43786E-01   -.99576    
  15  Prefactor     .92327        .20278        .45299E-01   -.95333    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39074e-08
Minuit parameter uncertainties:
  1  0.000455071
  2  3.528
  3  0.000174633
  4  11.1654
  5  33.4686
  6  12.8599
  7  0.000285456
  8  3.32882
  9  5.14282
  10  27.1258
  11  5.95197
  12  3.51982e-07
  13  45.9752
  14  0.187687
  15  0.202944
Done.

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

Extracting fit parameters...

4FGL J0045.1-3706
   Spectrum: PowerLaw
153    Prefactor:  2.392e+01  1.286e+01  0.000e+00  1.000e+06 ( 1.000e-12)
154        Index:  2.595e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
155        Scale:  5.055e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  9.233e-01  2.029e-01  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  8.133e-01  1.877e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.55
Ra Dec: 11.294 -37.106
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 1.01e-07 +/- 5.40e-08
Energy Flux (Fixed Index): 2.65e-05 +/- 1.42e-05

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) = 4172.36881736
delta logL = 0.00205852567342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4172.36762503
delta logL = 0.00325085908389

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.304       1.0000          .0000       .10000E+07
     2 'Index     '    2.6561       1.0000          .0000       10.000    
     3 'Normalizat'    .80766       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92841       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4172.368     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      226 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.311        240.86        .20720E-03   -.16072E-02
   2  Index         2.6558        6.2523        .18948        .17798E-05
   3  Normalizat    .80751        .11438        .43710E-01   -.46367E-03
   4  Prefactor     .92848        .10554        .45366E-01   -.32660E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.3114
  Index      = 2.65577
  Normalizat = 0.807506
  Prefactor  = 0.928482
 **********
 **   18 **HESSE 
 **********

 FCN=   4172.368     FROM HESSE     STATUS=OK            29 CALLS      255 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.311        15.581        .82879E-05   -1.5611    
   2  Index         2.6558        .80160        .66331E-02   -.48798    
   3  Normalizat    .80751        .21961        .23050E-03   -.99791    
   4  Prefactor     .92848        .24421        .24758E-03   -.95153    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.26392e-10
Minuit parameter uncertainties:
  1  15.5813
  2  0.806063
  3  0.219849
  4  0.2445
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/620776': 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) = 4172.36762419
delta logL = 0.00325169658845

Extracting fit parameters...

4FGL J0045.1-3706
   Spectrum: PowerLaw
153    Prefactor:  2.331e+01  1.558e+01  0.000e+00  1.000e+06 ( 1.000e-12)
154        Index:  2.656e+00  8.061e-01  0.000e+00  1.000e+01 (-1.000e+00)
155        Scale:  5.055e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  9.285e-01  2.445e-01  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  8.075e-01  2.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.54
Ra Dec: 11.294 -37.106
Photon Index (Free Index): 2.66 +/- 0.81
Photon Flux (Free Index): 1.04e-07 +/- 7.05e-08
Energy Flux (Free Index): 2.60e-05 +/- 1.55e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/620776/cmap_HighResolution_696816001_697075201_4FGL_J0045.1-3706_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.01e-07', energy_flux2='2.60e-05', photon_flux_error='5.40e-08', dlogl='3.25e-03', energy_flux='2.65e-05', photon_flux2='1.04e-07', job_status='DONE', time_completed='2023-02-03 00:19:13.565128', photon_index_error2='0.81', photon_index2='2.66', ts='5.55', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='0.81', time_epoch_completed='1675412353.57', return_code='0', job_id='620776', GAL2='0.93', EG2='0.81', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='7.05e-08', ts2='5.54', photon_index='2.59' WHERE bin_id='1765' AND source_name='4FGL J0045.1-3706' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 00:19:13 PST 2023

, photon_index='2.59' WHERE bin_id='1765' AND source_name='4FGL J0045.1-3706' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 00:19:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0142>
Subject: Job 620692: <4FGL_J0045.1-3706_daily_bin1765> in cluster <slac> Done

Job <4FGL_J0045.1-3706_daily_bin1765> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Feb  3 00:05:19 2023
Job was executed on host(s) <bullet0142>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 00:08:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 00:08:26 2023
Terminated at Fri Feb  3 00:19:05 2023
Results reported at Fri Feb  3 00:19:05 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0045.1-3706_daily_bin1765 11.2936 -37.1065 696816001 697075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0045.1-3706 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   430.00 sec.
    Max Memory :                                 783 MB
    Average Memory :                             233.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   639 sec.
    Turnaround time :                            826 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 620776: <4FGL_J0045.1-3706_daily_bin1765> in cluster <slac> Done

Job <4FGL_J0045.1-3706_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 00:05:24 2023
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 00:09:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 00:09:25 2023
Terminated at Fri Feb  3 00:19:14 2023
Results reported at Fri Feb  3 00:19:14 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0045.1-3706_daily_bin1765 11.2936 -37.1065 696816001 697075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0045.1-3706 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   425.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             300.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   588 sec.
    Turnaround time :                            830 sec.

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

