aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 54 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is 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 = 7442
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0003.3-1928_daily_bin1692
RA = 0.8465, Dec = -19.4676
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='403371', job_status='RUN', time_executed='2022-06-29 00:06:23.712107', time_epoch_executed='1656486383.71' WHERE source_name='4FGL J0003.3-1928' and cadence='daily' and bin_id='1692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/403371

Creating custom pfile directory:
/scratch/kocevski/403371/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 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/403371/ft1_4FGL_J0003.3-1928_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 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/403371/ft2_4FGL_J0003.3-1928_daily_bin1692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/403371/ft1_4FGL_J0003.3-1928_daily_bin1692.fits outfile=/scratch/kocevski/403371/ft1_filteredMKT_4FGL_J0003.3-1928_daily_bin1692.fits ra=0.8465 dec=-19.4676 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.38
user 4.02
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/403371/ft2_4FGL_J0003.3-1928_daily_bin1692.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/403371/ft2_4FGL_J0003.3-1928_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/403371/ft1_filteredMKT_4FGL_J0003.3-1928_daily_bin1692.fits evtable="EVENTS" outfile="/scratch/kocevski/403371/ft1_filtered_4FGL_J0003.3-1928_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.55
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 368

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/403371/ft1_filtered_4FGL_J0003.3-1928_daily_bin1692.fits" evtable="EVENTS" scfile=/scratch/kocevski/403371/ft2_4FGL_J0003.3-1928_daily_bin1692.fits sctable="SC_DATA" outfile=/scratch/kocevski/403371/ltcube_677894401_678153601_4FGL_J0003.3-1928_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/403371/ft2_4FGL_J0003.3-1928_daily_bin1692.fits
.....................!
real 14.85
user 14.05
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/403371/ft1_filtered_4FGL_J0003.3-1928_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/403371/ft2_4FGL_J0003.3-1928_daily_bin1692.fits sctable="SC_DATA" expcube=/scratch/kocevski/403371/ltcube_677894401_678153601_4FGL_J0003.3-1928_daily_bin1692.fits outfile=/scratch/kocevski/403371/expmap_677894401_678153601_4FGL_J0003.3-1928_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/403371/ltcube_677894401_678153601_4FGL_J0003.3-1928_daily_bin1692.fits
.....................!
real 194.79
user 187.39
sys 5.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
Added 183 point sources and 0 extended sources

Setting source of interest to:
4FGL J0003.3-1928 @ 0.8465 -19.4676

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/403371/ft1_filtered_4FGL_J0003.3-1928_daily_bin1692.fits scfile=/scratch/kocevski/403371/ft2_4FGL_J0003.3-1928_daily_bin1692.fits outfile=/scratch/kocevski/403371/cmap_677894401_678153601_4FGL_J0003.3-1928_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=0.8465 yref=-19.4676 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.60
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/403371/ft1_filtered_4FGL_J0003.3-1928_daily_bin1692.fits scfile=/scratch/kocevski/403371/ft2_4FGL_J0003.3-1928_daily_bin1692.fits outfile=/scratch/kocevski/403371/cmap_HighResolution_677894401_678153601_4FGL_J0003.3-1928_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=0.8465 yref=-19.4676 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/403371/ft1_filtered_4FGL_J0003.3-1928_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/403371/ft2_4FGL_J0003.3-1928_daily_bin1692.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/403371/Model_4FGL_J0003.3-1928_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
Working on...
/scratch/kocevski/403371/ft1_filtered_4FGL_J0003.3-1928_daily_bin1692.fits.....................!
real 40.45
user 37.28
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/403371/ft1_filtered_4FGL_J0003.3-1928_daily_bin1692.fits', '/scratch/kocevski/403371/ft2_4FGL_J0003.3-1928_daily_bin1692.fits', expMap='/scratch/kocevski/403371/expmap_677894401_678153601_4FGL_J0003.3-1928_daily_bin1692.fits', expCube='/scratch/kocevski/403371/ltcube_677894401_678153601_4FGL_J0003.3-1928_daily_bin1692.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/403371/Model_4FGL_J0003.3-1928_daily_bin1692.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0003.3-1928'

4FGL J0003.3-1928
   Spectrum: LogParabola
