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


Performing analysis on: 4FGL_J2350.6-3005_daily_bin1765
RA = 357.665, Dec = -30.087
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='651269', job_status='RUN', time_executed='2023-02-03 01:57:19.686129', time_epoch_executed='1675418239.69' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/651269

Creating custom pfile directory:
/scratch/kocevski/651269/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/651269/ft1_4FGL_J2350.6-3005_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/651269/ft2_4FGL_J2350.6-3005_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/651269/ft1_4FGL_J2350.6-3005_daily_bin1765.fits outfile=/scratch/kocevski/651269/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin1765.fits ra=357.665 dec=-30.087 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.68
user 3.43
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/651269/ft2_4FGL_J2350.6-3005_daily_bin1765.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/651269/ft2_4FGL_J2350.6-3005_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/651269/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/651269/ft1_filtered_4FGL_J2350.6-3005_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: 342

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/651269/ft1_filtered_4FGL_J2350.6-3005_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/651269/ft2_4FGL_J2350.6-3005_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/651269/ltcube_696816001_697075201_4FGL_J2350.6-3005_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/651269/ft2_4FGL_J2350.6-3005_daily_bin1765.fits
.....................!
real 14.55
user 14.15
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/651269/ft1_filtered_4FGL_J2350.6-3005_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/651269/ft2_4FGL_J2350.6-3005_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/651269/ltcube_696816001_697075201_4FGL_J2350.6-3005_daily_bin1765.fits outfile=/scratch/kocevski/651269/expmap_696816001_697075201_4FGL_J2350.6-3005_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/651269/ltcube_696816001_697075201_4FGL_J2350.6-3005_daily_bin1765.fits
.....................!
real 195.17
user 189.36
sys 5.42

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

