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


Performing analysis on: 4FGL_J0003.3-1928_daily_bin1664
RA = 0.8465, Dec = -19.4676
tmin = 670636801, tmax = 670896001
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='307052', job_status='RUN', time_executed='2022-04-06 00:05:57.878552', time_epoch_executed='1649228757.88' WHERE source_name='4FGL J0003.3-1928' and cadence='daily' and bin_id='1664'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/307052

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/307052/ft1_4FGL_J0003.3-1928_daily_bin1664.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/307052/ft2_4FGL_J0003.3-1928_daily_bin1664.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/307052/ft1_4FGL_J0003.3-1928_daily_bin1664.fits outfile=/scratch/kocevski/307052/ft1_filteredMKT_4FGL_J0003.3-1928_daily_bin1664.fits ra=0.8465 dec=-19.4676 rad=12.0 tmin=670636801.0 tmax=670896001.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 6.41
user 5.15
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/307052/ft2_4FGL_J0003.3-1928_daily_bin1664.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/307052/ft1_filteredMKT_4FGL_J0003.3-1928_daily_bin1664.fits evtable="EVENTS" outfile="/scratch/kocevski/307052/ft1_filtered_4FGL_J0003.3-1928_daily_bin1664.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.80
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 557

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/307052/ft1_filtered_4FGL_J0003.3-1928_daily_bin1664.fits" evtable="EVENTS" scfile=/scratch/kocevski/307052/ft2_4FGL_J0003.3-1928_daily_bin1664.fits sctable="SC_DATA" outfile=/scratch/kocevski/307052/ltcube_670636801_670896001_4FGL_J0003.3-1928_daily_bin1664.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/307052/ft2_4FGL_J0003.3-1928_daily_bin1664.fits
.....................!
real 12.47
user 11.75
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/307052/ft1_filtered_4FGL_J0003.3-1928_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/307052/ft2_4FGL_J0003.3-1928_daily_bin1664.fits sctable="SC_DATA" expcube=/scratch/kocevski/307052/ltcube_670636801_670896001_4FGL_J0003.3-1928_daily_bin1664.fits outfile=/scratch/kocevski/307052/expmap_670636801_670896001_4FGL_J0003.3-1928_daily_bin1664.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/307052/ltcube_670636801_670896001_4FGL_J0003.3-1928_daily_bin1664.fits
.....................!
real 193.72
user 186.75
sys 4.96

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/307052/ft1_filtered_4FGL_J0003.3-1928_daily_bin1664.fits scfile=/scratch/kocevski/307052/ft2_4FGL_J0003.3-1928_daily_bin1664.fits outfile=/scratch/kocevski/307052/cmap_670636801_670896001_4FGL_J0003.3-1928_daily_bin1664.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 2.70
user 0.38
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/307052/ft1_filtered_4FGL_J0003.3-1928_daily_bin1664.fits scfile=/scratch/kocevski/307052/ft2_4FGL_J0003.3-1928_daily_bin1664.fits outfile=/scratch/kocevski/307052/cmap_HighResolution_670636801_670896001_4FGL_J0003.3-1928_daily_bin1664.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.94
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/307052/ft1_filtered_4FGL_J0003.3-1928_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/307052/ft2_4FGL_J0003.3-1928_daily_bin1664.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/307052/Model_4FGL_J0003.3-1928_daily_bin1664.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/307052/ft1_filtered_4FGL_J0003.3-1928_daily_bin1664.fits.....................!
real 70.44
user 48.54
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/307052/ft1_filtered_4FGL_J0003.3-1928_daily_bin1664.fits', '/scratch/kocevski/307052/ft2_4FGL_J0003.3-1928_daily_bin1664.fits', expMap='/scratch/kocevski/307052/expmap_670636801_670896001_4FGL_J0003.3-1928_daily_bin1664.fits', expCube='/scratch/kocevski/307052/ltcube_670636801_670896001_4FGL_J0003.3-1928_daily_bin1664.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/307052/Model_4FGL_J0003.3-1928_daily_bin1664.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/307052/ft1_filtered_4FGL_J0003.3-1928_daily_bin1664.fits
Spacecraft file(s): /scratch/kocevski/307052/ft2_4FGL_J0003.3-1928_daily_bin1664.fits
Exposure map: /scratch/kocevski/307052/expmap_670636801_670896001_4FGL_J0003.3-1928_daily_bin1664.fits
Exposure cube: /scratch/kocevski/307052/ltcube_670636801_670896001_4FGL_J0003.3-1928_daily_bin1664.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/307052/Model_4FGL_J0003.3-1928_daily_bin1664.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) = 6061.85481997

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29764E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10601E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.0139       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11222E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    13.815       1.0000         .10000E-03   10000.    
     7 'norm      '    7.0897       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17993E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.4959       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10203E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.830       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12264E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .31908E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    .51507       1.0000         .10000E-03   10000.    
    15 'norm      '    2.4757       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .36484E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.4060       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.4005       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .44680       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=   6061.781     FROM MIGRAD    STATUS=CONVERGED    373 CALLS     1591 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.0030       -.13693E-06** at limit **
   2  norm          .10000E-03    8.1374        .22948E-05** at limit **
   3  Prefactor     .10000E-03    1.5203       -.17523E-07** at limit **
   4  Prefactor     9.0395        9.5419       -.15764E-05   -.48174E-04
   5  Prefactor     .10000E-03    6.6232       -.14032E-05** at limit **
   6  norm          13.795        11.196        .50943E-06   -.19821E-05
   7  norm          7.0864        4.5279       -.13570E-05   -.11787E-03
   8  Prefactor     .10000E-03    5.0208        .36070E-06** at limit **
   9  norm          4.4961        3.1601       -.19028E-06   -.25469E-03
  10  Prefactor     .10000E-03    27.284        .11905E-04** at limit **
  11  Prefactor     10.796        10.225        .18879E-05   -.84899E-04
  12  Prefactor     .10000E-03    13.159       -.36229E-05** at limit **
  13  Prefactor     .10000E-03    39.798       -.27767E-04** at limit **
  14  norm          .51496        .46939       -.60028E-07   -.11217E-02
  15  norm          2.4762        2.7675       -.32432E-07   -.16186E-03
  16  Prefactor     .10000E-03    20.444        .11766E-05** at limit **
  17  Prefactor     1.4397        7.2254       -.29525E-05   -.84929E-03
  18  Normalizat    1.4004        .16237        .89929E-06    .76693E-04
  19  Prefactor     .44686        .16256       -.36406E-06    .50819E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.03947
  Prefactor  = 0.0001
  norm       = 13.7952
  norm       = 7.0864
  Prefactor  = 0.0001
  norm       = 4.49608
  Prefactor  = 0.0001
  Prefactor  = 10.7956
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.514958
  norm       = 2.47616
  Prefactor  = 0.0001
  Prefactor  = 1.43966
  Normalizat = 1.40039
  Prefactor  = 0.44686
 **********
 **   18 **HESSE 
 **********

 FCN=   6061.781     FROM HESSE     STATUS=OK           270 CALLS     1861 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.0854        .21393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    8.1303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.5498        .93710E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.0395        9.5625        .13350E-03   -1.5107    
   5  Prefactor     .10000E-03    6.6258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          13.795        11.189        .10776E-03   -1.4965    
   7  norm          7.0864        4.5346        .12820E-03   -1.5175    
   8  Prefactor     .10000E-03    5.0208        .17038E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.4961        3.1595        .11050E-03   -1.5284    
  10  Prefactor     .10000E-03    26.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.796        10.182        .12174E-03   -1.5051    
  12  Prefactor     .10000E-03    13.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    38.640        .19761E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .51496        .45849        .44871E-03   -1.5564    
  15  norm          2.4762        2.8255        .12146E-03   -1.5393    
  16  Prefactor     .10000E-03    20.460        .21305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.4397        7.8785        .36562E-03   -1.5468    
  18  Normalizat    1.4004        .17961        .18826E-03   -.80617    
  19  Prefactor     .44686        .17812        .32204E-03   -1.1448    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43436e-09
