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


Performing analysis on: 4FGL_J0345.2-2353_daily_bin1698
RA = 56.3187, Dec = -23.885
tmin = 679449601, tmax = 679708801
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='916619', job_status='RUN', time_executed='2022-07-17 00:06:41.345621', time_epoch_executed='1658041601.35' WHERE source_name='4FGL J0345.2-2353' and cadence='daily' and bin_id='1698'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/916619

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/916619/ft1_4FGL_J0345.2-2353_daily_bin1698.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/916619/ft2_4FGL_J0345.2-2353_daily_bin1698.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/916619/ft1_4FGL_J0345.2-2353_daily_bin1698.fits outfile=/scratch/kocevski/916619/ft1_filteredMKT_4FGL_J0345.2-2353_daily_bin1698.fits ra=56.3187 dec=-23.885 rad=12.0 tmin=679449601.0 tmax=679708801.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.71
user 3.23
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/916619/ft2_4FGL_J0345.2-2353_daily_bin1698.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/916619/ft2_4FGL_J0345.2-2353_daily_bin1698.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/916619/ft1_filteredMKT_4FGL_J0345.2-2353_daily_bin1698.fits evtable="EVENTS" outfile="/scratch/kocevski/916619/ft1_filtered_4FGL_J0345.2-2353_daily_bin1698.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 1.02
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 671

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/916619/ft1_filtered_4FGL_J0345.2-2353_daily_bin1698.fits" evtable="EVENTS" scfile=/scratch/kocevski/916619/ft2_4FGL_J0345.2-2353_daily_bin1698.fits sctable="SC_DATA" outfile=/scratch/kocevski/916619/ltcube_679449601_679708801_4FGL_J0345.2-2353_daily_bin1698.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/916619/ft2_4FGL_J0345.2-2353_daily_bin1698.fits
.....................!
real 12.07
user 11.38
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/916619/ft1_filtered_4FGL_J0345.2-2353_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/916619/ft2_4FGL_J0345.2-2353_daily_bin1698.fits sctable="SC_DATA" expcube=/scratch/kocevski/916619/ltcube_679449601_679708801_4FGL_J0345.2-2353_daily_bin1698.fits outfile=/scratch/kocevski/916619/expmap_679449601_679708801_4FGL_J0345.2-2353_daily_bin1698.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/916619/ltcube_679449601_679708801_4FGL_J0345.2-2353_daily_bin1698.fits
.....................!
real 193.76
user 186.30
sys 4.45

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 Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template.
Added 155 point sources and 1 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 J0345.2-2353 @ 56.3187 -23.885

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/916619/ft1_filtered_4FGL_J0345.2-2353_daily_bin1698.fits scfile=/scratch/kocevski/916619/ft2_4FGL_J0345.2-2353_daily_bin1698.fits outfile=/scratch/kocevski/916619/cmap_679449601_679708801_4FGL_J0345.2-2353_daily_bin1698.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=56.3187 yref=-23.885 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.70
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/916619/ft1_filtered_4FGL_J0345.2-2353_daily_bin1698.fits scfile=/scratch/kocevski/916619/ft2_4FGL_J0345.2-2353_daily_bin1698.fits outfile=/scratch/kocevski/916619/cmap_HighResolution_679449601_679708801_4FGL_J0345.2-2353_daily_bin1698.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=56.3187 yref=-23.885 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.36
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/916619/ft1_filtered_4FGL_J0345.2-2353_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/916619/ft2_4FGL_J0345.2-2353_daily_bin1698.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/916619/Model_4FGL_J0345.2-2353_daily_bin1698.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/916619/ft1_filtered_4FGL_J0345.2-2353_daily_bin1698.fits.....................!
real 160.91
user 153.24
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/916619/ft1_filtered_4FGL_J0345.2-2353_daily_bin1698.fits', '/scratch/kocevski/916619/ft2_4FGL_J0345.2-2353_daily_bin1698.fits', expMap='/scratch/kocevski/916619/expmap_679449601_679708801_4FGL_J0345.2-2353_daily_bin1698.fits', expCube='/scratch/kocevski/916619/ltcube_679449601_679708801_4FGL_J0345.2-2353_daily_bin1698.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/916619/Model_4FGL_J0345.2-2353_daily_bin1698.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0345.2-2353'

4FGL J0345.2-2353
   Spectrum: PowerLaw
