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


Performing analysis on: 4FGL_J2334.2+0736_daily_bin1763
RA = 353.557, Dec = 7.602
tmin = 696297601, tmax = 696556801
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='297895', job_status='RUN', time_executed='2023-01-28 01:53:02.273007', time_epoch_executed='1674899582.27' WHERE source_name='4FGL J2334.2+0736' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/297895

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/297895/ft1_4FGL_J2334.2+0736_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/297895/ft2_4FGL_J2334.2+0736_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/297895/ft1_4FGL_J2334.2+0736_daily_bin1763.fits outfile=/scratch/kocevski/297895/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1763.fits ra=353.557 dec=7.602 rad=12.0 tmin=696297601.0 tmax=696556801.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.64
user 3.39
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/297895/ft2_4FGL_J2334.2+0736_daily_bin1763.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/297895/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1763.fits evtable="EVENTS" outfile="/scratch/kocevski/297895/ft1_filtered_4FGL_J2334.2+0736_daily_bin1763.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.35
sys 0.16

Number of photons that the gtmktime cut: 549

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/297895/ft1_filtered_4FGL_J2334.2+0736_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/297895/ft2_4FGL_J2334.2+0736_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/297895/ltcube_696297601_696556801_4FGL_J2334.2+0736_daily_bin1763.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/297895/ft2_4FGL_J2334.2+0736_daily_bin1763.fits
.....................!
real 15.81
user 15.40
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/297895/ft1_filtered_4FGL_J2334.2+0736_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/297895/ft2_4FGL_J2334.2+0736_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/297895/ltcube_696297601_696556801_4FGL_J2334.2+0736_daily_bin1763.fits outfile=/scratch/kocevski/297895/expmap_696297601_696556801_4FGL_J2334.2+0736_daily_bin1763.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/297895/ltcube_696297601_696556801_4FGL_J2334.2+0736_daily_bin1763.fits
.....................!
real 193.37
user 187.58
sys 5.34

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/297895/ft1_filtered_4FGL_J2334.2+0736_daily_bin1763.fits scfile=/scratch/kocevski/297895/ft2_4FGL_J2334.2+0736_daily_bin1763.fits outfile=/scratch/kocevski/297895/cmap_696297601_696556801_4FGL_J2334.2+0736_daily_bin1763.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/297895/ft1_filtered_4FGL_J2334.2+0736_daily_bin1763.fits scfile=/scratch/kocevski/297895/ft2_4FGL_J2334.2+0736_daily_bin1763.fits outfile=/scratch/kocevski/297895/cmap_HighResolution_696297601_696556801_4FGL_J2334.2+0736_daily_bin1763.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.59
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/297895/ft1_filtered_4FGL_J2334.2+0736_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/297895/ft2_4FGL_J2334.2+0736_daily_bin1763.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/297895/Model_4FGL_J2334.2+0736_daily_bin1763.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/297895/ft1_filtered_4FGL_J2334.2+0736_daily_bin1763.fits.....................!
real 65.25
user 63.85
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/297895/ft1_filtered_4FGL_J2334.2+0736_daily_bin1763.fits', '/scratch/kocevski/297895/ft2_4FGL_J2334.2+0736_daily_bin1763.fits', expMap='/scratch/kocevski/297895/expmap_696297601_696556801_4FGL_J2334.2+0736_daily_bin1763.fits', expCube='/scratch/kocevski/297895/ltcube_696297601_696556801_4FGL_J2334.2+0736_daily_bin1763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/297895/Model_4FGL_J2334.2+0736_daily_bin1763.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/297895/ft1_filtered_4FGL_J2334.2+0736_daily_bin1763.fits
Spacecraft file(s): /scratch/kocevski/297895/ft2_4FGL_J2334.2+0736_daily_bin1763.fits
Exposure map: /scratch/kocevski/297895/expmap_696297601_696556801_4FGL_J2334.2+0736_daily_bin1763.fits
Exposure cube: /scratch/kocevski/297895/ltcube_696297601_696556801_4FGL_J2334.2+0736_daily_bin1763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/297895/Model_4FGL_J2334.2+0736_daily_bin1763.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) = 5959.93314866

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .71785E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    44.263       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.4925       1.0000          .0000       .10000E+07
     4 'Prefactor '    .63583E-04   1.0000          .0000       .10000E+07
     5 'norm      '    2.4315       1.0000          .0000       .10000E+07
     6 'Prefactor '    .56454E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    9.7656       1.0000          .0000       .10000E+07
     8 'Prefactor '    42.694       1.0000          .0000       .10000E+07
     9 'norm      '    .18587E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .64011E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .47782E-01   1.0000          .0000       .10000E+07
    12 'norm      '    12.992       1.0000          .0000       .10000E+07
    13 'norm      '    .14361E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.6284       1.0000          .0000       .10000E+07
    15 'Prefactor '    42.327       1.0000          .0000       .10000E+07
    16 'Prefactor '    15.668       1.0000          .0000       .10000E+07
    17 'Prefactor '    8.2677       1.0000          .0000       .10000E+07
    18 'Normalizat'    .72283       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .96526       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=   5959.913     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1425 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14433E-07    10.649       -.14863E-07** at limit **
   2  Prefactor     44.750        28.049        .10901E-06   -.30718E-01
   3  Prefactor     6.4966        4.8428       -.11559E-07   -.24791E-03
   4  Prefactor     .11959E-05    12.353        .27741E-06** at limit **
   5  norm          2.4333        1.2720        .13833E-07    .50387E-03
   6  Prefactor     .66613E-09    9.8327        .78324E-07** at limit **
   7  Prefactor     9.7681        2.1916        .10386E-07   -.31333E-02
   8  Prefactor     43.183        24.929       -.30899E-06   -.29056E-01
   9  norm           .0000        3.2457       -.84517E-08** at limit **
  10  Prefactor      .0000        2.7784       -.54141E-07** at limit **
  11  Prefactor     .16866        551.56       -.43854E-05** at limit **
  12  norm          13.034        12.980        .70283E-07    .21045E-02
  13  norm          .11456E-05    12.751        .82985E-07** at limit **
  14  Prefactor     4.6344        4.4385        .46484E-07    .18022E-03
  15  Prefactor     42.904        23.717       -.14401E-06    .93464E-01
  16  Prefactor     16.001        14.812        .27976E-06   -.91984E-01
  17  Prefactor     8.2688        7.0294       -.28528E-07   -.88807E-03
  18  Normalizat    .72055        .22655        .80949E-06   -.21129E-04
  19  Prefactor     .96583        .14677       -.51638E-09   -.36686E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.44329e-08
  Prefactor  = 44.7505
  Prefactor  = 6.49658
  Prefactor  = 1.19588e-06
  norm       = 2.43333
  Prefactor  = 6.66134e-10
  Prefactor  = 9.76814
  Prefactor  = 43.1831
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0.168657
  norm       = 13.0339
  norm       = 1.14558e-06
  Prefactor  = 4.63443
  Prefactor  = 42.9036
  Prefactor  = 16.0006
  Prefactor  = 8.26877
  Normalizat = 0.720545
  Prefactor  = 0.96583
 **********
 **   18 **HESSE 
 **********

 FCN=   5959.913     FROM HESSE     STATUS=OK           312 CALLS     1737 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14433E-07    10.657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     44.750        33.609        .15032E-03   -1.5574    
   3  Prefactor     6.4966        4.8426        .39364E-03   -1.5657    
   4  Prefactor     .11959E-05    14.252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4333        1.2768        .65598E-03   -1.5677    
   6  Prefactor     .66613E-09    9.7418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.7681        16.919        .32042E-03   -1.5645    
   8  Prefactor     43.183        52.566        .15306E-03   -1.5577    
   9  norm           .0000        3.2398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        2.7697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16866        13.551        .15630E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          13.034        12.946        .27764E-03   -1.5636    
  13  norm          .11456E-05    14.679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.6344        4.4459        .46759E-03   -1.5665    
  15  Prefactor     42.904        42.680        .15372E-03   -1.5577    
  16  Prefactor     16.001        23.341        .25276E-03   -1.5628    
  17  Prefactor     8.2688        7.0245        .34842E-03   -1.5650    
  18  Normalizat    .72055        .19940        .72943E-01   -1.0309    
  19  Prefactor     .96583        .12744        .45831E-01   -.93877    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02622e-06
