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


Performing analysis on: 4FGL_J0021.5-2552_daily_bin1666
RA = 5.3912, Dec = -25.8681
tmin = 671155201, tmax = 671414401
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='533324', job_status='RUN', time_executed='2022-04-12 08:34:04.574524', time_epoch_executed='1649777644.57' WHERE source_name='4FGL J0021.5-2552' and cadence='daily' and bin_id='1666'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/533324

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/533324/ft1_4FGL_J0021.5-2552_daily_bin1666.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/533324/ft2_4FGL_J0021.5-2552_daily_bin1666.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/533324/ft1_4FGL_J0021.5-2552_daily_bin1666.fits outfile=/scratch/kocevski/533324/ft1_filteredMKT_4FGL_J0021.5-2552_daily_bin1666.fits ra=5.3912 dec=-25.8681 rad=12.0 tmin=671155201.0 tmax=671414401.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 5.40
user 5.01
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/533324/ft2_4FGL_J0021.5-2552_daily_bin1666.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/533324/ft2_4FGL_J0021.5-2552_daily_bin1666.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/533324/ft1_filteredMKT_4FGL_J0021.5-2552_daily_bin1666.fits evtable="EVENTS" outfile="/scratch/kocevski/533324/ft1_filtered_4FGL_J0021.5-2552_daily_bin1666.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.52
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 572

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/533324/ft1_filtered_4FGL_J0021.5-2552_daily_bin1666.fits" evtable="EVENTS" scfile=/scratch/kocevski/533324/ft2_4FGL_J0021.5-2552_daily_bin1666.fits sctable="SC_DATA" outfile=/scratch/kocevski/533324/ltcube_671155201_671414401_4FGL_J0021.5-2552_daily_bin1666.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/533324/ft2_4FGL_J0021.5-2552_daily_bin1666.fits
.....................!
real 12.16
user 11.71
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/533324/ft1_filtered_4FGL_J0021.5-2552_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/533324/ft2_4FGL_J0021.5-2552_daily_bin1666.fits sctable="SC_DATA" expcube=/scratch/kocevski/533324/ltcube_671155201_671414401_4FGL_J0021.5-2552_daily_bin1666.fits outfile=/scratch/kocevski/533324/expmap_671155201_671414401_4FGL_J0021.5-2552_daily_bin1666.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/533324/ltcube_671155201_671414401_4FGL_J0021.5-2552_daily_bin1666.fits
.....................!
real 191.34
user 185.66
sys 4.50

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

Setting source of interest to:
4FGL J0021.5-2552 @ 5.3912 -25.8681

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/533324/ft1_filtered_4FGL_J0021.5-2552_daily_bin1666.fits scfile=/scratch/kocevski/533324/ft2_4FGL_J0021.5-2552_daily_bin1666.fits outfile=/scratch/kocevski/533324/cmap_671155201_671414401_4FGL_J0021.5-2552_daily_bin1666.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=5.3912 yref=-25.8681 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/533324/ft1_filtered_4FGL_J0021.5-2552_daily_bin1666.fits scfile=/scratch/kocevski/533324/ft2_4FGL_J0021.5-2552_daily_bin1666.fits outfile=/scratch/kocevski/533324/cmap_HighResolution_671155201_671414401_4FGL_J0021.5-2552_daily_bin1666.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=5.3912 yref=-25.8681 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/533324/ft1_filtered_4FGL_J0021.5-2552_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/533324/ft2_4FGL_J0021.5-2552_daily_bin1666.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/533324/Model_4FGL_J0021.5-2552_daily_bin1666.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/533324/ft1_filtered_4FGL_J0021.5-2552_daily_bin1666.fits.....................!
real 51.77
user 48.03
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/533324/ft1_filtered_4FGL_J0021.5-2552_daily_bin1666.fits', '/scratch/kocevski/533324/ft2_4FGL_J0021.5-2552_daily_bin1666.fits', expMap='/scratch/kocevski/533324/expmap_671155201_671414401_4FGL_J0021.5-2552_daily_bin1666.fits', expCube='/scratch/kocevski/533324/ltcube_671155201_671414401_4FGL_J0021.5-2552_daily_bin1666.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/533324/Model_4FGL_J0021.5-2552_daily_bin1666.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0021.5-2552'

