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


Performing analysis on: 4FGL_J0453.3+2843_monthly_bin169
RA = 73.334, Dec = 28.7304
tmin = 675043201, tmax = 677635201
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='161290', job_status='RUN', time_executed='2022-06-23 01:57:08.457526', time_epoch_executed='1655974628.46' WHERE source_name='4FGL J0453.3+2843' and cadence='monthly' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/161290

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/161290/ft1_4FGL_J0453.3+2843_monthly_bin169.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/161290/ft2_4FGL_J0453.3+2843_monthly_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/161290/ft1_4FGL_J0453.3+2843_monthly_bin169.fits outfile=/scratch/kocevski/161290/ft1_filteredMKT_4FGL_J0453.3+2843_monthly_bin169.fits ra=73.334 dec=28.7304 rad=12.0 tmin=675043201.0 tmax=677635201.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 28.05
user 27.13
sys 0.73

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

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

Number of photons that the gtmktime cut: 13531

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/161290/ft1_filtered_4FGL_J0453.3+2843_monthly_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/161290/ft2_4FGL_J0453.3+2843_monthly_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/161290/ltcube_675043201_677635201_4FGL_J0453.3+2843_monthly_bin169.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/161290/ft2_4FGL_J0453.3+2843_monthly_bin169.fits
.....................!
real 144.69
user 144.05
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/161290/ft1_filtered_4FGL_J0453.3+2843_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/161290/ft2_4FGL_J0453.3+2843_monthly_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/161290/ltcube_675043201_677635201_4FGL_J0453.3+2843_monthly_bin169.fits outfile=/scratch/kocevski/161290/expmap_675043201_677635201_4FGL_J0453.3+2843_monthly_bin169.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/161290/ltcube_675043201_677635201_4FGL_J0453.3+2843_monthly_bin169.fits
.....................!
real 193.97
user 188.40
sys 5.16

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/161290/ft1_filtered_4FGL_J0453.3+2843_monthly_bin169.fits scfile=/scratch/kocevski/161290/ft2_4FGL_J0453.3+2843_monthly_bin169.fits outfile=/scratch/kocevski/161290/cmap_675043201_677635201_4FGL_J0453.3+2843_monthly_bin169.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.83
user 0.63
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/161290/ft1_filtered_4FGL_J0453.3+2843_monthly_bin169.fits scfile=/scratch/kocevski/161290/ft2_4FGL_J0453.3+2843_monthly_bin169.fits outfile=/scratch/kocevski/161290/cmap_HighResolution_675043201_677635201_4FGL_J0453.3+2843_monthly_bin169.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.82
user 0.65
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/161290/ft1_filtered_4FGL_J0453.3+2843_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/161290/ft2_4FGL_J0453.3+2843_monthly_bin169.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/161290/Model_4FGL_J0453.3+2843_monthly_bin169.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/161290/ft1_filtered_4FGL_J0453.3+2843_monthly_bin169.fits.....................!
real 3604.83
user 3597.10
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/161290/ft1_filtered_4FGL_J0453.3+2843_monthly_bin169.fits', '/scratch/kocevski/161290/ft2_4FGL_J0453.3+2843_monthly_bin169.fits', expMap='/scratch/kocevski/161290/expmap_675043201_677635201_4FGL_J0453.3+2843_monthly_bin169.fits', expCube='/scratch/kocevski/161290/ltcube_675043201_677635201_4FGL_J0453.3+2843_monthly_bin169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/161290/Model_4FGL_J0453.3+2843_monthly_bin169.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/161290/ft1_filtered_4FGL_J0453.3+2843_monthly_bin169.fits
Spacecraft file(s): /scratch/kocevski/161290/ft2_4FGL_J0453.3+2843_monthly_bin169.fits
Exposure map: /scratch/kocevski/161290/expmap_675043201_677635201_4FGL_J0453.3+2843_monthly_bin169.fits
Exposure cube: /scratch/kocevski/161290/ltcube_675043201_677635201_4FGL_J0453.3+2843_monthly_bin169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/161290/Model_4FGL_J0453.3+2843_monthly_bin169.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) = 134589.886896

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5621       1.0000         .10000E-03   10000.    
     2 'Prefactor '    44.753       1.0000         .10000E-03   10000.    
     3 'norm      '    7.3208       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.9900       1.0000         .10000E-03   10000.    
     5 'norm      '    30.188       1.0000         .10000E-03   10000.    
     6 'norm      '    .10893E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.5294       1.0000         .10000E-03   10000.    
     8 'norm      '    2.1448       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.659       1.0000         .10000E-03   10000.    
    10 'norm      '    4.6746       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1610       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.0952       1.0000         .10000E-03   10000.    
    13 'norm      '    7.0975       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.5963       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3013       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0488       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=   134589.8     FROM MIGRAD    STATUS=CONVERGED    303 CALLS     1518 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5624        2.0532       -.97642E-07   -.21268E-03
   2  Prefactor     44.754        19.721        .34125E-06   -.46085E-05
   3  norm          7.3208        4.0679       -.59016E-06   -.36803E-04
   4  Prefactor     1.9901        1.5024       -.67813E-07   -.31841E-02
   5  norm          30.173        22.966       -.14397E-04   -.28162E-03
   6  norm          .10003E-03    2.9014        .19780E-05** at limit **
   7  norm          2.5295        1.8999       -.18747E-06   -.18362E-03
   8  norm          2.1448        1.3951        .11610E-06   -.34227E-02
   9  Prefactor     22.657        15.884       -.77392E-06   -.74155E-04
  10  norm          4.6745        1.3007       -.11125E-06   -.30843E-02
  11  Prefactor     1.1603        14.137        .10599E-04   -.68452E-04
  12  Prefactor     1.0952        .72822E-01   -.97820E-08   -.11492E-01
  13  norm          7.0970        1.6066        .26707E-08   -.23264E-02
  14  Prefactor     3.5961        .59505       -.46768E-07   -.33159E-02
  15  Normalizat    1.3012        .14853        .64955E-06   -.33091E-03
  16  Prefactor     1.0488        .18830E-01    .64666E-07   -.32547E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.56238
  Prefactor  = 44.754
  norm       = 7.32083
  Prefactor  = 1.99012
  norm       = 30.1735
  norm       = 0.000100025
  norm       = 2.52949
  norm       = 2.14481
  Prefactor  = 22.6574
  norm       = 4.67452
  Prefactor  = 1.1603
  Prefactor  = 1.09523
  norm       = 7.09695
  Prefactor  = 3.5961
  Normalizat = 1.30124
  Prefactor  = 1.04882
 **********
 **   18 **HESSE 
 **********

 FCN=   134589.8     FROM HESSE     STATUS=OK           221 CALLS     1739 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5624        2.0487        .25504E-03   -1.5388    
   2  Prefactor     44.754        19.719        .59931E-04   -1.4369    
   3  norm          7.3208        4.0664        .14824E-03   -1.5167    
   4  Prefactor     1.9901        2.3533        .14685E-02   -1.5426    
   5  norm          30.173        23.340        .72923E-04   -1.4609    
   6  norm          .10003E-03    2.7283        .20080       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.5295        1.8947        .25683E-03   -1.5390    
   8  norm          2.1448        1.6891        .14070E-02   -1.5415    
   9  Prefactor     22.657        15.887        .84147E-04   -1.4756    
  10  norm          4.6745        1.3283        .93066E-03   -1.5276    
  11  Prefactor     1.1603        14.206        .42756E-03   -1.5493    
  12  Prefactor     1.0952        .80886E-01    .18298E-04   -1.5499    
  13  norm          7.0970        1.7446        .75287E-03   -1.5175    
  14  Prefactor     3.5961        .62734        .90599E-04   -1.5329    
  15  Normalizat    1.3012        .15049        .93684E-03   -.83529    
  16  Prefactor     1.0488        .19542E-01    .13318E-03   -.91120    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.65147e-09