Minuit parameter uncertainties:
  1  0.00078442
  2  33.6092
  3  4.84259
  4  0.00825677
  5  1.27684
  6  0.000159234
  7  16.9189
  8  52.5663
  9  1.95172e-06
  10  2.52284e-06
  11  3.02352
  12  12.9458
  13  0.00820148
  14  4.44588
  15  42.6798
  16  23.3416
  17  7.02454
  18  0.199599
  19  0.12748
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.687e-01  3.024e+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

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  9.658e-01  1.275e-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:  7.205e-01  1.996e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 353.557 7.602
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/297895/likelihoodResults_696297601_696556801_4FGL_J2334.2+0736_daily_bin1763.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) = 5959.91022194
delta logL = 0.00301196383953

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5959.89130995
delta logL = 0.0219239527732

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9994       1.0000          .0000       .10000E+07
     2 'Index     '    3.0781       1.0000          .0000       10.000    
     3 'Normalizat'    .71314       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96647       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.

 FCN=   5959.891     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      254 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9732        111.61        .73218E-03    .32912E-02
   2  Index         3.0824        1.0822        .46689        .34107E-05
   3  Normalizat    .71278        .16030E-01    .73312E-01   -.11609E-03
   4  Prefactor     .96664        .10816E-01    .45847E-01   -.21956E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.97322
  Index      = 3.08239
  Normalizat = 0.712777
  Prefactor  = 0.966638
 **********
 **   18 **HESSE 
 **********

 FCN=   5959.891     FROM HESSE     STATUS=OK            31 CALLS      285 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9732        23.773        .29287E-04   -1.5680    
   2  Index         3.0824        2.5434        .55265E-02   -.39361    
   3  Normalizat    .71278        .21906        .32450E-03   -1.0339    
   4  Prefactor     .96664        .14603        .18920E-03   -.93850    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.72338e-11