6           norm:  6.136e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
7          alpha:  2.058e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
8           beta:  2.464e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
9             Eb:  9.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/403371/ft1_filtered_4FGL_J0003.3-1928_daily_bin1692.fits
Spacecraft file(s): /scratch/kocevski/403371/ft2_4FGL_J0003.3-1928_daily_bin1692.fits
Exposure map: /scratch/kocevski/403371/expmap_677894401_678153601_4FGL_J0003.3-1928_daily_bin1692.fits
Exposure cube: /scratch/kocevski/403371/ltcube_677894401_678153601_4FGL_J0003.3-1928_daily_bin1692.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/403371/Model_4FGL_J0003.3-1928_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) = 4231.41006772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3594       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.1484       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.4495       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    16.516       1.0000         .10000E-03   10000.    
     7 'norm      '    19.797       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    16.955       1.0000         .10000E-03   10000.    
    10 'Prefactor '    82.212       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10209E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .19758       1.0000         .10000E-03   10000.    
    15 'norm      '    .73600       1.0000         .10000E-03   10000.    
    16 'Prefactor '    76.181       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .76333       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0859       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4231.407     FROM MIGRAD    STATUS=CONVERGED    381 CALLS     1876 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3604        9.3510       -.16632E-06   -.12455E-03
   2  norm          .10000E-03    16.708       -.53739E-05** at limit **
   3  Prefactor     7.1491        6.7870       -.34015E-06   -.34054E-04
   4  Prefactor     5.4500        9.7421       -.86324E-07   -.89172E-05
   5  Prefactor     .10000E-03    10.949        .40057E-05** at limit **
   6  norm          16.517        14.552       -.51642E-07   -.46642E-05
   7  norm          19.799        9.7530       -.95194E-07   -.38899E-05
   8  Prefactor     .10000E-03    8.5051       -.38329E-05** at limit **
   9  norm          16.955        5.6917        .23200E-06   -.64212E-04
  10  Prefactor     82.200        56.659       -.99648E-05    .70180E-05
  11  Prefactor     .10000E-03    7.0774       -.39735E-05** at limit **
  12  Prefactor     .10000E-03    26.154        .83492E-05** at limit **
  13  Prefactor     .10000E-03    39.172       -.54141E-05** at limit **
  14  norm          .19741        .41320       -.10632E-06    .25745E-03
  15  norm          .73414        1.1934        .32414E-06   -.15690E-02
  16  Prefactor     76.185        86.561        .43330E-05    .50699E-05
  17  Prefactor     .10000E-03    7.1195        .57373E-05** at limit **
  18  Normalizat    .76313        .20694        .15427E-05   -.14812E-03
  19  Prefactor     1.0860        .21264       -.12030E-05   -.49157E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.36044
  norm       = 0.0001
  Prefactor  = 7.14908
  Prefactor  = 5.44998
  Prefactor  = 0.0001
  norm       = 16.517
  norm       = 19.7988
  Prefactor  = 0.0001
  norm       = 16.9553
  Prefactor  = 82.2002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.197413
  norm       = 0.734143
  Prefactor  = 76.185
  Prefactor  = 0.0001
  Normalizat = 0.763127
  Prefactor  = 1.086
 **********
 **   18 **HESSE 
 **********

 FCN=   4231.407     FROM HESSE     STATUS=OK           276 CALLS     2152 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3604        9.3473        .15916E-03   -1.5204    
   2  norm          .10000E-03    16.734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.1491        6.7941        .15003E-03   -1.5173    
   4  Prefactor     5.4500        9.7340        .17213E-03   -1.5241    
   5  Prefactor     .10000E-03    10.967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          16.517        14.560        .98552E-04   -1.4895    
   7  norm          19.799        9.7748        .90017E-04   -1.4818    
   8  Prefactor     .10000E-03    8.5081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          16.955        5.6918        .85597E-04   -1.4884    
  10  Prefactor     82.200        56.838        .44299E-04   -1.3892    
  11  Prefactor     .10000E-03    7.0204        .16823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    26.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    39.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .19741        .40085        .57662E-03   -1.5619    
  15  norm          .73414        5.8756        .43452E-01   -1.5537    
  16  Prefactor     76.185        86.661        .46005E-04   -1.3960    
  17  Prefactor     .10000E-03    7.2688        .33774E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .76313        .23936        .26435E-03   -1.0145    
  19  Prefactor     1.0860        .24461        .23610E-03   -.89915    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46543e-09
