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


Performing analysis on: 4FGL_J0453.3+2843_monthly_bin167
RA = 73.334, Dec = 28.7304
tmin = 669859201, tmax = 672451201
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='878985', job_status='RUN', time_executed='2022-04-24 01:05:46.232429', time_epoch_executed='1650787546.23' WHERE source_name='4FGL J0453.3+2843' and cadence='monthly' and bin_id='167'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/878985

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/878985/ft1_4FGL_J0453.3+2843_monthly_bin167.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/878985/ft2_4FGL_J0453.3+2843_monthly_bin167.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/878985/ft1_4FGL_J0453.3+2843_monthly_bin167.fits outfile=/scratch/kocevski/878985/ft1_filteredMKT_4FGL_J0453.3+2843_monthly_bin167.fits ra=73.334 dec=28.7304 rad=12.0 tmin=669859201.0 tmax=672451201.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 37.97
user 36.69
sys 1.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/878985/ft2_4FGL_J0453.3+2843_monthly_bin167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/878985/ft2_4FGL_J0453.3+2843_monthly_bin167.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/878985/ft1_filteredMKT_4FGL_J0453.3+2843_monthly_bin167.fits evtable="EVENTS" outfile="/scratch/kocevski/878985/ft1_filtered_4FGL_J0453.3+2843_monthly_bin167.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.86
user 0.67
sys 0.18

Number of photons that the gtmktime cut: 25340

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/878985/ft1_filtered_4FGL_J0453.3+2843_monthly_bin167.fits" evtable="EVENTS" scfile=/scratch/kocevski/878985/ft2_4FGL_J0453.3+2843_monthly_bin167.fits sctable="SC_DATA" outfile=/scratch/kocevski/878985/ltcube_669859201_672451201_4FGL_J0453.3+2843_monthly_bin167.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/878985/ft2_4FGL_J0453.3+2843_monthly_bin167.fits
.....................!
real 118.52
user 117.78
sys 0.50

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/878985/ft1_filtered_4FGL_J0453.3+2843_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/878985/ft2_4FGL_J0453.3+2843_monthly_bin167.fits sctable="SC_DATA" expcube=/scratch/kocevski/878985/ltcube_669859201_672451201_4FGL_J0453.3+2843_monthly_bin167.fits outfile=/scratch/kocevski/878985/expmap_669859201_672451201_4FGL_J0453.3+2843_monthly_bin167.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/878985/ltcube_669859201_672451201_4FGL_J0453.3+2843_monthly_bin167.fits
.....................!
real 192.83
user 187.19
sys 5.29

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template.
Extended source HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HB9.fits is the correct path to the extended template.
Extended source IC 443 in ROI with RadialGaussian spatial model.
Added 161 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0453.3+2843 @ 73.334 28.7304

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/878985/ft1_filtered_4FGL_J0453.3+2843_monthly_bin167.fits scfile=/scratch/kocevski/878985/ft2_4FGL_J0453.3+2843_monthly_bin167.fits outfile=/scratch/kocevski/878985/cmap_669859201_672451201_4FGL_J0453.3+2843_monthly_bin167.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=73.334 yref=28.7304 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.82
user 0.65
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/878985/ft1_filtered_4FGL_J0453.3+2843_monthly_bin167.fits scfile=/scratch/kocevski/878985/ft2_4FGL_J0453.3+2843_monthly_bin167.fits outfile=/scratch/kocevski/878985/cmap_HighResolution_669859201_672451201_4FGL_J0453.3+2843_monthly_bin167.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=73.334 yref=28.7304 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.86
user 0.69
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/878985/ft1_filtered_4FGL_J0453.3+2843_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/878985/ft2_4FGL_J0453.3+2843_monthly_bin167.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/878985/Model_4FGL_J0453.3+2843_monthly_bin167.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
adding source HB 9
adding source IC 443
adding source S 147
Working on...
/scratch/kocevski/878985/ft1_filtered_4FGL_J0453.3+2843_monthly_bin167.fits....................!
real 6464.94
user 6450.82
sys 2.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/878985/ft1_filtered_4FGL_J0453.3+2843_monthly_bin167.fits', '/scratch/kocevski/878985/ft2_4FGL_J0453.3+2843_monthly_bin167.fits', expMap='/scratch/kocevski/878985/expmap_669859201_672451201_4FGL_J0453.3+2843_monthly_bin167.fits', expCube='/scratch/kocevski/878985/ltcube_669859201_672451201_4FGL_J0453.3+2843_monthly_bin167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/878985/Model_4FGL_J0453.3+2843_monthly_bin167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0453.3+2843'

