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


Performing analysis on: 4FGL_J2325.7+1821_weekly_bin741
RA = 351.436, Dec = 18.3654
tmin = 687139201, tmax = 687744001
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='397932', job_status='RUN', time_executed='2022-10-18 01:48:41.907629', time_epoch_executed='1666082921.91' WHERE source_name='4FGL J2325.7+1821' and cadence='weekly' and bin_id='741'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/397932

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/397932/ft1_4FGL_J2325.7+1821_weekly_bin741.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/397932/ft2_4FGL_J2325.7+1821_weekly_bin741.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/397932/ft1_4FGL_J2325.7+1821_weekly_bin741.fits outfile=/scratch/kocevski/397932/ft1_filteredMKT_4FGL_J2325.7+1821_weekly_bin741.fits ra=351.436 dec=18.3654 rad=12.0 tmin=687139201.0 tmax=687744001.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.75
user 6.47
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/397932/ft2_4FGL_J2325.7+1821_weekly_bin741.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/397932/ft2_4FGL_J2325.7+1821_weekly_bin741.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/397932/ft1_filteredMKT_4FGL_J2325.7+1821_weekly_bin741.fits evtable="EVENTS" outfile="/scratch/kocevski/397932/ft1_filtered_4FGL_J2325.7+1821_weekly_bin741.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.16

Number of photons that the gtmktime cut: 713

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/397932/ft1_filtered_4FGL_J2325.7+1821_weekly_bin741.fits" evtable="EVENTS" scfile=/scratch/kocevski/397932/ft2_4FGL_J2325.7+1821_weekly_bin741.fits sctable="SC_DATA" outfile=/scratch/kocevski/397932/ltcube_687139201_687744001_4FGL_J2325.7+1821_weekly_bin741.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/397932/ft2_4FGL_J2325.7+1821_weekly_bin741.fits
.....................!
real 27.26
user 26.87
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/397932/ft1_filtered_4FGL_J2325.7+1821_weekly_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/397932/ft2_4FGL_J2325.7+1821_weekly_bin741.fits sctable="SC_DATA" expcube=/scratch/kocevski/397932/ltcube_687139201_687744001_4FGL_J2325.7+1821_weekly_bin741.fits outfile=/scratch/kocevski/397932/expmap_687139201_687744001_4FGL_J2325.7+1821_weekly_bin741.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/397932/ltcube_687139201_687744001_4FGL_J2325.7+1821_weekly_bin741.fits
.....................!
real 190.63
user 184.96
sys 5.29

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

