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 62 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2034.6+1154_daily_bin1731
RA = 308.65, Dec = 11.9035
tmin = 688003201, tmax = 688262401
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='549912', job_status='RUN', time_executed='2022-10-24 00:37:02.655001', time_epoch_executed='1666597022.66' WHERE source_name='4FGL J2034.6+1154' and cadence='daily' and bin_id='1731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/549912

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/549912/ft1_4FGL_J2034.6+1154_daily_bin1731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/549912/ft2_4FGL_J2034.6+1154_daily_bin1731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/549912/ft1_4FGL_J2034.6+1154_daily_bin1731.fits outfile=/scratch/kocevski/549912/ft1_filteredMKT_4FGL_J2034.6+1154_daily_bin1731.fits ra=308.65 dec=11.9035 rad=12.0 tmin=688003201.0 tmax=688262401.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 3.51
user 3.28
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/549912/ft2_4FGL_J2034.6+1154_daily_bin1731.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/549912/ft2_4FGL_J2034.6+1154_daily_bin1731.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/549912/ft1_filteredMKT_4FGL_J2034.6+1154_daily_bin1731.fits evtable="EVENTS" outfile="/scratch/kocevski/549912/ft1_filtered_4FGL_J2034.6+1154_daily_bin1731.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 989

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/549912/ft1_filtered_4FGL_J2034.6+1154_daily_bin1731.fits" evtable="EVENTS" scfile=/scratch/kocevski/549912/ft2_4FGL_J2034.6+1154_daily_bin1731.fits sctable="SC_DATA" outfile=/scratch/kocevski/549912/ltcube_688003201_688262401_4FGL_J2034.6+1154_daily_bin1731.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/549912/ft2_4FGL_J2034.6+1154_daily_bin1731.fits
.....................!
real 11.87
user 11.54
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/549912/ft1_filtered_4FGL_J2034.6+1154_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/549912/ft2_4FGL_J2034.6+1154_daily_bin1731.fits sctable="SC_DATA" expcube=/scratch/kocevski/549912/ltcube_688003201_688262401_4FGL_J2034.6+1154_daily_bin1731.fits outfile=/scratch/kocevski/549912/expmap_688003201_688262401_4FGL_J2034.6+1154_daily_bin1731.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/549912/ltcube_688003201_688262401_4FGL_J2034.6+1154_daily_bin1731.fits
.....................!
real 190.58
user 185.04
sys 5.22

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 W 51C in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W51C.fits is the correct path to the extended template.
Extended source G42.8+0.6 in ROI with RadialDisk spatial model.
Extended source Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Added 225 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 J2034.6+1154 @ 308.65 11.9035

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/549912/ft1_filtered_4FGL_J2034.6+1154_daily_bin1731.fits scfile=/scratch/kocevski/549912/ft2_4FGL_J2034.6+1154_daily_bin1731.fits outfile=/scratch/kocevski/549912/cmap_688003201_688262401_4FGL_J2034.6+1154_daily_bin1731.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=308.65 yref=11.9035 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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/549912/ft1_filtered_4FGL_J2034.6+1154_daily_bin1731.fits scfile=/scratch/kocevski/549912/ft2_4FGL_J2034.6+1154_daily_bin1731.fits outfile=/scratch/kocevski/549912/cmap_HighResolution_688003201_688262401_4FGL_J2034.6+1154_daily_bin1731.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=308.65 yref=11.9035 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.55
user 0.36
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/549912/ft1_filtered_4FGL_J2034.6+1154_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/549912/ft2_4FGL_J2034.6+1154_daily_bin1731.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/549912/Model_4FGL_J2034.6+1154_daily_bin1731.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 Cygnus Loop
adding source EG_v02
adding source G42.8+0.6
adding source GAL_V02
adding source W 51C
Working on...
/scratch/kocevski/549912/ft1_filtered_4FGL_J2034.6+1154_daily_bin1731.fits.....................!
real 220.16
user 218.54
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/549912/ft1_filtered_4FGL_J2034.6+1154_daily_bin1731.fits', '/scratch/kocevski/549912/ft2_4FGL_J2034.6+1154_daily_bin1731.fits', expMap='/scratch/kocevski/549912/expmap_688003201_688262401_4FGL_J2034.6+1154_daily_bin1731.fits', expCube='/scratch/kocevski/549912/ltcube_688003201_688262401_4FGL_J2034.6+1154_daily_bin1731.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/549912/Model_4FGL_J2034.6+1154_daily_bin1731.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2034.6+1154'

