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


Performing analysis on: 4FGL_J2334.2+0736_weekly_bin760
RA = 353.557, Dec = 7.602
tmin = 698630401, tmax = 699235201
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='45236', job_status='RUN', time_executed='2023-02-28 02:41:12.870396', time_epoch_executed='1677580872.87' WHERE source_name='4FGL J2334.2+0736' and cadence='weekly' and bin_id='760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/45236

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/45236/ft1_4FGL_J2334.2+0736_weekly_bin760.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/45236/ft2_4FGL_J2334.2+0736_weekly_bin760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/45236/ft1_4FGL_J2334.2+0736_weekly_bin760.fits outfile=/scratch/kocevski/45236/ft1_filteredMKT_4FGL_J2334.2+0736_weekly_bin760.fits ra=353.557 dec=7.602 rad=12.0 tmin=698630401.0 tmax=699235201.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 6.32
user 5.97
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/45236/ft2_4FGL_J2334.2+0736_weekly_bin760.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/45236/ft1_filteredMKT_4FGL_J2334.2+0736_weekly_bin760.fits evtable="EVENTS" outfile="/scratch/kocevski/45236/ft1_filtered_4FGL_J2334.2+0736_weekly_bin760.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.54
user 0.38
sys 0.15

Number of photons that the gtmktime cut: 1114

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/45236/ft1_filtered_4FGL_J2334.2+0736_weekly_bin760.fits" evtable="EVENTS" scfile=/scratch/kocevski/45236/ft2_4FGL_J2334.2+0736_weekly_bin760.fits sctable="SC_DATA" outfile=/scratch/kocevski/45236/ltcube_698630401_699235201_4FGL_J2334.2+0736_weekly_bin760.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/45236/ft2_4FGL_J2334.2+0736_weekly_bin760.fits
.....................!
real 33.64
user 32.96
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/45236/ft1_filtered_4FGL_J2334.2+0736_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/45236/ft2_4FGL_J2334.2+0736_weekly_bin760.fits sctable="SC_DATA" expcube=/scratch/kocevski/45236/ltcube_698630401_699235201_4FGL_J2334.2+0736_weekly_bin760.fits outfile=/scratch/kocevski/45236/expmap_698630401_699235201_4FGL_J2334.2+0736_weekly_bin760.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/45236/ltcube_698630401_699235201_4FGL_J2334.2+0736_weekly_bin760.fits
.....................!
real 193.78
user 186.88
sys 4.66

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/45236/ft1_filtered_4FGL_J2334.2+0736_weekly_bin760.fits scfile=/scratch/kocevski/45236/ft2_4FGL_J2334.2+0736_weekly_bin760.fits outfile=/scratch/kocevski/45236/cmap_698630401_699235201_4FGL_J2334.2+0736_weekly_bin760.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.59
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/45236/ft1_filtered_4FGL_J2334.2+0736_weekly_bin760.fits scfile=/scratch/kocevski/45236/ft2_4FGL_J2334.2+0736_weekly_bin760.fits outfile=/scratch/kocevski/45236/cmap_HighResolution_698630401_699235201_4FGL_J2334.2+0736_weekly_bin760.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.60
user 0.43
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.194       1.0000          .0000       .10000E+07
     2 'Prefactor '    .60745E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.0603       1.0000          .0000       .10000E+07
     4 'Prefactor '    36.820       1.0000          .0000       .10000E+07
     5 'norm      '    .39848       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16726E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    21.425       1.0000          .0000       .10000E+07
     8 'Prefactor '    .20729E-01   1.0000          .0000       .10000E+07
     9 'norm      '    2.8328       1.0000          .0000       .10000E+07
    10 'Prefactor '    8.4785       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.1236       1.0000          .0000       .10000E+07
    12 'norm      '    .17025E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .92815E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    8.1038       1.0000          .0000       .10000E+07
    15 'Prefactor '    37.052       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.0247       1.0000          .0000       .10000E+07
    17 'Prefactor '    .63968E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0216       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .86247       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=   12996.64     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1146 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.720        3.3417       -.14534E-06   -.46189E-01
   2  Prefactor     .55511E-10    48.605        .21245E-05** at limit **
   3  Prefactor     1.0603        1.4530        .25493E-06   -.17067E-02
   4  Prefactor     36.774        1.1738        .24510E-08    .56274E-02
   5  norm          .39858        .95700        .14735E-06    .48041E-03
   6  Prefactor     .55511E-09    21.562        .32589E-05** at limit **
   7  Prefactor     21.502        11.863        .84933E-06    .13675E-01
   8  Prefactor     .55511E-10    27.222       -.99525E-06** at limit **
   9  norm          2.8231        6.2105        .26833E-06   -.27503E-03
  10  Prefactor     8.4760        7.0802        .31976E-06   -.13212E-02
  11  Prefactor     7.0673        21.328       -.34837E-05    .55812E-02
  12  norm           .0000        2.4209        .16559E-05** at limit **
  13  norm          .64393E-08    8.6834       -.29566E-06** at limit **
  14  Prefactor     8.0753        6.5543        .10970E-07    .12625E-03
  15  Prefactor     38.462        33.686        .63862E-06   -.52374E-02
  16  Prefactor     6.1750        3.0167       -.61023E-07   -.33545E-01
  17  Prefactor      .0000        2.4262        .51320E-06** at limit **
  18  Normalizat    1.0198        .17366       -.58519E-05    .57828E-04
  19  Prefactor     .86283        .10332        .59974E-05    .15763E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.72
  Prefactor  = 5.55112e-11
  Prefactor  = 1.06034
  Prefactor  = 36.7735
  norm       = 0.398579
  Prefactor  = 5.55112e-10
  Prefactor  = 21.5023
  Prefactor  = 5.55112e-11
  norm       = 2.82307
  Prefactor  = 8.47601
  Prefactor  = 7.06729
  norm       = 0
  norm       = 6.43929e-09
  Prefactor  = 8.07534
  Prefactor  = 38.4619
  Prefactor  = 6.17505
  Prefactor  = 0
  Normalizat = 1.01975
  Prefactor  = 0.862831
 **********
 **   18 **HESSE 
 **********

 FCN=   12996.64     FROM HESSE     STATUS=OK           314 CALLS     1460 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.720        14.429        .24127E-03   -1.5624    
   2  Prefactor     .55511E-10    47.862        .15136E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.0603        2.0455        .36651E-02   -1.5687    
   4  Prefactor     36.774        23.160        .16482E-03   -1.5587    
   5  norm          .39858        1.0089        .39603E-02   -1.5695    
   6  Prefactor     .55511E-09    21.441        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     21.502        11.916        .21611E-03   -1.5615    
   8  Prefactor     .55511E-10    27.107        .16989E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.8231        6.3729        .60394E-03   -1.5674    
  10  Prefactor     8.4760        7.1957        .34403E-03   -1.5650    
  11  Prefactor     7.0673        21.963        .37560E-03   -1.5655    
  12  norm           .0000        2.4189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .64393E-08    8.7975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.0753        6.6842        .35196E-03   -1.5651    
  15  Prefactor     38.462        33.671        .16430E-03   -1.5584    
  16  Prefactor     6.1750        14.321        .40883E-03   -1.5658    
  17  Prefactor      .0000        2.4153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0198        .15100        .71259E-01   -.92372    
  19  Prefactor     .86283        .88971E-01    .44525E-01   -.97452    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.7891e-07