254    Prefactor:  2.229e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
255        Index:  2.446e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.564e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/916619/ft1_filtered_4FGL_J0345.2-2353_daily_bin1698.fits
Spacecraft file(s): /scratch/kocevski/916619/ft2_4FGL_J0345.2-2353_daily_bin1698.fits
Exposure map: /scratch/kocevski/916619/expmap_679449601_679708801_4FGL_J0345.2-2353_daily_bin1698.fits
Exposure cube: /scratch/kocevski/916619/ltcube_679449601_679708801_4FGL_J0345.2-2353_daily_bin1698.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/916619/Model_4FGL_J0345.2-2353_daily_bin1698.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) = 7301.63301608

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.0513       1.0000         .10000E-03   10000.    
     3 'Prefactor '    88.737       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.9913       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    87.691       1.0000         .10000E-03   10000.    
     8 'Prefactor '    50.773       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10388E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.4156       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.1247       1.0000         .10000E-03   10000.    
    14 'norm      '    .79528       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.8234       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.5378       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .97539       1.0000         .10000E-03   10000.    
    18 'norm      '    .68893       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.729       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.3587       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .76182       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95977       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7301.593     FROM MIGRAD    STATUS=CONVERGED    541 CALLS     2763 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.9157       -.34104E-06** at limit **
   2  norm          3.0513        1.9554       -.34272E-07   -.19447E-04
   3  Prefactor     88.653        105.92       -.55365E-06   -.32347E-04
   4  Prefactor     .10000E-03    2.9025        .72113E-06** at limit **
   5  Prefactor     3.0089        15.517        .39826E-06    .11898E-03
   6  Prefactor     .10000E-03    13.037        .61087E-06** at limit **
   7  Prefactor     87.709        43.895        .53317E-06    .23351E-03
   8  Prefactor     50.779        36.264        .13740E-06    .19174E-03
   9  Prefactor     .10000E-03    .56739       -.42118E-06** at limit **
  10  Prefactor     .10000E-03    1.9111        .15849E-05** at limit **
  11  Prefactor     .10000E-03    2.1416       -.23414E-05** at limit **
  12  norm          4.4153        1.0157        .91826E-07    .30626E-02
  13  Prefactor     2.1377        29.765        .19600E-05    .15613E-03
  14  norm          .79589        1.0083        .23190E-06    .27038E-02
  15  Prefactor     5.8942        250.20       -.15416E-05    .16308E-04
  16  Prefactor     9.5404        17.474        .40177E-07    .18068E-03
  17  Prefactor     .97520        1.8327        .50799E-06    .12994E-02
  18  norm          .74722        18.815       -.80012E-05    .68465E-03
  19  Prefactor     .10000E-03    28.498       -.17061E-05** at limit **
  20  Prefactor     19.727        9.5836       -.11669E-07    .18197E-03
  21  Prefactor     .10000E-03    1.3007       -.33877E-06** at limit **
  22  Prefactor     4.3590        12.161        .33223E-06    .96227E-04
  23  Normalizat    .76178        .14416       -.11776E-05    .99293E-03
  24  Prefactor     .95978        .14101        .19801E-05    .12638E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.05127
  Prefactor  = 88.653
  Prefactor  = 0.0001
  Prefactor  = 3.00892
  Prefactor  = 0.0001
  Prefactor  = 87.7095
  Prefactor  = 50.7795
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  norm       = 4.41531
  Prefactor  = 2.13774
  norm       = 0.795888
  Prefactor  = 5.89416
  Prefactor  = 9.54041
  Prefactor  = 0.975199
  norm       = 0.747216
  Prefactor  = 0.000100001
  Prefactor  = 19.7274
  Prefactor  = 0.0001
  Prefactor  = 4.359
  Normalizat = 0.761784
  Prefactor  = 0.959785
 **********
 **   18 **HESSE 
 **********

 FCN=   7301.593     FROM HESSE     STATUS=OK           403 CALLS     3166 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.9582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.0513        1.9567        .93078E-04   -1.5359    
   3  Prefactor     88.653        106.06        .21326E-03   -1.3822    
   4  Prefactor     .10000E-03    3.0019        .28286E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.0089        15.166        .23471E-03   -1.5361    
   6  Prefactor     .10000E-03    13.066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     87.709        43.960        .21452E-03   -1.3832    
   8  Prefactor     50.779        36.218        .56282E-04   -1.4282    
   9  Prefactor     .10000E-03    .86170        .12338E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.4520        .21001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.4915        .21657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.4153        1.0126        .38838E-04   -1.5288    
  13  Prefactor     2.1377        29.382        .28290E-03   -1.5416    
  14  norm          .79589        .91755        .90223E-03   -1.5530    
  15  Prefactor     5.8942        247.40        .16643E-03   -1.5222    
  16  Prefactor     9.5404        17.305        .12976E-03   -1.5090    
  17  Prefactor     .97520        1.7767        .14867E-03   -1.5510    
  18  norm          .74722        32.958        .45462E-02   -1.5535    
  19  Prefactor     .10000E-03    28.888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     19.727        9.5806        .90174E-04   -1.4819    
  21  Prefactor     .10000E-03    1.3282        .95379E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.3590        12.146        .19293E-03   -1.5290    
  23  Normalizat    .76178        .16125        .24570E-03   -1.0150    
  24  Prefactor     .95978        .16098        .22232E-03   -.94082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.45731e-09