4FGL J0021.5-2552
   Spectrum: PowerLaw
75     Prefactor:  4.219e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
76         Index:  2.121e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
77         Scale:  1.302e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/533324/ft1_filtered_4FGL_J0021.5-2552_daily_bin1666.fits
Spacecraft file(s): /scratch/kocevski/533324/ft2_4FGL_J0021.5-2552_daily_bin1666.fits
Exposure map: /scratch/kocevski/533324/expmap_671155201_671414401_4FGL_J0021.5-2552_daily_bin1666.fits
Exposure cube: /scratch/kocevski/533324/ltcube_671155201_671414401_4FGL_J0021.5-2552_daily_bin1666.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/533324/Model_4FGL_J0021.5-2552_daily_bin1666.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) = 6238.38487256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.1206       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.5751       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.2639       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .58041E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    9.7163       1.0000         .10000E-03   10000.    
     7 'norm      '    4.4904       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.6865       1.0000         .10000E-03   10000.    
    10 'norm      '    .90916       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11245E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.256       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11054E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.7352       1.0000         .10000E-03   10000.    
    17 'Prefactor '    37.861       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .92663       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .78631       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6238.337     FROM MIGRAD    STATUS=CONVERGED    393 CALLS     1901 TOTAL
                     EDM=   .68E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.1194        21.796        .33453E-06   -.25006E-05
   2  Prefactor     4.5766        3.3117       -.14715E-06   -.74943E-04
   3  Prefactor     .10000E-03    6.8611       -.70255E-07** at limit **
   4  Prefactor     3.2639        9.2412        .44975E-05    .49169E-04
   5  Prefactor     .10001E-03    13.394        .23263E-05** at limit **
   6  norm          9.7167        8.2418        .21142E-07   -.15783E-04
   7  norm          4.4904        3.6216        .25120E-06    .25079E-04
   8  Prefactor     .10000E-03    42.520       -.60494E-06** at limit **
   9  norm          8.6865        8.1258        .34083E-07    .31619E-05
  10  norm          .90884        1.6795       -.54790E-07   -.34208E-03
  11  Prefactor     .10000E-03    1.6895        .19421E-07** at limit **
  12  Prefactor     .10000E-03    4.6182        .19530E-06** at limit **
  13  Prefactor     22.257        26.296        .10882E-06   -.40886E-05
  14  Prefactor     .10000E-03    44.062        .53541E-06** at limit **
  15  Prefactor     .10000E-03    27.938       -.41283E-06** at limit **
  16  Prefactor     5.7368        4.8804       -.15376E-06   -.52794E-04
  17  Prefactor     37.842        35.130        .23058E-05   -.32652E-04
  18  Normalizat    .92649        .13579        .37011E-07   -.72974E-06
  19  Prefactor     .78645        .15523       -.77595E-06   -.83514E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.11942
  Prefactor  = 4.57659
  Prefactor  = 0.0001
  Prefactor  = 3.26385
  Prefactor  = 0.000100013
  norm       = 9.71674
  norm       = 4.4904
  Prefactor  = 0.0001
  norm       = 8.68649
  norm       = 0.908837
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.2566
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.73681
  Prefactor  = 37.8422
  Normalizat = 0.926486
  Prefactor  = 0.786451
 **********
 **   18 **HESSE 
 **********

 FCN=   6238.337     FROM HESSE     STATUS=OK           278 CALLS     2179 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.1194        21.796        .13271E-03   -1.5104    
   2  Prefactor     4.5766        3.3099        .11427E-03   -1.5280    
   3  Prefactor     .10000E-03    6.8684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.2639        9.3569        .11208E-02   -1.5347    
   5  Prefactor     .10001E-03    50.302        .52776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.7167        8.2388        .12856E-03   -1.5084    
   7  norm          4.4904        3.6192        .65254E-03   -1.5284    
   8  Prefactor     .10000E-03    42.580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.6865        8.1272        .13600E-03   -1.5118    
  10  norm          .90884        1.3361        .13562E-02   -1.5517    
  11  Prefactor     .10000E-03    1.6994        .10024E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.902        .33023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.257        26.295        .84904E-04   -1.4764    
  14  Prefactor     .10000E-03    44.127        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    28.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.7368        4.8789        .15016E-03   -1.5229    
  17  Prefactor     37.842        35.125        .65137E-04   -1.4477    
  18  Normalizat    .92649        .15988        .20117E-03   -.95536    
  19  Prefactor     .78645        .18128        .24986E-03   -1.0023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09401e-10