Minuit parameter uncertainties:
  1  2.04878
  2  19.7215
  3  4.0666
  4  2.35344
  5  23.3468
  6  0.000523724
  7  1.89477
  8  1.68913
  9  15.8902
  10  1.32829
  11  8.12198
  12  0.0808863
  13  1.74462
  14  0.627345
  15  0.150544
  16  0.0195425
Done.

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

Extracting fit parameters...

4FGL J0453.3+2843
   Spectrum: LogParabola
240         norm:  3.017e+01  2.335e+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:  1.049e+00  1.954e-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.301e+00  1.505e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.08
Ra Dec: 73.334 28.730
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 2.72e-08 +/- 2.10e-08
Energy Flux (Fixed Index): 1.11e-05 +/- 8.61e-06

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

Saving results to:
/scratch/kocevski/161290/likelihoodResults_675043201_677635201_4FGL_J0453.3+2843_monthly_bin169.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) = 134585.775405
delta logL = 4.05150488461

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 134585.740142
delta logL = 4.08676778604

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7847       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1600       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0584       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   134585.7     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      398 TOTAL
                     EDM=   .29E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7851        .69065        .15283E-03   -.52370E-04
   2  alpha         5.0000        .18559        .50000    ** at limit **
   3  Normalizat    1.1599        .15468        .98405E-03   -.85030E-05
   4  Prefactor     1.0584        .19364E-01    .13261E-03   -.82298E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.78511
  alpha      = 5
  Normalizat = 1.15991
  Prefactor  = 1.05838
 **********
 **   18 **HESSE 
 **********

 FCN=   134585.7     FROM HESSE     STATUS=OK            29 CALLS      427 TOTAL
                     EDM=   .37E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7851        .68648        .61130E-05   -1.5441    
   2  alpha         5.0000        .18347        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1599        .15469        .39362E-04   -.87851    
   4  Prefactor     1.0584        .19362E-01    .53046E-05   -.90808    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65337e-13