4FGL J0453.3+2843
   Spectrum: LogParabola
240         norm:  7.062e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
241        alpha:  2.393e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
242         beta:  2.763e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
243           Eb:  1.036e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/878985/ft1_filtered_4FGL_J0453.3+2843_monthly_bin167.fits
Spacecraft file(s): /scratch/kocevski/878985/ft2_4FGL_J0453.3+2843_monthly_bin167.fits
Exposure map: /scratch/kocevski/878985/expmap_669859201_672451201_4FGL_J0453.3+2843_monthly_bin167.fits
Exposure cube: /scratch/kocevski/878985/ltcube_669859201_672451201_4FGL_J0453.3+2843_monthly_bin167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/878985/Model_4FGL_J0453.3+2843_monthly_bin167.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) = 246389.508171

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11624E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10946E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .19733E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    11.488       1.0000         .10000E-03   10000.    
     6 'norm      '    2.4915       1.0000         .10000E-03   10000.    
     7 'norm      '    .33745       1.0000         .10000E-03   10000.    
     8 'norm      '    .73934       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .15668E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.5446       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.0015       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.1992       1.0000         .10000E-03   10000.    
    13 'norm      '    7.1340       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.9743       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3663       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .98154       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   246388.9     FROM MIGRAD    STATUS=CONVERGED    322 CALLS     1327 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .14655        .48881E-07** at limit **
   2  Prefactor     .10000E-03    3.0592       -.39697E-06** at limit **
   3  norm          .10000E-03    1.2103       -.79626E-07** at limit **
   4  Prefactor     .10000E-03    .21721        .21507E-07** at limit **
   5  norm          11.496        10.765        .12592E-04    .16080E-04
   6  norm          2.5056        4.6207       -.15712E-05   -.12663E-03
   7  norm          .33645        .49800       -.26175E-07    .42739E-03
   8  norm          .73765        .96229E-01   -.51971E-08   -.15219E-02
   9  Prefactor     .10000E-03    4.7314        .50650E-06** at limit **
  10  norm          6.5449        .88026        .43009E-08   -.26051E-04
  11  Prefactor     2.9831        3.9950        .18012E-06   -.56848E-04
  12  Prefactor     1.1992        .51160E-01    .11603E-09   -.69290E-03
  13  norm          7.1344        1.2549       -.33383E-08   -.17319E-04
  14  Prefactor     1.9742        .36324        .59337E-08   -.40429E-04
  15  Normalizat    1.3663        .10413       -.28086E-06   -.16518E-03
  16  Prefactor     .98155        .12931E-01   -.77498E-07    .12648E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 11.4965
  norm       = 2.50561
  norm       = 0.336447
  norm       = 0.737652
  Prefactor  = 0.0001
  norm       = 6.54488
  Prefactor  = 2.9831
  Prefactor  = 1.19923
  norm       = 7.13437
  Prefactor  = 1.97424
  Normalizat = 1.36626
  Prefactor  = 0.981545
 **********
 **   18 **HESSE 
 **********

 FCN=   246388.9     FROM HESSE     STATUS=OK           217 CALLS     1544 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.8354        .36601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.0697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.2394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.0410        .44473E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          11.496        10.765        .11820E-03   -1.5030    
   6  norm          2.5056        4.6075        .25895E-03   -1.5391    
   7  norm          .33645        1.1838        .40649E-02   -1.5592    
   8  norm          .73765        1.2529        .24424E-02   -1.5536    
   9  Prefactor     .10000E-03    4.7748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.5449        .87978        .15687E-03   -1.5196    
  11  Prefactor     2.9831        3.9915        .11714E-02   -1.5363    
  12  Prefactor     1.1992        .57341E-01    .15543E-04   -1.5489    
  13  norm          7.1344        1.3745        .15018E-03   -1.5174    
  14  Prefactor     1.9742        .38191        .97427E-04   -1.5427    
  15  Normalizat    1.3663        .10650        .88019E-03   -.81609    
  16  Prefactor     .98155        .13568E-01    .12852E-03   -.93347    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29802e-07
Minuit parameter uncertainties:
  1  1.47593e-05
  2  1.68392e-06
  3  3.33773e-07
  4  1.78718e-06
  5  10.767
  6  4.6082
  7  1.18383
  8  1.25293
  9  6.00313e-07
  10  0.87978
  11  3.99188
  12  0.0573415
  13  1.37455
  14  0.381914
  15  0.106515
  16  0.0135679