Minuit parameter uncertainties:
  1  13.6981
  2  2.69353
  3  0.219333
  4  0.146091
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/297895': 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) = 5959.8913054
delta logL = 0.0219285082321

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.973e+00  1.370e+01  0.000e+00  1.000e+06 ( 1.000e-13)
431        Index:  3.082e+00  2.694e+00  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:  9.666e-01  1.461e-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:  7.128e-01  2.193e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 353.557 7.602

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/297895/cmap_HighResolution_696297601_696556801_4FGL_J2334.2+0736_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.10e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2023-01-28 02:01:49.106338', job_id='297895', GAL2='0.97', fit_tolerance='1e-08', EG2='0.71', EG='0.72', time_epoch_completed='1674900109.11', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='2.19e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1763' AND source_name='4FGL J2334.2+0736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 02:01:49 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 297895: <4FGL_J2334.2+0736_daily_bin1763> in cluster <slac> Done

Job <4FGL_J2334.2+0736_daily_bin1763> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Jan 28 01:50:22 2023
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 01:51:37 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 01:51:37 2023
Terminated at Sat Jan 28 02:01:49 2023
Results reported at Sat Jan 28 02:01:49 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_daily_bin1763 353.557 7.602 696297601 696556801 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 :                                   529.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             365.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   612 sec.
    Turnaround time :                            687 sec.

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