4FGL J2034.6+1154
   Spectrum: PowerLaw
494    Prefactor:  5.807e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
495        Index:  2.540e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
496        Scale:  1.227e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/549912/ft1_filtered_4FGL_J2034.6+1154_daily_bin1731.fits
Spacecraft file(s): /scratch/kocevski/549912/ft2_4FGL_J2034.6+1154_daily_bin1731.fits
Exposure map: /scratch/kocevski/549912/expmap_688003201_688262401_4FGL_J2034.6+1154_daily_bin1731.fits
Exposure cube: /scratch/kocevski/549912/ltcube_688003201_688262401_4FGL_J2034.6+1154_daily_bin1731.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/549912/Model_4FGL_J2034.6+1154_daily_bin1731.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) = 10188.951842

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15739E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    8.7800       1.0000          .0000       .10000E+07
     3 'norm      '    .42677E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    6.5962       1.0000          .0000       .10000E+07
     5 'Prefactor '    .24980E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .90130E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .46012       1.0000          .0000       .10000E+07
     8 'Prefactor '    .66571       1.0000          .0000       .10000E+07
     9 'norm      '    .47962E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .62713E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .53872E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .33423E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .16930E-03   1.0000          .0000       .10000E+07
    14 'Normalizat'    .88047       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .94199       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10188.82     FROM MIGRAD    STATUS=CONVERGED    131 CALLS      842 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        123.96        .44388E-06** at limit **
   2  Prefactor     7.4778        7.7846        .62774E-06    .26778E-01
   3  norm           .0000        1.0690        .16712E-06** at limit **
   4  Prefactor     6.5216        12.844        .18689E-05    .25775E-02
   5  Prefactor     .33307E-09    5.8413       -.23066E-06** at limit **
   6  Prefactor      .0000        7.1272        .21153E-05** at limit **
   7  norm          .46075        .46190        .83976E-06   -.16193E-01
   8  Prefactor     .32696E-07    111.54        .19863E-04** at limit **
   9  norm          .16653E-09    5.2003        .19143E-05** at limit **
  10  Prefactor     .67724E-08    21.038        .47091E-05** at limit **
  11  Prefactor     .55511E-10    6.1104        .13776E-05** at limit **
  12  Prefactor     .18874E-08    18.253       -.11545E-05** at limit **
  13  Prefactor     .23187E-06    29.716       -.12714E-05** at limit **
  14  Normalizat    .88006        .26027       -.35379E-04    .21918E-03
  15  Prefactor     .94247        .72784E-01   -.64385E-05    .46702E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 7.47777
  norm       = 0
  Prefactor  = 6.52164
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  norm       = 0.460752
  Prefactor  = 3.26961e-08
  norm       = 1.66533e-10
  Prefactor  = 6.77236e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 1.88738e-09
  Prefactor  = 2.3187e-07
  Normalizat = 0.88006
  Prefactor  = 0.942474
 **********
 **   18 **HESSE 
 **********

 FCN=   10188.82     FROM HESSE     STATUS=OK           208 CALLS     1050 TOTAL
                     EDM=   .73E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        123.65        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.4778        25.852        .33803E-03   -1.5653    
   3  norm           .0000        1.0712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.5216        12.867        .39049E-03   -1.5657    
   5  Prefactor     .33307E-09    5.8262        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        7.1103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .46075        .53626        .15637E-02   -1.5694    
   8  Prefactor     .32696E-07    112.76        .63536E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .16653E-09    5.1743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .67724E-08    20.990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    6.1176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .18874E-08    18.227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .23187E-06    31.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .88006        .24069        .11070       -.97164    
  15  Prefactor     .94247        .66951E-01    .29906E-01   -.94672    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.32846e-08