Setting source of interest to:
4FGL J2325.7+1821 @ 351.436 18.3654

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/397932/ft1_filtered_4FGL_J2325.7+1821_weekly_bin741.fits scfile=/scratch/kocevski/397932/ft2_4FGL_J2325.7+1821_weekly_bin741.fits outfile=/scratch/kocevski/397932/cmap_687139201_687744001_4FGL_J2325.7+1821_weekly_bin741.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=351.436 yref=18.3654 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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/397932/ft1_filtered_4FGL_J2325.7+1821_weekly_bin741.fits scfile=/scratch/kocevski/397932/ft2_4FGL_J2325.7+1821_weekly_bin741.fits outfile=/scratch/kocevski/397932/cmap_HighResolution_687139201_687744001_4FGL_J2325.7+1821_weekly_bin741.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=351.436 yref=18.3654 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.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/397932/ft1_filtered_4FGL_J2325.7+1821_weekly_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/397932/ft2_4FGL_J2325.7+1821_weekly_bin741.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/397932/Model_4FGL_J2325.7+1821_weekly_bin741.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/397932/ft1_filtered_4FGL_J2325.7+1821_weekly_bin741.fits.....................!
real 87.51
user 86.08
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/397932/ft1_filtered_4FGL_J2325.7+1821_weekly_bin741.fits', '/scratch/kocevski/397932/ft2_4FGL_J2325.7+1821_weekly_bin741.fits', expMap='/scratch/kocevski/397932/expmap_687139201_687744001_4FGL_J2325.7+1821_weekly_bin741.fits', expCube='/scratch/kocevski/397932/ltcube_687139201_687744001_4FGL_J2325.7+1821_weekly_bin741.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/397932/Model_4FGL_J2325.7+1821_weekly_bin741.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.7+1821'

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  3.854e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/397932/ft1_filtered_4FGL_J2325.7+1821_weekly_bin741.fits
Spacecraft file(s): /scratch/kocevski/397932/ft2_4FGL_J2325.7+1821_weekly_bin741.fits
Exposure map: /scratch/kocevski/397932/expmap_687139201_687744001_4FGL_J2325.7+1821_weekly_bin741.fits
Exposure cube: /scratch/kocevski/397932/ltcube_687139201_687744001_4FGL_J2325.7+1821_weekly_bin741.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/397932/Model_4FGL_J2325.7+1821_weekly_bin741.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) = 7231.73478558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 7231.46947463

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4735       1.0000          .0000       .10000E+07
     2 'Prefactor '    .45324E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .48963E-02   1.0000          .0000       .10000E+07
     4 'norm      '    1.5475       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.3275       1.0000          .0000       .10000E+07
     6 'Prefactor '    .90342E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    5.4461       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .98503       1.0000          .0000       .10000E+07
     9 'Prefactor '    63.943       1.0000          .0000       .10000E+07
    10 'Prefactor '    89.333       1.0000          .0000       .10000E+07
    11 'Prefactor '    12.267       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.5640       1.0000          .0000       .10000E+07
    13 'Prefactor '    .28752E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .35703E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    18.600       1.0000          .0000       .10000E+07
    16 'Prefactor '    .22316E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .83211E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    13.879       1.0000          .0000       .10000E+07
    19 'Normalizat'    .12289       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3161       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7231.466     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     1608 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5087        6.3983       -.74357E-06   -.39437E-02
   2  Prefactor     .65464E-06    51.155        .59944E-05** at limit **
   3  Prefactor     .51625E-08    23.635        .11908E-04** at limit **
   4  norm          1.5481        1.1530        .11802E-06    .18792E-01
   5  Prefactor     7.3948        1.2898       -.24329E-06    .21310E-03
   6  Prefactor     .77716E-09    5.5502        .25994E-05** at limit **
   7  Prefactor     5.4480        .37964       -.28849E-06   -.10428E-02
   8  Prefactor     .90589        .83913        .83487E-06    .24891E-03
   9  Prefactor     64.895        24.884       -.21214E-05   -.49183E-01
  10  Prefactor     92.084        50.491        .40723E-05   -.23335E-01
  11  Prefactor     12.371        9.1357        .30496E-06    .29968E-03
  12  Prefactor     3.5231        7.1144       -.14516E-06   -.34087E-03
  13  Prefactor      .0000        12.212       -.12864E-06** at limit **
  14  norm          .27756E-09    8.5767        .86914E-06** at limit **
  15  Prefactor     18.737        10.727       -.91815E-07   -.55657E-03
  16  Prefactor     .48295E-08    31.541       -.75931E-05** at limit **
  17  norm          .15543E-08    21.532       -.89852E-05** at limit **
  18  Prefactor     14.045        13.133        .24652E-06    .13358E-02
  19  Normalizat    .11939        .30948       -.67821E-04   -.41142E-04
  20  Prefactor     1.3157        .17613        .12976E-04   -.38346E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.5087
  Prefactor  = 6.54643e-07
  Prefactor  = 5.16254e-09
  norm       = 1.54807
  Prefactor  = 7.39483
  Prefactor  = 7.77156e-10
  Prefactor  = 5.44802
  Prefactor  = 0.905892
  Prefactor  = 64.8953
  Prefactor  = 92.0842
  Prefactor  = 12.3714
  Prefactor  = 3.52309
  Prefactor  = 0
  norm       = 2.77556e-10
  Prefactor  = 18.7369
  Prefactor  = 4.82947e-09
  norm       = 1.55431e-09
  Prefactor  = 14.0455
  Normalizat = 0.119393
  Prefactor  = 1.31567
 **********
 **   18 **HESSE 
 **********

 FCN=   7231.466     FROM HESSE     STATUS=NOT POSDEF   337 CALLS     1945 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5087        20.008        .47582E-03   -1.5665    
   2  Prefactor     .65464E-06    54.210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .51625E-08    21.780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.5481        1.1331        .85617E-03   -1.5683    
   5  Prefactor     7.3948        26.881        .37029E-03   -1.5654    
   6  Prefactor     .77716E-09    5.0726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.4480        .60517        .29796E-02   -1.5241    
   8  Prefactor     .90589        25.181        .43235E-03   -1.5689    
   9  Prefactor     64.895        59.958        .12506E-03   -1.5547    
  10  Prefactor     92.084        62.446        .10581E-03   -1.5516    
  11  Prefactor     12.371        17.923        .28576E-03   -1.5638    
  12  Prefactor     3.5231        7.1932        .53510E-03   -1.5670    
  13  Prefactor      .0000        11.156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .27756E-09    7.7968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     18.737        22.341        .23196E-03   -1.5621    
  16  Prefactor     .48295E-08    28.842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .15543E-08    19.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.045        24.456        .26860E-03   -1.5633    
  19  Normalizat    .11939        7.4163        .25171       -1.3611    
  20  Prefactor     1.3157        .94598        .47625E-01   -.82842    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.75681e-07
