/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 22 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 = 7398
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0534.5+2200_daily_bin1514
RA = 83.6367, Dec = 22.0149
tmin = 631756801, tmax = 632016001
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='606741', job_status='RUN', time_executed='2021-08-23 09:06:37.034139', time_epoch_executed='1629734797.03' WHERE source_name='4FGL J0534.5+2200' and cadence='daily' and bin_id='1514'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/606741

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/606741/ft1_4FGL_J0534.5+2200_daily_bin1514.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/606741/ft2_4FGL_J0534.5+2200_daily_bin1514.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/606741/ft1_4FGL_J0534.5+2200_daily_bin1514.fits outfile=/scratch/kocevski/606741/ft1_filteredMKT_4FGL_J0534.5+2200_daily_bin1514.fits ra=83.6367 dec=22.0149 rad=12.0 tmin=631756801.0 tmax=632016001.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 4.86
user 2.20
sys 0.93

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/606741/ft2_4FGL_J0534.5+2200_daily_bin1514.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/606741/ft1_filteredMKT_4FGL_J0534.5+2200_daily_bin1514.fits evtable="EVENTS" outfile="/scratch/kocevski/606741/ft1_filtered_4FGL_J0534.5+2200_daily_bin1514.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 1.69
user 0.34
sys 0.88

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/606741/ft1_filtered_4FGL_J0534.5+2200_daily_bin1514.fits" evtable="EVENTS" scfile=/scratch/kocevski/606741/ft2_4FGL_J0534.5+2200_daily_bin1514.fits sctable="SC_DATA" outfile=/scratch/kocevski/606741/ltcube_631756801_632016001_4FGL_J0534.5+2200_daily_bin1514.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/606741/ft2_4FGL_J0534.5+2200_daily_bin1514.fits
.....................!
real 16.23
user 13.72
sys 1.17

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/606741/ft1_filtered_4FGL_J0534.5+2200_daily_bin1514.fits evtable="EVENTS" scfile=/scratch/kocevski/606741/ft2_4FGL_J0534.5+2200_daily_bin1514.fits sctable="SC_DATA" expcube=/scratch/kocevski/606741/ltcube_631756801_632016001_4FGL_J0534.5+2200_daily_bin1514.fits outfile=/scratch/kocevski/606741/expmap_631756801_632016001_4FGL_J0534.5+2200_daily_bin1514.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/606741/ltcube_631756801_632016001_4FGL_J0534.5+2200_daily_bin1514.fits
.....................!
real 197.17
user 186.31
sys 7.03

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/606741/ft1_filtered_4FGL_J0534.5+2200_daily_bin1514.fits scfile=/scratch/kocevski/606741/ft2_4FGL_J0534.5+2200_daily_bin1514.fits outfile=/scratch/kocevski/606741/cmap_631756801_632016001_4FGL_J0534.5+2200_daily_bin1514.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 1.29
user 0.37
sys 0.83

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/606741/ft1_filtered_4FGL_J0534.5+2200_daily_bin1514.fits scfile=/scratch/kocevski/606741/ft2_4FGL_J0534.5+2200_daily_bin1514.fits outfile=/scratch/kocevski/606741/cmap_HighResolution_631756801_632016001_4FGL_J0534.5+2200_daily_bin1514.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 1.29
user 0.39
sys 0.84

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/606741/ft1_filtered_4FGL_J0534.5+2200_daily_bin1514.fits evtable="EVENTS" scfile=/scratch/kocevski/606741/ft2_4FGL_J0534.5+2200_daily_bin1514.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/606741/Model_4FGL_J0534.5+2200_daily_bin1514.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/606741/ft1_filtered_4FGL_J0534.5+2200_daily_bin1514.fits.......................!
real 49.10
user 46.26
sys 2.47

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/606741/ft1_filtered_4FGL_J0534.5+2200_daily_bin1514.fits', '/scratch/kocevski/606741/ft2_4FGL_J0534.5+2200_daily_bin1514.fits', expMap='/scratch/kocevski/606741/expmap_631756801_632016001_4FGL_J0534.5+2200_daily_bin1514.fits', expCube='/scratch/kocevski/606741/ltcube_631756801_632016001_4FGL_J0534.5+2200_daily_bin1514.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/606741/Model_4FGL_J0534.5+2200_daily_bin1514.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/606741/ft1_filtered_4FGL_J0534.5+2200_daily_bin1514.fits
Spacecraft file(s): /scratch/kocevski/606741/ft2_4FGL_J0534.5+2200_daily_bin1514.fits
Exposure map: /scratch/kocevski/606741/expmap_631756801_632016001_4FGL_J0534.5+2200_daily_bin1514.fits
Exposure cube: /scratch/kocevski/606741/ltcube_631756801_632016001_4FGL_J0534.5+2200_daily_bin1514.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/606741/Model_4FGL_J0534.5+2200_daily_bin1514.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) = 1520.35979671

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11020E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    102.90       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.2030       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.889       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.8328       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.2297       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.4825       1.0000         .10000E-03   10000.    
    12 'norm      '    10.845       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .56854       1.0000         .10000E-03   10000.    
    14 'Prefactor '    324.08       1.0000         .10000E-03   10000.    
    15 'Prefactor '    36.647       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .52701E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .32741E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.8218       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .68961       1.0000          .0000       10.000    
    21 'norm      '    .10005E-03   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=   1520.322     FROM MIGRAD    STATUS=CONVERGED    427 CALLS     2161 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    127.25        .61099E-06** at limit **
   2  norm          103.00        105.68        .48364E-06    .94097E-06
   3  Prefactor     .10000E-03    14.792       -.92009E-07** at limit **
   4  norm          6.2057        16.030        .29220E-06   -.36487E-04
   5  Prefactor     11.891        14.067       -.18098E-06   -.85169E-05
   6  Prefactor     .10000E-03    95.535        .11434E-06** at limit **
   7  Prefactor     .10000E-03    118.50       -.27833E-06** at limit **
   8  norm          7.8294        12.111       -.12540E-06   -.70216E-04
   9  Prefactor     .10000E-03    48.089        .32060E-07** at limit **
  10  norm          5.2033        143.97        .86959E-05   -.35246E-04
  11  Prefactor     1.4811        .89192       -.19444E-06   -.25738E-02
  12  norm          10.854        19.815        .27806E-06   -.86443E-04
  13  Prefactor     .59892        18.102        .26980E-05   -.10879E-03
  14  Prefactor     323.79        301.17       -.74860E-06   -.14672E-04
  15  Prefactor     36.737        54.390       -.24707E-05    .19868E-04
  16  Prefactor     .10000E-03    59.004       -.36053E-07** at limit **
  17  Prefactor     .10000E-03    9408.7       -.51162E-06** at limit **
  18  Prefactor     .10000E-03    9753.5       -.37816E-06** at limit **
  19  Normalizat    1.8202        1.2917       -.78576E-05   -.23176E-04
  20  Prefactor     .68972        .16686        .15547E-06   -.10862E-03
  21  norm          .10000E-03    14.025       -.24875E-08** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 102.996
  Prefactor  = 0.0001
  norm       = 6.2057
  Prefactor  = 11.8911
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.82945
  Prefactor  = 0.0001
  norm       = 5.20332
  Prefactor  = 1.4811
  norm       = 10.8536
  Prefactor  = 0.598921
  Prefactor  = 323.792
  Prefactor  = 36.7373
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 1.82019
  Prefactor  = 0.689722
  norm       = 0.0001
 **********
 **   18 **HESSE 
 **********

 FCN=   1520.322     FROM HESSE     STATUS=OK           315 CALLS     2476 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    127.19        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          103.00        105.60        .19819E-03   -1.3675    
   3  Prefactor     .10000E-03    14.807        .14648E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.2057        15.997        .16118E-03   -1.5210    
   5  Prefactor     11.891        14.056        .11618E-03   -1.5018    
   6  Prefactor     .10000E-03    95.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    118.49        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.8294        12.100        .14327E-03   -1.5148    
   9  Prefactor     .10000E-03    48.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.2033        134.19        .17577E-03   -1.5252    
  11  Prefactor     1.4811        .93874        .16060E-04   -1.5465    
  12  norm          10.854        21.181        .12166E-03   -1.5049    
  13  Prefactor     .59892        28.557        .19563E-02   -1.5553    
  14  Prefactor     323.79        300.95        .11294E-03   -1.2089    
  15  Prefactor     36.737        53.146        .66203E-04   -1.4495    
  16  Prefactor     .10000E-03    58.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9408.4        .21131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9753.4        .21353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.8202        1.4251        .76291E-03   -.69138    
  20  Prefactor     .68972        .18899        .15423E-03   -1.0393    
  21  norm          .10000E-03    14.026        .14266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39826e-10