Setting source of interest to:
4FGL J2350.6-3005 @ 357.665 -30.087

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/651269/ft1_filtered_4FGL_J2350.6-3005_daily_bin1765.fits scfile=/scratch/kocevski/651269/ft2_4FGL_J2350.6-3005_daily_bin1765.fits outfile=/scratch/kocevski/651269/cmap_696816001_697075201_4FGL_J2350.6-3005_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=357.665 yref=-30.087 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.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/651269/ft1_filtered_4FGL_J2350.6-3005_daily_bin1765.fits scfile=/scratch/kocevski/651269/ft2_4FGL_J2350.6-3005_daily_bin1765.fits outfile=/scratch/kocevski/651269/cmap_HighResolution_696816001_697075201_4FGL_J2350.6-3005_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=357.665 yref=-30.087 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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/651269/ft1_filtered_4FGL_J2350.6-3005_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/651269/ft2_4FGL_J2350.6-3005_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/651269/Model_4FGL_J2350.6-3005_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/651269/ft1_filtered_4FGL_J2350.6-3005_daily_bin1765.fits.....................!
real 36.12
user 34.79
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/651269/ft1_filtered_4FGL_J2350.6-3005_daily_bin1765.fits', '/scratch/kocevski/651269/ft2_4FGL_J2350.6-3005_daily_bin1765.fits', expMap='/scratch/kocevski/651269/expmap_696816001_697075201_4FGL_J2350.6-3005_daily_bin1765.fits', expCube='/scratch/kocevski/651269/ltcube_696816001_697075201_4FGL_J2350.6-3005_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/651269/Model_4FGL_J2350.6-3005_daily_bin1765.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2350.6-3005'

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  8.104e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
527        Index:  2.022e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
528        Scale:  2.236e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/651269/ft1_filtered_4FGL_J2350.6-3005_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/651269/ft2_4FGL_J2350.6-3005_daily_bin1765.fits
Exposure map: /scratch/kocevski/651269/expmap_696816001_697075201_4FGL_J2350.6-3005_daily_bin1765.fits
Exposure cube: /scratch/kocevski/651269/ltcube_696816001_697075201_4FGL_J2350.6-3005_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/651269/Model_4FGL_J2350.6-3005_daily_bin1765.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) = 3941.24187748

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    36.654       1.0000          .0000       .10000E+07
     2 'Prefactor '    .15894E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .14471       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15986E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .80757E-04   1.0000          .0000       .10000E+07
     6 'norm      '    3.0273       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.1442       1.0000          .0000       .10000E+07
     8 'norm      '    2.0118       1.0000          .0000       .10000E+07
     9 'norm      '    6.3117       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.0619       1.0000          .0000       .10000E+07
    11 'norm      '    .13460E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .40498       1.0000          .0000       .10000E+07
    13 'norm      '    .37784E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    87.500       1.0000          .0000       .10000E+07
    15 'Prefactor '    .31309E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    14.773       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0405       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .80004       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3941.221     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1338 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          37.398        15.533       -.68500E-06    .11218    
   2  Prefactor     .44409E-09    24.535        .12620E-06** at limit **
   3  Prefactor     .11323        28.398       -.17550E-05** at limit **
   4  Prefactor     .11102E-09    6.7437       -.24013E-06** at limit **
   5  norm           .0000        7.5133       -.32541E-06** at limit **
   6  norm          3.0253        1.3978        .46281E-07   -.25602E-02
   7  Prefactor     5.2839        20.834       -.14275E-05   -.18938E-01
   8  norm          2.0218        4.9138       -.29412E-06    .85539E-03
   9  norm          6.3073        11.167        .42474E-06   -.38337E-02
  10  Prefactor     4.8815        34.871       -.21288E-05    .53079E-01
  11  norm          .11102E-09    2.3633        .51758E-06** at limit **
  12  norm          .41373        4.3218       -.30084E-06    .18721E-03
  13  norm          .55511E-10    2.0327       -.29553E-06** at limit **
  14  Prefactor     87.016        59.312        .10489E-06    .12304    
  15  Prefactor      .0000        2.9739       -.11449E-07** at limit **
  16  Prefactor     17.193        43.592       -.34191E-05   -.43076E-01
  17  Normalizat    1.0390        .23542        .24726E-05   -.32364E-03
  18  Prefactor     .79977        .24850        .17918E-04   -.29588E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 37.3982
  Prefactor  = 4.44089e-10
  Prefactor  = 0.113235
  Prefactor  = 1.11022e-10
  norm       = 0
  norm       = 3.02527
  Prefactor  = 5.2839
  norm       = 2.02178
  norm       = 6.30726
  Prefactor  = 4.8815
  norm       = 1.11022e-10
  norm       = 0.413729
  norm       = 5.55112e-11
  Prefactor  = 87.0162
  Prefactor  = 0
  Prefactor  = 17.1935
  Normalizat = 1.039
  Prefactor  = 0.799774
 **********
 **   18 **HESSE 
 **********

 FCN=   3941.221     FROM HESSE     STATUS=OK           286 CALLS     1624 TOTAL
                     EDM=   .34E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          37.398        44.481        .16519E-03   -1.5586    
   2  Prefactor     .44409E-09    24.575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11323        2.2887        .63427E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    6.7491        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        7.5064        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.0253        1.4014        .58298E-03   -1.5673    
   7  Prefactor     5.2839        20.998        .44302E-03   -1.5662    
   8  norm          2.0218        4.9486        .72957E-03   -1.5680    
   9  norm          6.3073        11.297        .39930E-03   -1.5658    
  10  Prefactor     4.8815        129.14        .50004E-03   -1.5664    
  11  norm          .11102E-09    2.3634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .41373        4.2147        .88912E-03   -1.5695    
  13  norm          .55511E-10    2.0361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     87.016        70.789        .10691E-03   -1.5521    
  15  Prefactor      .0000        2.9514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.193        46.149        .26032E-03   -1.5625    
  17  Normalizat    1.0390        .20210        .41246E-01   -.91735    
  18  Prefactor     .79977        .21292        .43718E-01   -.99737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.43512e-06