Minuit parameter uncertainties:
  1  18.9959
  2  0.0119143
  3  0.000670337
  4  1.1331
  5  26.8815
  6  0.000127721
  7  0.605171
  8  9.55233
  9  59.9589
  10  62.4469
  11  17.9233
  12  7.19323
  13  1.32333e-05
  14  9.6353e-05
  15  22.3413
  16  0.000747196
  17  0.000347293
  18  24.456
  19  1.8421
  20  0.958787
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 7231.46634381

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  0.000e+00  1.323e-05  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  1.316e+00  9.588e-01  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  1.194e-01  1.842e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 351.436 18.365
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/397932/likelihoodResults_687139201_687744001_4FGL_J2325.7+1821_weekly_bin741.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) = 7231.50559241
delta logL = -0.0392486031205

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7231.46634397
delta logL = -1.62329342857e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7231.466     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      214 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15543E-08    12.347       -.17839E-05** at limit **
   2  Index         2.4317        6.2142        .85211E-04    .15033E-09
   3  Normalizat    .11939        .29070        .39421E-04   -.64543E-04
   4  Prefactor     1.3157        .17566       -.10429E-04   -.36934E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.55431e-09
  Index      = 2.43167
  Normalizat = 0.119391
  Prefactor  = 1.31567
 **********
 **   18 **HESSE 
 **********

 FCN=   7231.466     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      251 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15543E-08    13.671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4317        5.8765        .44218       -.53945    
   3  Normalizat    .11939        .60323E-02    .25171       -1.3611    
   4  Prefactor     1.3157        .40510E-02    .47625E-01   -.82842    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.86587e-10
Minuit parameter uncertainties:
  1  0.000291457
  2  258774
  3  0.00603232
  4  0.004051
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/397932': 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) = 7231.46634381
delta logL = -4.36557456851e-11

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.554e-09  2.915e-04  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  2.432e+00  2.588e+05  0.000e+00  1.000e+01 (-1.000e+00)
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  1.316e+00  4.051e-03  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  1.194e-01  6.032e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 351.436 18.365

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/397932/cmap_HighResolution_687139201_687744001_4FGL_J2325.7+1821_weekly_bin741.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.98e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2022-10-18 01:59:36.323888', job_id='397932', GAL2='1.32', fit_tolerance='1e-08', EG2='0.12', EG='0.12', time_epoch_completed='1666083576.32', return_code2='102', ts='0.00', comment='SUCCESS', return_code='102', GAL='1.32', dlogl='-4.37e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='741' AND source_name='4FGL J2325.7+1821' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 18 01:59:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 397932: <4FGL_J2325.7+1821_weekly_bin741> in cluster <slac> Done

Job <4FGL_J2325.7+1821_weekly_bin741> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Oct 18 01:45:20 2022
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 18 01:45:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 18 01:45:22 2022
Terminated at Tue Oct 18 01:59:37 2022
Results reported at Tue Oct 18 01:59:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_weekly_bin741 351.436 18.3654 687139201 687744001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.7+1821 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   655.03 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             269.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   855 sec.
    Turnaround time :                            857 sec.

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