Minuit parameter uncertainties:
  1  21.8154
  2  3.31006
  3  8.86957e-06
  4  9.36111
  5  0.00159494
  6  8.23975
  7  3.61942
  8  3.66743e-05
  9  8.12825
  10  1.33611
  11  1.1591e-06
  12  2.14634e-05
  13  26.3089
  14  2.71414e-05
  15  0.00014445
  16  4.87923
  17  35.1443
  18  0.159958
  19  0.18142
Done.

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

Extracting fit parameters...

4FGL J0021.5-2552
   Spectrum: PowerLaw
75     Prefactor:  3.264e+00  9.361e+00  1.000e-04  1.000e+04 ( 1.000e-13)
76         Index:  2.121e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
77         Scale:  1.302e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  7.865e-01  1.814e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  9.265e-01  1.600e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 5.391 -25.868
Photon Flux Upper Limit: 5.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/533324/likelihoodResults_671155201_671414401_4FGL_J0021.5-2552_daily_bin1666.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) = 6238.15805212
delta logL = 0.178832738913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6238.11551475
delta logL = 0.221370104855

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2742       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2082       1.0000          .0000       10.000    
     3 'Normalizat'    .90621       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80015       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6238.116     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      244 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2718        42.431        .98450E-02    .88678E-03
   2  Index         3.2094        3.4966        .14624        .11781E-03
   3  Normalizat    .90616        .30601E-01    .44981E-01    .58446E-05
   4  Prefactor     .80024        .34825E-01    .43719E-01    .17942E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.27177
  Index      = 3.20935
  Normalizat = 0.906159
  Prefactor  = 0.800238
 **********
 **   18 **HESSE 
 **********

 FCN=   6238.116     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      277 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2718        126.76        .12251E-03   -1.5482    
   2  Index         3.2094        5.5706        .79505E-02   -.36626    
   3  Normalizat    .90616        .15294        .20315E-03   -.96244    
   4  Prefactor     .80024        .17210        .24788E-03   -.99720    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.05025e-06
Minuit parameter uncertainties:
  1  25.4487
  2  10.0313
  3  0.153009
  4  0.172216
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/533324': 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): 102
logL (Free Index) = 6238.11551452
delta logL = 0.221370339413

Extracting fit parameters...

4FGL J0021.5-2552
   Spectrum: PowerLaw
75     Prefactor:  1.272e+00  2.545e+01  1.000e-04  1.000e+04 ( 1.000e-13)
76         Index:  3.209e+00  1.003e+01  0.000e+00  1.000e+01 (-1.000e+00)
77         Scale:  1.302e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  8.002e-01  1.722e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  9.062e-01  1.530e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
Ra Dec: 5.391 -25.868

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/533324/cmap_HighResolution_671155201_671414401_4FGL_J0021.5-2552_daily_bin1666.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.21e-03', job_status='DONE', photon_flux_upper_limit='5.56e-08', time_completed='2022-04-12 08:44:08.703643', job_id='533324', GAL2='0.80', fit_tolerance='1e-08', EG2='0.91', EG='0.93', time_epoch_completed='1649778248.7', return_code2='102', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='2.21e-01', ts2='0.59', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1666' AND source_name='4FGL J0021.5-2552' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Apr 12 08:44:08 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 533324: <4FGL_J0021.5-2552_daily_bin1666> in cluster <slac> Done

Job <4FGL_J0021.5-2552_daily_bin1666> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 12 08:30:12 2022
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 08:30:12 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 08:30:12 2022
Terminated at Tue Apr 12 08:44:09 2022
Results reported at Tue Apr 12 08:44:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0021.5-2552_daily_bin1666 5.3912 -25.8681 671155201 671414401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0021.5-2552 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   588.34 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             263.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            837 sec.

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

