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


Performing analysis on: 4FGL_J2334.2+0736_daily_bin1776
RA = 353.557, Dec = 7.602
tmin = 699667201, tmax = 699926401
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='847293', job_status='RUN', time_executed='2023-03-08 01:31:08.015942', time_epoch_executed='1678267868.02' WHERE source_name='4FGL J2334.2+0736' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847293

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847293/ft1_4FGL_J2334.2+0736_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847293/ft2_4FGL_J2334.2+0736_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847293/ft1_4FGL_J2334.2+0736_daily_bin1776.fits outfile=/scratch/kocevski/847293/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1776.fits ra=353.557 dec=7.602 rad=12.0 tmin=699667201.0 tmax=699926401.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.91
user 3.67
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/847293/ft2_4FGL_J2334.2+0736_daily_bin1776.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/847293/ft2_4FGL_J2334.2+0736_daily_bin1776.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/847293/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/847293/ft1_filtered_4FGL_J2334.2+0736_daily_bin1776.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.48
user 0.33
sys 0.13

Number of photons that the gtmktime cut: 542

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847293/ft1_filtered_4FGL_J2334.2+0736_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/847293/ft2_4FGL_J2334.2+0736_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/847293/ltcube_699667201_699926401_4FGL_J2334.2+0736_daily_bin1776.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/847293/ft2_4FGL_J2334.2+0736_daily_bin1776.fits
.....................!
real 12.67
user 12.24
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847293/ft1_filtered_4FGL_J2334.2+0736_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/847293/ft2_4FGL_J2334.2+0736_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/847293/ltcube_699667201_699926401_4FGL_J2334.2+0736_daily_bin1776.fits outfile=/scratch/kocevski/847293/expmap_699667201_699926401_4FGL_J2334.2+0736_daily_bin1776.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/847293/ltcube_699667201_699926401_4FGL_J2334.2+0736_daily_bin1776.fits
.....................!
real 190.42
user 185.64
sys 4.05

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
Added 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J2334.2+0736 @ 353.557 7.602

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/847293/ft1_filtered_4FGL_J2334.2+0736_daily_bin1776.fits scfile=/scratch/kocevski/847293/ft2_4FGL_J2334.2+0736_daily_bin1776.fits outfile=/scratch/kocevski/847293/cmap_699667201_699926401_4FGL_J2334.2+0736_daily_bin1776.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=353.557 yref=7.602 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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847293/ft1_filtered_4FGL_J2334.2+0736_daily_bin1776.fits scfile=/scratch/kocevski/847293/ft2_4FGL_J2334.2+0736_daily_bin1776.fits outfile=/scratch/kocevski/847293/cmap_HighResolution_699667201_699926401_4FGL_J2334.2+0736_daily_bin1776.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=353.557 yref=7.602 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.65
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/847293/ft1_filtered_4FGL_J2334.2+0736_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/847293/ft2_4FGL_J2334.2+0736_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/847293/Model_4FGL_J2334.2+0736_daily_bin1776.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
Working on...
/scratch/kocevski/847293/ft1_filtered_4FGL_J2334.2+0736_daily_bin1776.fits.....................!
real 68.93
user 67.43
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/847293/ft1_filtered_4FGL_J2334.2+0736_daily_bin1776.fits', '/scratch/kocevski/847293/ft2_4FGL_J2334.2+0736_daily_bin1776.fits', expMap='/scratch/kocevski/847293/expmap_699667201_699926401_4FGL_J2334.2+0736_daily_bin1776.fits', expCube='/scratch/kocevski/847293/ltcube_699667201_699926401_4FGL_J2334.2+0736_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/847293/Model_4FGL_J2334.2+0736_daily_bin1776.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2334.2+0736'

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  5.621e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
431        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
432        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/847293/ft1_filtered_4FGL_J2334.2+0736_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/847293/ft2_4FGL_J2334.2+0736_daily_bin1776.fits
Exposure map: /scratch/kocevski/847293/expmap_699667201_699926401_4FGL_J2334.2+0736_daily_bin1776.fits
Exposure cube: /scratch/kocevski/847293/ltcube_699667201_699926401_4FGL_J2334.2+0736_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/847293/Model_4FGL_J2334.2+0736_daily_bin1776.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) = 6171.88827513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21478E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .50505E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .41610E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .21923E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .43425       1.0000          .0000       .10000E+07
     6 'Prefactor '    .73802E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .13062E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    61.952       1.0000          .0000       .10000E+07
     9 'norm      '    .61612E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7836       1.0000          .0000       .10000E+07
    11 'Prefactor '    28.830       1.0000          .0000       .10000E+07
    12 'norm      '    2.9673       1.0000          .0000       .10000E+07
    13 'norm      '    .44113E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.0477       1.0000          .0000       .10000E+07
    15 'Prefactor '    62.894       1.0000          .0000       .10000E+07
    16 'Prefactor '    35.323       1.0000          .0000       .10000E+07
    17 'Prefactor '    .35452E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    .66747       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0470       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6171.774     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1436 TOTAL
                     EDM=   .67E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.2904        .29116E-07** at limit **
   2  Prefactor     .13600E-07    38.615       -.96157E-06** at limit **
   3  Prefactor     .55511E-10    3.2102       -.36339E-06** at limit **
   4  Prefactor     .55511E-10    23.109        .21346E-07** at limit **
   5  norm          .43822        1.0745       -.50814E-07    .31203E-03
   6  Prefactor     .55511E-10    3.8137       -.16891E-06** at limit **
   7  Prefactor      .0000        21.045       -.38308E-06** at limit **
   8  Prefactor     62.095        3.8235       -.60229E-08    .36006E-01
   9  norm           .0000        4.7022       -.14659E-06** at limit **
  10  Prefactor     2.7829        8.1579       -.30710E-06   -.22534E-02
  11  Prefactor     28.784        1.5655        .25591E-09    .17855E-02
  12  norm          2.9543        2.3924        .23676E-07    .16088E-01
  13  norm           .0000        45.762       -.53352E-07** at limit **
  14  Prefactor     3.0350        5.3861       -.53608E-07    .23602E-03
  15  Prefactor     64.617        44.725       -.86142E-07   -.57486E-02
  16  Prefactor     35.290        6.4257        .18191E-07   -.13037E-01
  17  Prefactor      .0000        2.4881        .24539E-06** at limit **
  18  Normalizat    .66611        .24071        .33884E-05    .77702E-05
  19  Prefactor     1.0474        .15126       -.23858E-05    .20661E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.36002e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  norm       = 0.438224
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 62.0949
  norm       = 0
  Prefactor  = 2.78294
  Prefactor  = 28.7844
  norm       = 2.95435
  norm       = 0
  Prefactor  = 3.03504
  Prefactor  = 64.6174
  Prefactor  = 35.2898
  Prefactor  = 0
  Normalizat = 0.666108
  Prefactor  = 1.04735
 **********
 **   18 **HESSE 
 **********

 FCN=   6171.774     FROM HESSE     STATUS=OK           304 CALLS     1740 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.3001        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .13600E-07    39.256        .15520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    3.2042        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    23.087        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .43822        1.0943        .85621E-03   -1.5695    
   6  Prefactor     .55511E-10    3.8249        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        20.989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     62.095        54.810        .12706E-03   -1.5550    
   9  norm           .0000        4.6961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7829        8.3816        .60963E-03   -1.5675    
  11  Prefactor     28.784        26.059        .18627E-03   -1.5601    
  12  norm          2.9543        9.0001        .58921E-03   -1.5674    
  13  norm           .0000        45.761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.0350        5.4461        .58091E-03   -1.5673    
  15  Prefactor     64.617        45.270        .12610E-03   -1.5547    
  16  Prefactor     35.290        28.158        .16828E-03   -1.5589    
  17  Prefactor      .0000        2.4937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .66611        .21733        .80258E-01   -1.0525    
  19  Prefactor     1.0474        .13268        .40086E-01   -.91167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65812e-07