Minuit parameter uncertainties:
  1  44.4809
  2  0.000203759
  3  1.01816
  4  5.68452e-05
  5  2.83991e-05
  6  1.40144
  7  20.9988
  8  4.94865
  9  11.2972
  10  50.2174
  11  3.45302e-05
  12  2.64102
  13  1.77166e-05
  14  70.7902
  15  7.83103e-07
  16  46.1502
  17  0.202253
  18  0.213144
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  8.702e+01  7.079e+01  0.000e+00  1.000e+06 ( 1.000e-14)
527        Index:  2.022e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
528        Scale:  2.236e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  7.998e-01  2.131e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  1.039e+00  2.023e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.37
Ra Dec: 357.665 -30.087
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 4.55e-08 +/- 3.70e-08
Energy Flux (Fixed Index): 2.98e-05 +/- 2.43e-05

TS (Fixed Index): 3.37
Ra Dec: 357.665 -30.087
Photon Flux Upper Limit: 1.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/651269/likelihoodResults_696816001_697075201_4FGL_J2350.6-3005_daily_bin1765.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) = 3940.75201302
delta logL = 0.468786813436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3940.74053251
delta logL = 0.480267325705

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.031       1.0000          .0000       .10000E+07
     2 'Index     '    2.6044       1.0000          .0000       10.000    
     3 'Normalizat'    .98713       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82933       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+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=   3940.741     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      293 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.028        64.314        .58962E-05    .37984E-03
   2  Index         2.6044        .67581        .33878E-02    .41030E-04
   3  Normalizat    .98699        .23833        .22188E-03    .34458E-04
   4  Prefactor     .82948        .25056        .25822E-03   -.98115E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.028
  Index      = 2.60437
  Normalizat = 0.986994
  Prefactor  = 0.829478
 **********
 **   18 **HESSE 
 **********

 FCN=   3940.741     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.028        55.404        .23585E-06   -1.5572    
   2  Index         2.6044        .58197        .13551E-03   -.49966    
   3  Normalizat    .98699        .23751        .88751E-05   -.93467    
   4  Prefactor     .82948        .25016        .10329E-04   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28311e-10
Minuit parameter uncertainties:
  1  55.4044
  2  0.583689
  3  0.237766
  4  0.250509
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/651269': 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) = 3940.74053223
delta logL = 0.480267603848

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  4.603e+01  5.540e+01  0.000e+00  1.000e+06 ( 1.000e-14)
527        Index:  2.604e+00  5.837e-01  0.000e+00  1.000e+01 (-1.000e+00)
528        Scale:  2.236e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  8.295e-01  2.505e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  9.870e-01  2.378e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.36
Ra Dec: 357.665 -30.087
Photon Index (Free Index): 2.60 +/- 0.58
Photon Flux (Free Index): 9.39e-08 +/- 7.04e-08
Energy Flux (Free Index): 2.45e-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/651269/cmap_HighResolution_696816001_697075201_4FGL_J2350.6-3005_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.75e-03', comment='SUCCESS', photon_flux='4.55e-08', energy_flux2='2.45e-05', photon_flux_error='3.70e-08', dlogl='4.80e-01', energy_flux='2.98e-05', photon_flux2='9.39e-08', job_status='DONE', time_completed='2023-02-03 02:05:08.751404', photon_index_error2='0.58', photon_index2='2.60', ts='3.37', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='1.30e-07', energy_flux_error2='1.55e-05', EG='1.04', time_epoch_completed='1675418708.75', return_code='0', job_id='651269', GAL2='0.83', EG2='0.99', return_code2='0', energy_flux_error='2.43e-05', photon_flux_error2='7.04e-08', ts2='4.36', photon_index='2.02' WHERE bin_id='1765' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 02:05:08 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 651269: <4FGL_J2350.6-3005_daily_bin1765> in cluster <slac> Done

Job <4FGL_J2350.6-3005_daily_bin1765> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Feb  3 01:55:15 2023
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:55:54 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:55:54 2023
Terminated at Fri Feb  3 02:05:09 2023
Results reported at Fri Feb  3 02:05:09 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin1765 357.665 -30.087 696816001 697075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2350.6-3005 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   471.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             344.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   555 sec.
    Turnaround time :                            594 sec.

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