Minuit parameter uncertainties:
  1  9.34942
  2  2.26291e-05
  3  6.79478
  4  9.73684
  5  1.28717e-05
  6  14.5627
  7  9.7756
  8  3.98472e-06
  9  5.692
  10  56.8761
  11  5.06851e-05
  12  3.7197e-05
  13  4.82677e-05
  14  0.400857
  15  4.15409
  16  86.8055
  17  2.38487e-05
  18  0.239686
  19  0.244863
Done.

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

Extracting fit parameters...

4FGL J0003.3-1928
   Spectrum: LogParabola
6           norm:  1.000e-04  2.263e-05  1.000e-04  1.000e+04 ( 1.000e-13)
7          alpha:  2.058e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
8           beta:  2.464e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
9             Eb:  9.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
590    Prefactor:  1.086e+00  2.449e-01  0.000e+00  1.000e+01 ( 1.000e+00)
591        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
592        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
589   Normalization:  7.631e-01  2.397e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 0.847 -19.468
Photon Flux Upper Limit: 4.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.37e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/403371/likelihoodResults_677894401_678153601_4FGL_J0003.3-1928_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) = 4231.4073322
delta logL = -0.000283780286736

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4231.40704905
delta logL = -6.36945514998e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10652E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.7680       1.0000          .0000       5.0000    
     3 'Normalizat'    .76313       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4231.407     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      227 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    297.66        .45866E-01** at limit **
   2  alpha         3.7862        4.1157        .50000       -.51784E-05
   3  Normalizat    .76313        .45773E-01    .43127E-01    .15219E-03
   4  Prefactor     1.0860        .44820E-01    .38144E-01    .96417E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100003
  alpha      = 3.78616
  Normalizat = 0.76313
  Prefactor  = 1.086
 **********
 **   18 **HESSE 
 **********

 FCN=   4231.407     FROM HESSE     STATUS=OK            31 CALLS      258 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    14.708        .28571E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.7862        3.6996        .20000        .54038    
   3  Normalizat    .76313        .22897        .26435E-03   -1.0145    
   4  Prefactor     1.0860        .24140        .23610E-03   -.89915    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.72116e-10
Minuit parameter uncertainties:
  1  0.000436032
  2  2.14755
  3  0.229261
  4  0.241642
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/403371': 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) = 4231.40704879
delta logL = -3.73133843823e-07

Extracting fit parameters...

4FGL J0003.3-1928
   Spectrum: LogParabola
6           norm:  1.000e-04  4.360e-04  1.000e-04  1.000e+04 ( 1.000e-13)
7          alpha:  3.786e+00  2.148e+00  0.000e+00  5.000e+00 ( 1.000e+00)
8           beta:  2.464e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
9             Eb:  9.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
590    Prefactor:  1.086e+00  2.416e-01  0.000e+00  1.000e+01 ( 1.000e+00)
591        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
592        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
589   Normalization:  7.631e-01  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 0.847 -19.468

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/403371/cmap_HighResolution_677894401_678153601_4FGL_J0003.3-1928_daily_bin1692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.37e-05', job_status='DONE', photon_flux_upper_limit='4.39e-08', time_completed='2022-06-29 00:14:55.831633', job_id='403371', GAL2='1.09', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1656486895.83', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='-3.73e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1692' AND source_name='4FGL J0003.3-1928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun 29 00:14:55 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0113>
Subject: Job 403371: <4FGL_J0003.3-1928_daily_bin1692> in cluster <slac> Done

Job <4FGL_J0003.3-1928_daily_bin1692> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jun 29 00:04:38 2022
Job was executed on host(s) <bullet0113>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 00:05:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 00:05:01 2022
Terminated at Wed Jun 29 00:14:56 2022
Results reported at Wed Jun 29 00:14:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0003.3-1928_daily_bin1692 0.8465 -19.4676 677894401 678153601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0003.3-1928 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   504.98 sec.
    Max Memory :                                 639 MB
    Average Memory :                             273.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   595 sec.
    Turnaround time :                            618 sec.

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