Minuit parameter uncertainties:
  1  0.686487
  2  4.0182e-07
  3  0.154753
  4  0.0193619
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/161290': 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) = 134585.740142
delta logL = 4.08676804873

Extracting fit parameters...

4FGL J0453.3+2843
   Spectrum: LogParabola
240         norm:  1.785e+00  6.865e-01  1.000e-04  1.000e+04 ( 1.000e-13)
241        alpha:  5.000e+00  4.018e-07  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:  1.058e+00  1.936e-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.160e+00  1.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.14
Ra Dec: 73.334 28.730
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.63e-07 +/- 6.25e-08
Energy Flux (Free Index): 2.40e-05 +/- 9.21e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/161290/cmap_HighResolution_675043201_677635201_4FGL_J0453.3+2843_monthly_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.73e-05', comment='SUCCESS', photon_flux='2.72e-08', energy_flux2='2.40e-05', photon_flux_error='2.10e-08', dlogl='4.09e+00', energy_flux='1.11e-05', photon_flux2='1.63e-07', job_status='DONE', time_completed='2022-06-23 04:21:32.957786', photon_index_error2='0.00', photon_index2='5.00', ts='2.08', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='6.69e-08', energy_flux_error2='9.21e-06', EG='1.30', time_epoch_completed='1655983292.96', return_code='0', job_id='161290', GAL2='1.06', EG2='1.16', return_code2='0', energy_flux_error='8.61e-06', photon_flux_error2='6.25e-08', ts2='11.14', photon_index='2.39' WHERE bin_id='169' AND source_name='4FGL J0453.3+2843' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jun 23 04:21:32 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 161290: <4FGL_J0453.3+2843_monthly_bin169> in cluster <slac> Done

Job <4FGL_J0453.3+2843_monthly_bin169> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jun 23 01:20:41 2022
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 01:55:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 01:55:32 2022
Terminated at Thu Jun 23 04:21:34 2022
Results reported at Thu Jun 23 04:21:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0453.3+2843_monthly_bin169 73.334 28.7304 675043201 677635201 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 :                                   8640.00 sec.
    Max Memory :                                 1100 MB
    Average Memory :                             525.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   8761 sec.
    Turnaround time :                            10853 sec.

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