Minuit parameter uncertainties:
  1  4.50356e-05
  2  1.95676
  3  106.29
  4  5.46092e-05
  5  13.5159
  6  0.000104758
  7  43.976
  8  36.2337
  9  1.12615e-05
  10  0.000106762
  11  8.84266e-05
  12  1.01265
  13  15.8598
  14  0.917566
  15  76.714
  16  17.3137
  17  1.77676
  18  9.9302
  19  0.000302608
  20  9.58132
  21  2.14031e-05
  22  12.1532
  23  0.161347
  24  0.161058
Done.

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

Extracting fit parameters...

4FGL J0345.2-2353
   Spectrum: PowerLaw
254    Prefactor:  1.000e-04  8.843e-05  1.000e-04  1.000e+04 ( 1.000e-12)
255        Index:  2.446e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
256        Scale:  7.564e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  9.598e-01  1.611e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  7.618e-01  1.613e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 56.319 -23.885
Photon Flux Upper Limit: 5.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/916619/likelihoodResults_679449601_679708801_4FGL_J0345.2-2353_daily_bin1698.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) = 7301.59461211
delta logL = -0.0013642575077

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7301.59325197
delta logL = -4.11115979659e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13395E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4815       1.0000          .0000       10.000    
     3 'Normalizat'    .76189       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95973       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7301.592     FROM MIGRAD    STATUS=FAILED       190 CALLS      354 TOTAL
                     EDM=   .76E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25004E-01    1.0291        .25918E-01   -.78704E-02
   2  Index         3.5867        2.1577        .50000        .11645E-04
   3  Normalizat    .76112        .65432E-02    .24570E-03    .76418E-01
   4  Prefactor     .95967        .66171E-02    .22232E-03   -.51480E-01
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7301.592     FROM SIMPLEX   STATUS=UNCHANGED     50 CALLS      404 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25004E-01    1.0291        .27274E-03   -.78704E-02
   2  Index         3.5867        2.1577        .55070E-02    .11645E-04
   3  Normalizat    .76112        .65432E-02    .66197E-04    .76418E-01
   4  Prefactor     .95967        .66171E-02    .39900E-04   -.51480E-01
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7301.592     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      462 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25690E-01    4.6992       -.85679E-05    .47434E-03
   2  Index         3.5885        6.5772       -.46354E-03   -.11949E-04
   3  Normalizat    .76002        .15807        .15143E-06    .44788E-03
   4  Prefactor     .96072        .15690       -.40936E-06    .27385E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0256896
  Index      = 3.58849
  Normalizat = 0.760016
  Prefactor  = 0.960722
 **********
 **   18 **HESSE 
 **********

 FCN=   7301.592     FROM HESSE     STATUS=OK            27 CALLS      489 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25690E-01    4.5092        .35994E-04   -1.5740    
   2  Index         3.5885        6.5875        .82782E-03   -.28619    
   3  Normalizat    .76002        .15926        .98281E-05   -1.0157    
   4  Prefactor     .96072        .15734        .88930E-05   -.94050    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.58227e-10
Minuit parameter uncertainties:
  1  0.679434
  2  8.12621
  3  0.159357
  4  0.157412
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/916619': 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) = 7301.59228846
delta logL = 0.00095939718085

Extracting fit parameters...

4FGL J0345.2-2353
   Spectrum: PowerLaw
254    Prefactor:  2.569e-02  6.794e-01  1.000e-04  1.000e+04 ( 1.000e-12)
255        Index:  3.588e+00  8.126e+00  0.000e+00  1.000e+01 (-1.000e+00)
256        Scale:  7.564e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  9.607e-01  1.574e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  7.600e-01  1.594e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 56.319 -23.885

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/916619/cmap_HighResolution_679449601_679708801_4FGL_J0345.2-2353_daily_bin1698.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-03', job_status='DONE', photon_flux_upper_limit='5.85e-08', time_completed='2022-07-17 00:20:11.863717', job_id='916619', GAL2='0.96', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1658042411.86', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='9.59e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1698' AND source_name='4FGL J0345.2-2353' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 17 00:20:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 916619: <4FGL_J0345.2-2353_daily_bin1698> in cluster <slac> Done

Job <4FGL_J0345.2-2353_daily_bin1698> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Jul 17 00:05:04 2022
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 17 00:05:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 17 00:05:04 2022
Terminated at Sun Jul 17 00:20:12 2022
Results reported at Sun Jul 17 00:20:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0345.2-2353_daily_bin1698 56.3187 -23.885 679449601 679708801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0345.2-2353 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   800.22 sec.
    Max Memory :                                 1193 MB
    Average Memory :                             345.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   908 sec.
    Turnaround time :                            908 sec.

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