Minuit parameter uncertainties:
  1  1.33735e-05
  2  0.00146145
  3  2.00969e-05
  4  8.63575e-05
  5  1.09426
  6  2.29276e-05
  7  4.16067e-07
  8  54.8105
  9  4.977e-06
  10  8.38163
  11  26.0596
  12  9.00013
  13  2.43865e-05
  14  5.44611
  15  45.2705
  16  28.1582
  17  6.45477e-07
  18  0.217606
  19  0.132721
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  2.878e+01  2.606e+01  0.000e+00  1.000e+06 ( 1.000e-13)
431        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
432        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  1.047e+00  1.327e-01  0.000e+00  1.000e+01 ( 1.000e+00)
503        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
504        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
501   Normalization:  6.661e-01  2.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.93
Ra Dec: 353.557 7.602
Photon Index (Fixed Index): 2.47 +/- 0.00
Photon Flux (Fixed Index): 5.31e-08 +/- 4.80e-08
Energy Flux (Fixed Index): 1.59e-05 +/- 1.44e-05

TS (Fixed Index): 1.93
Ra Dec: 353.557 7.602
Photon Flux Upper Limit: 1.57e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.22e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/847293/likelihoodResults_699667201_699926401_4FGL_J2334.2+0736_daily_bin1776.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) = 6171.72939365
delta logL = 0.0441419098906

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6171.72737254
delta logL = 0.0461630120881

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.547       1.0000          .0000       .10000E+07
     2 'Index     '    2.7202       1.0000          .0000       10.000    
     3 'Normalizat'    .65188       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0532       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6171.727     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      298 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.558        32.430        .82450E-05    .13747E-02
   2  Index         2.7206        .95113        .79224E-02    .44238E-03
   3  Normalizat    .65248        .23699        .35876E-03   -.16168E-03
   4  Prefactor     1.0527        .15256        .18728E-03    .69422E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.5585
  Index      = 2.72064
  Normalizat = 0.652477
  Prefactor  = 1.05274
 **********
 **   18 **HESSE 
 **********

 FCN=   6171.727     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.558        29.498        .32980E-06   -1.5611    
   2  Index         2.7206        .86510        .15845E-02   -.47335    
   3  Normalizat    .65248        .23629        .14350E-04   -1.0580    
   4  Prefactor     1.0527        .15225        .37456E-04   -.90992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.08983e-10
