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


Performing analysis on: 4FGL_J0534.5+2200_daily_bin1674
RA = 83.6367, Dec = 22.0149
tmin = 673228801, tmax = 673488001
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='669099', job_status='RUN', time_executed='2022-05-06 02:44:21.471080', time_epoch_executed='1651830261.47' WHERE source_name='4FGL J0534.5+2200' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/669099

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/669099/ft1_4FGL_J0534.5+2200_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/669099/ft2_4FGL_J0534.5+2200_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/669099/ft1_4FGL_J0534.5+2200_daily_bin1674.fits outfile=/scratch/kocevski/669099/ft1_filteredMKT_4FGL_J0534.5+2200_daily_bin1674.fits ra=83.6367 dec=22.0149 rad=12.0 tmin=673228801.0 tmax=673488001.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 2.81
user 2.59
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/669099/ft2_4FGL_J0534.5+2200_daily_bin1674.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/669099/ft2_4FGL_J0534.5+2200_daily_bin1674.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/669099/ft1_filteredMKT_4FGL_J0534.5+2200_daily_bin1674.fits evtable="EVENTS" outfile="/scratch/kocevski/669099/ft1_filtered_4FGL_J0534.5+2200_daily_bin1674.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.36
sys 0.15

Number of photons that the gtmktime cut: 2715

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/669099/ft1_filtered_4FGL_J0534.5+2200_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/669099/ft2_4FGL_J0534.5+2200_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/669099/ltcube_673228801_673488001_4FGL_J0534.5+2200_daily_bin1674.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/669099/ft2_4FGL_J0534.5+2200_daily_bin1674.fits
.....................!
real 15.74
user 15.30
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/669099/ft1_filtered_4FGL_J0534.5+2200_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/669099/ft2_4FGL_J0534.5+2200_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/669099/ltcube_673228801_673488001_4FGL_J0534.5+2200_daily_bin1674.fits outfile=/scratch/kocevski/669099/expmap_673228801_673488001_4FGL_J0534.5+2200_daily_bin1674.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/669099/ltcube_673228801_673488001_4FGL_J0534.5+2200_daily_bin1674.fits
.....................!
real 192.11
user 186.52
sys 4.91

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 IC 443 in ROI with RadialGaussian spatial model.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 168 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 J0534.5+2200 @ 83.6367 22.0149

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/669099/ft1_filtered_4FGL_J0534.5+2200_daily_bin1674.fits scfile=/scratch/kocevski/669099/ft2_4FGL_J0534.5+2200_daily_bin1674.fits outfile=/scratch/kocevski/669099/cmap_673228801_673488001_4FGL_J0534.5+2200_daily_bin1674.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=83.6367 yref=22.0149 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.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/669099/ft1_filtered_4FGL_J0534.5+2200_daily_bin1674.fits scfile=/scratch/kocevski/669099/ft2_4FGL_J0534.5+2200_daily_bin1674.fits outfile=/scratch/kocevski/669099/cmap_HighResolution_673228801_673488001_4FGL_J0534.5+2200_daily_bin1674.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=83.6367 yref=22.0149 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.59
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/669099/ft1_filtered_4FGL_J0534.5+2200_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/669099/ft2_4FGL_J0534.5+2200_daily_bin1674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/669099/Model_4FGL_J0534.5+2200_daily_bin1674.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 IC 443
adding source Monoceros
adding source S 147
Working on...
/scratch/kocevski/669099/ft1_filtered_4FGL_J0534.5+2200_daily_bin1674.fits.....................!
real 594.20
user 591.48
sys 1.62

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/669099/ft1_filtered_4FGL_J0534.5+2200_daily_bin1674.fits', '/scratch/kocevski/669099/ft2_4FGL_J0534.5+2200_daily_bin1674.fits', expMap='/scratch/kocevski/669099/expmap_673228801_673488001_4FGL_J0534.5+2200_daily_bin1674.fits', expCube='/scratch/kocevski/669099/ltcube_673228801_673488001_4FGL_J0534.5+2200_daily_bin1674.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/669099/Model_4FGL_J0534.5+2200_daily_bin1674.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0534.5+2200'

4FGL J0534.5+2200
   Spectrum: PLSuperExpCutoff2