Minuit parameter uncertainties:
  1  0.000240906
  2  105.796
  3  2.00533e-05
  4  16.0078
  5  14.0599
  6  4.04408e-05
  7  9.46896e-05
  8  12.1037
  9  5.66274e-06
  10  52.9808
  11  0.938746
  12  21.1961
  13  8.27478
  14  302.418
  15  53.2149
  16  2.47861e-05
  17  0.00626152
  18  0.00504153
  19  1.45985
  20  0.18917
  21  1.34531e-06
Done.

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

Extracting fit parameters...

4FGL J0534.5+2200
   Spectrum: PLSuperExpCutoff2
250    Prefactor:  1.481e+00  9.387e-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:  6.897e-01  1.892e-01  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.820e+00  1.460e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.69
Ra Dec: 83.637 22.015
Photon Index (Fixed Index): 1.88 +/- 0.00
Photon Flux (Fixed Index): 2.36e-06 +/- 1.50e-06
Energy Flux (Fixed Index): 9.32e-04 +/- 5.91e-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) = 1520.29460666
delta logL = 0.0271948061197

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1520.29415177
delta logL = 0.0276496973659

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3165       1.0000         .10000E-03   10000.    
     2 'Index1    '    1.9845       1.0000          .0000       10.000    
     3 'Normalizat'    1.7612       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69408       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=   1520.294     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      215 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3166        7.3537        .34034E-02    .17538E-02
   2  Index1        1.9845        2.8207        .49712E-01    .73955E-05
   3  Normalizat    1.7611        1.1077        .17340        .47049E-04
   4  Prefactor     .69408        .11163        .42322E-01   -.32130E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.31656
  Index1     = 1.9845
  Normalizat = 1.76111
  Prefactor  = 0.694083
 **********
 **   18 **HESSE 
 **********

 FCN=   1520.294     FROM HESSE     STATUS=OK            27 CALLS      242 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3166        .85392        .15067E-04   -1.5478    
   2  Index1        1.9845        .43901        .21620E-03   -.64738    
   3  Normalizat    1.7611        1.3317        .77157E-03   -.70683    
   4  Prefactor     .69408        .18121        .15370E-03   -1.0376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.73085e-10