Minuit parameter uncertainties:
  1  14.4293
  2  9.94098e-05
  3  2.04547
  4  23.1598
  5  1.00894
  6  0.000216245
  7  11.9157
  8  6.95612e-05
  9  6.37293
  10  7.19567
  11  21.9629
  12  6.28389e-06
  13  0.000476414
  14  6.68422
  15  33.6715
  16  14.3207
  17  2.88369e-06
  18  0.151066
  19  0.0889861
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  7.067e+00  2.196e+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:  8.628e-01  8.899e-02  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:  1.020e+00  1.511e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 353.557 7.602
Photon Flux Upper Limit: 9.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/45236/likelihoodResults_698630401_699235201_4FGL_J2334.2+0736_weekly_bin760.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) = 12996.3811965
delta logL = 0.260411042915

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12996.3758706
delta logL = 0.265736976642

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.470       1.0000          .0000       .10000E+07
     2 'Index     '    1.7751       1.0000          .0000       10.000    
     3 'Normalizat'    1.0292       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85429       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=   12996.38     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      330 TOTAL
                     EDM=   .48E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.469        27.094        .90683E-05   -.72713E-04
   2  Index         1.7751        .70117        .13651E-01   -.10659E-04
   3  Normalizat    1.0291        .16601        .31401E-03   -.23098E-04
   4  Prefactor     .85431        .10317        .20931E-03   -.46819E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.4688
  Index      = 1.77514
  Normalizat = 1.0291
  Prefactor  = 0.854312
 **********
 **   18 **HESSE 
 **********

 FCN=   12996.38     FROM HESSE     STATUS=OK            25 CALLS      355 TOTAL
                     EDM=   .91E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.469        27.522        .36273E-06   -1.5620    
   2  Index         1.7751        .71248        .54602E-03   -.70099    
   3  Normalizat    1.0291        .16613        .12561E-04   -.92062    
   4  Prefactor     .85431        .10328        .83726E-05   -.97756    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.07828e-13
Minuit parameter uncertainties:
  1  27.5218
  2  0.716674
  3  0.166217
  4  0.103301
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/45236': 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) = 12996.3758705
delta logL = 0.265737055619

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.947e+01  2.752e+01  0.000e+00  1.000e+06 ( 1.000e-13)
431        Index:  1.775e+00  7.167e-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:  8.543e-01  1.033e-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:  1.029e+00  1.662e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/45236/cmap_HighResolution_698630401_699235201_4FGL_J2334.2+0736_weekly_bin760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.59e-03', job_status='DONE', photon_flux_upper_limit='9.77e-08', time_completed='2023-02-28 02:54:02.226578', job_id='45236', GAL2='0.85', fit_tolerance='1e-08', EG2='1.03', EG='1.02', time_epoch_completed='1677581642.23', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='2.66e-01', ts2='0.68', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='760' AND source_name='4FGL J2334.2+0736' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 28 02:54:02 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 45236: <4FGL_J2334.2+0736_weekly_bin760> in cluster <slac> Done

Job <4FGL_J2334.2+0736_weekly_bin760> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Feb 28 02:40:24 2023
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 28 02:40:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 28 02:40:25 2023
Terminated at Tue Feb 28 02:54:03 2023
Results reported at Tue Feb 28 02:54:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_weekly_bin760 353.557 7.602 698630401 699235201 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 :                                   764.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             382.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            819 sec.

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