250    Prefactor:  1.416e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-10)
251       Index1:  1.883e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
252        Scale:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
253    Expfactor:  4.435e+00  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
254       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/669099/ft1_filtered_4FGL_J0534.5+2200_daily_bin1674.fits
Spacecraft file(s): /scratch/kocevski/669099/ft2_4FGL_J0534.5+2200_daily_bin1674.fits
Exposure map: /scratch/kocevski/669099/expmap_673228801_673488001_4FGL_J0534.5+2200_daily_bin1674.fits
Exposure cube: /scratch/kocevski/669099/ltcube_673228801_673488001_4FGL_J0534.5+2200_daily_bin1674.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/669099/Model_4FGL_J0534.5+2200_daily_bin1674.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) = 26327.93271

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    56.382       1.0000         .10000E-03   10000.    
     2 'norm      '    .10141E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.8031       1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.960       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.447       1.0000         .10000E-03   10000.    
     8 'norm      '    1.0401       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.3894       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.0937       1.0000         .10000E-03   10000.    
    12 'norm      '    4.2114       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.6259       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0976       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.5780       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12106E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12517E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.6164       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .94480       1.0000          .0000       10.000    
    21 'norm      '    1.7039       1.0000         .10000E-03   10000.    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26327.91     FROM MIGRAD    STATUS=CONVERGED    457 CALLS     2230 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          56.353        92.157        .28093E-05   -.18439E-04
   2  norm          .10000E-03    54.241       -.14713E-05** at limit **
   3  Prefactor     .10000E-03    3.0292        .89123E-08** at limit **
   4  norm          .10000E-03    7.4992        .88442E-06** at limit **
   5  Prefactor     2.8043        6.7694        .33080E-05    .53946E-03
   6  Prefactor     15.951        38.801        .74949E-06   -.15779E-04
   7  Prefactor     10.503        236.74       -.28035E-04   -.53992E-04
   8  norm          1.0404        2.8553        .12670E-05    .32627E-04
   9  Prefactor     3.3902        10.094       -.29145E-07   -.90138E-05
  10  norm          .10000E-03    2.3511        .18522E-06** at limit **
  11  Prefactor     1.0937        .16901       -.19246E-06    .59105E-03
  12  norm          4.2127        4.2868        .32968E-05   -.10152E-02
  13  Prefactor     3.6263        1.1314        .43455E-06   -.41584E-03
  14  Prefactor     .10000E-03    5.6932        .59581E-07** at limit **
  15  Prefactor     3.0977        4.2120        .30950E-06    .46605E-04
  16  Prefactor     5.5686        8.9063       -.68221E-07   -.31177E-04
  17  Prefactor     .10000E-03    101.81       -.12664E-05** at limit **
  18  Prefactor     .10000E-03    107.22        .11308E-05** at limit **
  19  Normalizat    1.6162        .42435       -.15130E-05   -.74636E-04
  20  Prefactor     .94481        .42376E-01    .19960E-06    .10669E-03
  21  norm          1.7038        .49845       -.44652E-08   -.30164E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 56.3529
  norm       = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 2.80427
  Prefactor  = 15.9508
  Prefactor  = 10.5031
  norm       = 1.04043
  Prefactor  = 3.39024
  norm       = 0.0001
  Prefactor  = 1.09365
  norm       = 4.21271
  Prefactor  = 3.62629
  Prefactor  = 0.0001
  Prefactor  = 3.09767
  Prefactor  = 5.56864
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.61625
  Prefactor  = 0.944815
  norm       = 1.70381
 **********
 **   18 **HESSE 
 **********

 FCN=   26327.91     FROM HESSE     STATUS=OK           319 CALLS     2549 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          56.353        91.760        .53424E-04   -1.4205    
   2  norm          .10000E-03    54.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.0307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    7.7377        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.8043        6.8769        .24298E-03   -1.5373    
   6  Prefactor     15.951        38.763        .10025E-03   -1.4909    
   7  Prefactor     10.503        242.47        .12396E-03   -1.5060    
   8  norm          1.0404        2.8649        .43654E-03   -1.5504    
   9  Prefactor     3.3902        10.062        .21977E-03   -1.5340    
  10  norm          .10000E-03    2.3709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.0937        .17371        .15033E-04   -1.5499    
  12  norm          4.2127        4.3485        .98184E-03   -1.5297    
  13  Prefactor     3.6263        1.1588        .67247E-04   -1.5327    
  14  Prefactor     .10000E-03    5.6955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.0977        4.1977        .23042E-03   -1.5356    
  16  Prefactor     5.5686        8.8980        .17010E-03   -1.5236    
  17  Prefactor     .10000E-03    102.29        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    107.20        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.6162        .43213        .10160E-02   -.74562    
  20  Prefactor     .94481        .44446E-01    .13795E-03   -.94592    
  21  norm          1.7038        .49383        .59504E-04   -1.5447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74519e-09