Minuit parameter uncertainties:
  1  0.853933
  2  0.439905
  3  1.36062
  4  0.181366
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/606741': 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) = 1520.29415176
delta logL = 0.0276497052912

Extracting fit parameters...

4FGL J0534.5+2200
   Spectrum: PLSuperExpCutoff2
250    Prefactor:  1.317e+00  8.539e-01  1.000e-04  1.000e+04 ( 1.000e-10)
251       Index1:  1.984e+00  4.399e-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:  6.941e-01  1.814e-01  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.761e+00  1.361e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.79
Ra Dec: 83.637 22.015
Photon Index (Free Index): 1.98 +/- 0.44
Photon Flux (Free Index): 2.54e-06 +/- 1.19e-06
Energy Flux (Free Index): 8.98e-04 +/- 3.47e-04

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/606741/cmap_HighResolution_631756801_632016001_4FGL_J0534.5+2200_daily_bin1514.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.36e-06', energy_flux2='8.98e-04', photon_flux_error='1.50e-06', dlogl='2.76e-02', energy_flux='9.32e-04', photon_flux2='2.54e-06', job_status='DONE', time_completed='2021-08-23 09:13:44.897738', photon_index_error2='0.44', photon_index2='1.98', ts='13.69', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', energy_flux_error2='3.47e-04', EG='1.82', time_epoch_completed='1629735224.9', return_code='0', job_id='606741', GAL2='0.69', EG2='1.76', return_code2='0', energy_flux_error='5.91e-04', photon_flux_error2='1.19e-06', ts2='14.79', photon_index='1.88' WHERE bin_id='1514' AND source_name='4FGL J0534.5+2200' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 23 09:13:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 606741: <4FGL_J0534.5+2200_daily_bin1514> in cluster <slac> Done

Job <4FGL_J0534.5+2200_daily_bin1514> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Aug 23 09:05:44 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 23 09:05:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 23 09:05:47 2021
Terminated at Mon Aug 23 09:13:45 2021
Results reported at Mon Aug 23 09:13:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0534.5+2200_daily_bin1514 83.6367 22.0149 631756801 632016001 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 :                                   424.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             381.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   478 sec.
    Turnaround time :                            481 sec.

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