Minuit parameter uncertainties:
  1  4.03047e-05
  2  25.8526
  3  7.85909e-06
  4  12.8669
  5  8.54899e-05
  6  7.8831e-06
  7  0.53626
  8  0.00383991
  9  5.47666e-05
  10  0.000753404
  11  2.92624e-05
  12  0.000372925
  13  0.00544164
  14  0.240986
  15  0.0669569
Done.

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

Extracting fit parameters...

4FGL J2034.6+1154
   Spectrum: PowerLaw
494    Prefactor:  0.000e+00  7.883e-06  0.000e+00  1.000e+06 ( 1.000e-13)
495        Index:  2.540e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
496        Scale:  1.227e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
796    Prefactor:  9.425e-01  6.696e-02  0.000e+00  1.000e+01 ( 1.000e+00)
797        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
798        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
792   Normalization:  8.801e-01  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 308.650 11.903
Photon Flux Upper Limit: 7.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/549912/likelihoodResults_688003201_688262401_4FGL_J2034.6+1154_daily_bin1731.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): 102
logL (Free Index) = 10188.8907738
delta logL = -0.0710690004635

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10188.8197049
delta logL = -7.29014573153e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68512E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.3290       1.0000          .0000       10.000    
     3 'Normalizat'    .88006       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94246       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10188.82     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      247 TOTAL
                     EDM=   .69E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    .88911E-01    .42118E-03** at limit **
   2  Index         2.0465        8.8530        .50000        .45475E-10
   3  Normalizat    .88006        .41845E-03    .11070        .30426E-04
   4  Prefactor     .94247        .11686E-03    .29906E-01   -.63123E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Index      = 2.04645
  Normalizat = 0.880057
  Prefactor  = 0.942474
 **********
 **   18 **HESSE 
 **********

 FCN=   10188.82     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      280 TOTAL
                     EDM=   .35E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    .45668        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0465        8.8502        .50000       -.63194    
   3  Normalizat    .88006        .94262E-03    .49080E-03   -.97164    
   4  Prefactor     .94247        .26424E-03    .13215E-03   -.94672    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.54744e-13
Minuit parameter uncertainties:
  1  1.92754e-05
  2  10180.1
  3  0.000942617
  4  0.00026424
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/549912': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10188.8197048
delta logL = 6.91215973347e-11

Extracting fit parameters...

4FGL J2034.6+1154
   Spectrum: PowerLaw
494    Prefactor:  2.220e-10  1.928e-05  0.000e+00  1.000e+06 ( 1.000e-13)
495        Index:  2.046e+00  1.018e+04  0.000e+00  1.000e+01 (-1.000e+00)
496        Scale:  1.227e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
796    Prefactor:  9.425e-01  2.642e-04  0.000e+00  1.000e+01 ( 1.000e+00)
797        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
798        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
792   Normalization:  8.801e-01  9.426e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 308.650 11.903

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/549912/cmap_HighResolution_688003201_688262401_4FGL_J2034.6+1154_daily_bin1731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.96e-03', job_status='DONE', photon_flux_upper_limit='7.64e-08', time_completed='2022-10-24 00:51:05.790845', job_id='549912', GAL2='0.94', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1666597865.79', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='6.91e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1731' AND source_name='4FGL J2034.6+1154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 24 00:51:05 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 549912: <4FGL_J2034.6+1154_daily_bin1731> in cluster <slac> Done

Job <4FGL_J2034.6+1154_daily_bin1731> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Oct 24 00:35:47 2022
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct 24 00:35:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct 24 00:35:48 2022
Terminated at Mon Oct 24 00:51:06 2022
Results reported at Mon Oct 24 00:51:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2034.6+1154_daily_bin1731 308.65 11.9035 688003201 688262401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2034.6+1154 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   845.00 sec.
    Max Memory :                                 1259 MB
    Average Memory :                             365.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            919 sec.

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