Done.

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

Extracting fit parameters...

4FGL J0453.3+2843
   Spectrum: LogParabola
240         norm:  1.150e+01  1.077e+01  1.000e-04  1.000e+04 ( 1.000e-13)
241        alpha:  2.393e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
242         beta:  2.763e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
243           Eb:  1.036e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.815e-01  1.357e-02  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.366e+00  1.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.50
Ra Dec: 73.334 28.730
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 1.04e-08 +/- 9.71e-09
Energy Flux (Fixed Index): 4.24e-06 +/- 3.97e-06

TS (Fixed Index): 1.50
Ra Dec: 73.334 28.730
Photon Flux Upper Limit: 3.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.24e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/878985/likelihoodResults_669859201_672451201_4FGL_J0453.3+2843_monthly_bin167.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) = 246388.93647
delta logL = 0.00987442041514

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 246388.935967
delta logL = 0.010377592931

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.755       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2711       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3673       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98152       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+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=   246388.9     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      282 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.755        11.983        .11684E-03   -.12454E-04
   2  alpha         2.2711        .88060        .13064        .32573E-04
   3  Normalizat    1.3673        .10501        .87991E-03    .33903E-04
   4  Prefactor     .98152        .13412E-01    .12852E-03    .26041E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.755
  alpha      = 2.2711
  Normalizat = 1.36734
  Prefactor  = 0.981521
 **********
 **   18 **HESSE 
 **********

 FCN=   246388.9     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .78E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.755        11.051        .46737E-05   -1.5022    
   2  alpha         2.2711        .82950        .52256E-02   -.91686E-01
   3  Normalizat    1.3673        .10478        .35196E-04   -.81578    
   4  Prefactor     .98152        .13409E-01    .51410E-05   -.93348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.83526e-13
Minuit parameter uncertainties:
  1  11.053
  2  0.845673
  3  0.104801
  4  0.0134087
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/878985': 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) = 246388.935967
delta logL = 0.0103775975876

Extracting fit parameters...

4FGL J0453.3+2843
   Spectrum: LogParabola
240         norm:  1.176e+01  1.105e+01  1.000e-04  1.000e+04 ( 1.000e-13)
241        alpha:  2.271e+00  8.457e-01  0.000e+00  5.000e+00 ( 1.000e+00)
242         beta:  2.763e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
243           Eb:  1.036e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.815e-01  1.341e-02  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.367e+00  1.048e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.52
Ra Dec: 73.334 28.730
Photon Index (Free Index): 2.27 +/- 0.85
Photon Flux (Free Index): 9.05e-09 +/- 1.24e-08
Energy Flux (Free Index): 4.16e-06 +/- 3.96e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /scratch/kocevski/878985/cmap_HighResolution_669859201_672451201_4FGL_J0453.3+2843_monthly_bin167.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-05', comment='SUCCESS', photon_flux='1.04e-08', energy_flux2='4.16e-06', photon_flux_error='9.71e-09', dlogl='1.04e-02', energy_flux='4.24e-06', photon_flux2='9.05e-09', job_status='DONE', time_completed='2022-04-24 05:06:07.666195', photon_index_error2='0.85', photon_index2='2.27', ts='1.50', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='3.03e-08', energy_flux_error2='3.96e-06', EG='1.37', time_epoch_completed='1650801967.67', return_code='0', job_id='878985', GAL2='0.98', EG2='1.37', return_code2='0', energy_flux_error='3.97e-06', photon_flux_error2='1.24e-08', ts2='1.52', photon_index='2.39' WHERE bin_id='167' AND source_name='4FGL J0453.3+2843' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sun Apr 24 05:06:07 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 878985: <4FGL_J0453.3+2843_monthly_bin167> in cluster <slac> Done

Job <4FGL_J0453.3+2843_monthly_bin167> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Apr 24 00:55:39 2022
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 01:01:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 01:01:49 2022
Terminated at Sun Apr 24 05:06:09 2022
Results reported at Sun Apr 24 05:06:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0453.3+2843_monthly_bin167 73.334 28.7304 669859201 672451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0453.3+2843 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   14363.00 sec.
    Max Memory :                                 674 MB
    Average Memory :                             620.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   14659 sec.
    Turnaround time :                            15030 sec.

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