Minuit parameter uncertainties:
  1  3.47659e-05
  2  1.50099e-06
  3  8.75523e-07
  4  9.56414
  5  2.31871e-06
  6  11.1907
  7  4.53483
  8  1.74592e-06
  9  3.15961
  10  9.97469e-05
  11  10.1841
  12  3.72011e-06
  13  7.41485e-07
  14  0.458496
  15  2.82564
  16  5.78908e-06
  17  6.73682
  18  0.179688
  19  0.178341
Done.

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

Extracting fit parameters...

4FGL J0003.3-1928
   Spectrum: LogParabola
6           norm:  1.000e-04  1.501e-06  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:  4.469e-01  1.783e-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:  1.400e+00  1.797e-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: 2.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.36e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/307052/likelihoodResults_670636801_670896001_4FGL_J0003.3-1928_daily_bin1664.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) = 6061.78163086
delta logL = -0.000578567509365

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6061.78105272
delta logL = -4.21824552177e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10620E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0420       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4005       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .44678       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6061.525     FROM MIGRAD    STATUS=FAILED       149 CALLS      285 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7479        365.37        .43495E-01    .51053E-03
   2  alpha         .26447E-10    4.6997        .50000    ** at limit **
   3  Normalizat    1.3973        .61157E-01    .18826E-03    .28382E-05
   4  Prefactor     .44754        .62319E-01    .32204E-03    .12003E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6061.525     FROM SIMPLEX   STATUS=UNCHANGED    142 CALLS      427 TOTAL
                     EDM=   .93E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7479        365.37        .10271E-04    .51053E-03
   2  alpha         .26447E-10    4.6997        .21255E-01** at limit **
   3  Normalizat    1.3973        .61157E-01    .77049E-07    .28382E-05
   4  Prefactor     .44754        .62319E-01    .98053E-07    .12003E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6061.525     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      462 TOTAL
                     EDM=   .61E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7479        3.5457        .23722E-02    .99564E-04
   2  alpha         .26447E-10    3.6640        .50000    ** at limit **
   3  Normalizat    1.3973        .17441        .75305E-05    .27174E-05
   4  Prefactor     .44754        .17766        .12882E-04    .12356E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.74788
  alpha      = 2.64466e-11
  Normalizat = 1.39734
  Prefactor  = 0.447536
 **********
 **   18 **HESSE 
 **********

 FCN=   6061.525     FROM HESSE     STATUS=OK            31 CALLS      493 TOTAL
                     EDM=   .38E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7479        3.3981        .94888E-04   -1.5444    
   2  alpha         .26447E-10    3.5879        .50000       -32.987    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.3973        .17424        .15061E-05   -.80706    
   4  Prefactor     .44754        .17744        .25764E-05   -1.1445    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.76363e-13