Minuit parameter uncertainties:
  1  91.9917
  2  0.000651437
  3  7.27142e-07
  4  0.000143603
  5  6.87888
  6  38.8243
  7  101.397
  8  2.86531
  9  10.0674
  10  1.69174e-05
  11  0.173708
  12  4.34883
  13  1.15882
  14  9.0613e-06
  15  4.19807
  16  8.90012
  17  8.63121e-05
  18  9.42831e-05
  19  0.43314
  20  0.0444479
  21  0.493827
Done.

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

Extracting fit parameters...

4FGL J0534.5+2200
   Spectrum: PLSuperExpCutoff2
250    Prefactor:  1.094e+00  1.737e-01  1.000e-04  1.000e+04 ( 1.000e-10)
251       Index1:  1.883e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
252        Scale:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
253    Expfactor:  4.435e+00  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
254       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  9.448e-01  4.445e-02  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  1.616e+00  4.331e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 225.91
Ra Dec: 83.637 22.015
Photon Index (Fixed Index): 1.88 +/- 0.00
Photon Flux (Fixed Index): 1.74e-06 +/- 2.77e-07
Energy Flux (Fixed Index): 6.88e-04 +/- 1.09e-04

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) = 26327.7181089
delta logL = 0.194836787909

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26327.7003908
delta logL = 0.212554877442

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1782       1.0000         .10000E-03   10000.    
     2 'Index1    '    1.8167       1.0000          .0000       10.000    
     3 'Normalizat'    1.6724       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94204       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26327.70     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      219 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1782        1.4465        .35607E-02    .87349E-03
   2  Index1        1.8167        .82433        .58226E-01    .69366E-03
   3  Normalizat    1.6727        .41110        .22467        .76760E-04
   4  Prefactor     .94204        .25579E-01    .31270E-01   -.30092E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.17825
  Index1     = 1.81669
  Normalizat = 1.67266
  Prefactor  = 0.942039
 **********
 **   18 **HESSE 
 **********

 FCN=   26327.70     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .89E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1782        .17449        .15758E-04   -1.5491    
   2  Index1        1.8167        .10514        .24968E-02   -.69016    
   3  Normalizat    1.6727        .40053        .10032E-02   -.73036    
   4  Prefactor     .94204        .42680E-01    .13818E-03   -.94687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.87555e-12
Minuit parameter uncertainties:
  1  0.174493
  2  0.105152
  3  0.401304
  4  0.0426813
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/669099': 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) = 26327.70039
delta logL = 0.21255570744

Extracting fit parameters...

4FGL J0534.5+2200
   Spectrum: PLSuperExpCutoff2
250    Prefactor:  1.178e+00  1.745e-01  1.000e-04  1.000e+04 ( 1.000e-10)
251       Index1:  1.817e+00  1.052e-01  0.000e+00  1.000e+01 (-1.000e+00)
252        Scale:  1.573e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
253    Expfactor:  4.435e+00  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
254       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  9.420e-01  4.268e-02  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  1.673e+00  4.013e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 246.68
Ra Dec: 83.637 22.015
Photon Index (Free Index): 1.82 +/- 0.11
Photon Flux (Free Index): 1.66e-06 +/- 2.01e-07
Energy Flux (Free Index): 7.10e-04 +/- 7.61e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/669099/cmap_HighResolution_673228801_673488001_4FGL_J0534.5+2200_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.74e-06', energy_flux2='7.10e-04', photon_flux_error='2.77e-07', dlogl='2.13e-01', energy_flux='6.88e-04', photon_flux2='1.66e-06', job_status='DONE', time_completed='2022-05-06 03:15:24.779149', photon_index_error2='0.11', photon_index2='1.82', ts='225.91', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='7.61e-05', EG='1.62', time_epoch_completed='1651832124.78', return_code='0', job_id='669099', GAL2='0.94', EG2='1.67', return_code2='0', energy_flux_error='1.09e-04', photon_flux_error2='2.01e-07', ts2='246.68', photon_index='1.88' WHERE bin_id='1674' AND source_name='4FGL J0534.5+2200' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 03:15:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 669099: <4FGL_J0534.5+2200_daily_bin1674> in cluster <slac> Done

Job <4FGL_J0534.5+2200_daily_bin1674> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri May  6 00:06:21 2022
Job was executed on host(s) <bullet0022>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:43:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:43:01 2022
Terminated at Fri May  6 03:15:25 2022
Results reported at Fri May  6 03:15:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0534.5+2200_daily_bin1674 83.6367 22.0149 673228801 673488001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0534.5+2200 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1864.00 sec.
    Max Memory :                                 1259 MB
    Average Memory :                             412.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1944 sec.
    Turnaround time :                            11344 sec.

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