Minuit parameter uncertainties:
  1  29.4982
  2  0.870646
  3  0.236654
  4  0.152316
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847293': 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) = 6171.72736728
delta logL = 0.0461682736914

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  2.356e+01  2.950e+01  0.000e+00  1.000e+06 ( 1.000e-13)
431        Index:  2.721e+00  8.706e-01  0.000e+00  1.000e+01 (-1.000e+00)
432        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  1.053e+00  1.523e-01  0.000e+00  1.000e+01 ( 1.000e+00)
503        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
504        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
501   Normalization:  6.525e-01  2.367e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.06
Ra Dec: 353.557 7.602
Photon Index (Free Index): 2.72 +/- 0.87
Photon Flux (Free Index): 6.55e-08 +/- 6.66e-08
Energy Flux (Free Index): 1.55e-05 +/- 1.34e-05

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/847293/cmap_HighResolution_699667201_699926401_4FGL_J2334.2+0736_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', comment='SUCCESS', photon_flux='5.31e-08', energy_flux2='1.55e-05', photon_flux_error='4.80e-08', dlogl='4.62e-02', energy_flux='1.59e-05', photon_flux2='6.55e-08', job_status='DONE', time_completed='2023-03-08 01:40:08.397728', photon_index_error2='0.87', photon_index2='2.72', ts='1.93', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.57e-07', energy_flux_error2='1.34e-05', EG='0.67', time_epoch_completed='1678268408.4', return_code='0', job_id='847293', GAL2='1.05', EG2='0.65', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='6.66e-08', ts2='2.06', photon_index='2.47' WHERE bin_id='1776' AND source_name='4FGL J2334.2+0736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 01:40:08 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0256>
Subject: Job 847293: <4FGL_J2334.2+0736_daily_bin1776> in cluster <slac> Done

Job <4FGL_J2334.2+0736_daily_bin1776> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Wed Mar  8 01:30:19 2023
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 01:30:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 01:30:20 2023
Terminated at Wed Mar  8 01:40:09 2023
Results reported at Wed Mar  8 01:40:09 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_daily_bin1776 353.557 7.602 699667201 699926401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2334.2+0736 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   541.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             319.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   588 sec.
    Turnaround time :                            590 sec.

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