Minuit parameter uncertainties:
  1  3.39844
  2  1.65679e-05
  3  0.174319
  4  0.177661
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/307052': 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) = 6061.52498871
delta logL = 0.256063585862

Extracting fit parameters...

4FGL J0003.3-1928
   Spectrum: LogParabola
6           norm:  1.748e+00  3.398e+00  1.000e-04  1.000e+04 ( 1.000e-13)
7          alpha:  2.645e-11  1.657e-05  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:  4.475e-01  1.777e-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:  1.397e+00  1.743e-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/307052/cmap_HighResolution_670636801_670896001_4FGL_J0003.3-1928_daily_bin1664.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-05', job_status='DONE', photon_flux_upper_limit='2.51e-08', time_completed='2022-04-06 00:16:31.924221', job_id='307052', GAL2='0.45', fit_tolerance='1e-08', EG2='1.40', EG='1.40', time_epoch_completed='1649229391.92', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.45', dlogl='2.56e-01', ts2='0.51', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1664' AND source_name='4FGL J0003.3-1928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr  6 00:16:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 307052: <4FGL_J0003.3-1928_daily_bin1664> in cluster <slac> Done

Job <4FGL_J0003.3-1928_daily_bin1664> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Apr  6 00:05:04 2022
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr  6 00:05:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr  6 00:05:07 2022
Terminated at Wed Apr  6 00:16:32 2022
Results reported at Wed Apr  6 00:16:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0003.3-1928_daily_bin1664 0.8465 -19.4676 670636801 670896001 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 :                                   578.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             347.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            688 sec.

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

