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 211 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2025.2+0317_daily_bin1702
RA = 306.309, Dec = 3.2893
tmin = 680486401, tmax = 680745601
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='257548', job_status='RUN', time_executed='2022-07-29 01:35:12.743514', time_epoch_executed='1659083712.74' WHERE source_name='4FGL J2025.2+0317' and cadence='daily' and bin_id='1702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/257548

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/257548/ft1_4FGL_J2025.2+0317_daily_bin1702.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/257548/ft2_4FGL_J2025.2+0317_daily_bin1702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/257548/ft1_4FGL_J2025.2+0317_daily_bin1702.fits outfile=/scratch/kocevski/257548/ft1_filteredMKT_4FGL_J2025.2+0317_daily_bin1702.fits ra=306.309 dec=3.2893 rad=12.0 tmin=680486401.0 tmax=680745601.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 2.96
user 2.72
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/257548/ft2_4FGL_J2025.2+0317_daily_bin1702.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/257548/ft2_4FGL_J2025.2+0317_daily_bin1702.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/257548/ft1_filteredMKT_4FGL_J2025.2+0317_daily_bin1702.fits evtable="EVENTS" outfile="/scratch/kocevski/257548/ft1_filtered_4FGL_J2025.2+0317_daily_bin1702.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.34
sys 0.15

Number of photons that the gtmktime cut: 323

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/257548/ft1_filtered_4FGL_J2025.2+0317_daily_bin1702.fits" evtable="EVENTS" scfile=/scratch/kocevski/257548/ft2_4FGL_J2025.2+0317_daily_bin1702.fits sctable="SC_DATA" outfile=/scratch/kocevski/257548/ltcube_680486401_680745601_4FGL_J2025.2+0317_daily_bin1702.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/257548/ft2_4FGL_J2025.2+0317_daily_bin1702.fits
.....................!
real 14.92
user 14.37
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/257548/ft1_filtered_4FGL_J2025.2+0317_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/257548/ft2_4FGL_J2025.2+0317_daily_bin1702.fits sctable="SC_DATA" expcube=/scratch/kocevski/257548/ltcube_680486401_680745601_4FGL_J2025.2+0317_daily_bin1702.fits outfile=/scratch/kocevski/257548/expmap_680486401_680745601_4FGL_J2025.2+0317_daily_bin1702.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/257548/ltcube_680486401_680745601_4FGL_J2025.2+0317_daily_bin1702.fits
.....................!
real 191.99
user 185.82
sys 5.50

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HESS J1857+026 in ROI with RadialDisk spatial model.
Extended source G42.8+0.6 in ROI with RadialDisk spatial model.
Extended source W 51C in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W51C.fits is the correct path to the extended template.
Added 243 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2025.2+0317 @ 306.309 3.2893

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/257548/ft1_filtered_4FGL_J2025.2+0317_daily_bin1702.fits scfile=/scratch/kocevski/257548/ft2_4FGL_J2025.2+0317_daily_bin1702.fits outfile=/scratch/kocevski/257548/cmap_680486401_680745601_4FGL_J2025.2+0317_daily_bin1702.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=306.309 yref=3.2893 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/257548/ft1_filtered_4FGL_J2025.2+0317_daily_bin1702.fits scfile=/scratch/kocevski/257548/ft2_4FGL_J2025.2+0317_daily_bin1702.fits outfile=/scratch/kocevski/257548/cmap_HighResolution_680486401_680745601_4FGL_J2025.2+0317_daily_bin1702.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=306.309 yref=3.2893 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/257548/ft1_filtered_4FGL_J2025.2+0317_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/257548/ft2_4FGL_J2025.2+0317_daily_bin1702.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/257548/Model_4FGL_J2025.2+0317_daily_bin1702.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 G42.8+0.6
adding source GAL_V02
adding source HESS J1857+026
adding source W 51C
Working on...
/scratch/kocevski/257548/ft1_filtered_4FGL_J2025.2+0317_daily_bin1702.fits.....................!
real 76.16
user 74.72
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/257548/ft1_filtered_4FGL_J2025.2+0317_daily_bin1702.fits', '/scratch/kocevski/257548/ft2_4FGL_J2025.2+0317_daily_bin1702.fits', expMap='/scratch/kocevski/257548/expmap_680486401_680745601_4FGL_J2025.2+0317_daily_bin1702.fits', expCube='/scratch/kocevski/257548/ltcube_680486401_680745601_4FGL_J2025.2+0317_daily_bin1702.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/257548/Model_4FGL_J2025.2+0317_daily_bin1702.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2025.2+0317'

4FGL J2025.2+0317
   Spectrum: PowerLaw
516    Prefactor:  4.383e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
517        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
518        Scale:  1.558e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/257548/ft1_filtered_4FGL_J2025.2+0317_daily_bin1702.fits
Spacecraft file(s): /scratch/kocevski/257548/ft2_4FGL_J2025.2+0317_daily_bin1702.fits
Exposure map: /scratch/kocevski/257548/expmap_680486401_680745601_4FGL_J2025.2+0317_daily_bin1702.fits
Exposure cube: /scratch/kocevski/257548/ltcube_680486401_680745601_4FGL_J2025.2+0317_daily_bin1702.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/257548/Model_4FGL_J2025.2+0317_daily_bin1702.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) = 3767.12373618

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.638       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10214E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    70.950       1.0000         .10000E-03   10000.    
     4 'Prefactor '    34.043       1.0000         .10000E-03   10000.    
     5 'norm      '    .27603       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12143E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.975       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10220E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    141.53       1.0000         .10000E-03   10000.    
    11 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10237E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    .29507       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .92720       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8570E+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=   3767.108     FROM MIGRAD    STATUS=CONVERGED    493 CALLS     1709 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.625        34.861        .92774E-04   -.12254E-05
   2  Prefactor     .10000E-03    78.851        .18142E-02** at limit **
   3  Prefactor     70.987        127.58        .47659E-04    .11212E-04
   4  Prefactor     34.049        33.100        .68681E-04    .76143E-05
   5  norm          .11299        23.279        .10006       -.18676E-04
   6  Prefactor     .10006E-03    6891.2        .36285E-02** at limit **
   7  Prefactor     12.955        19.852        .11120E-03    .31979E-03
   8  Prefactor     .10000E-03    21.060        .18142E-02** at limit **
   9  norm          .10000E-03    1.0614        .93603E-03** at limit **
  10  Prefactor     141.48        108.67        .16932E-03    .22473E-03
  11  norm          .10000E-03    19.530        .18142E-02** at limit **
  12  Prefactor     .10000E-03    19.343        .18142E-02** at limit **
  13  Prefactor     .10000E-03    61.982        .18142E-02** at limit **
  14  Normalizat    .29494        .57872        .95539E-03    .10217E-03
  15  Prefactor     .92725        .13001        .12742E-03    .59914E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.6251
  Prefactor  = 0.0001
  Prefactor  = 70.9875
  Prefactor  = 34.0492
  norm       = 0.112988
  Prefactor  = 0.000100057
  Prefactor  = 12.9554
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 141.477
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.294937
  Prefactor  = 0.927253
 **********
 **   18 **HESSE 
 **********

 FCN=   3767.108     FROM HESSE     STATUS=OK           176 CALLS     1885 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.625        34.860        .37110E-05   -1.4845    
   2  Prefactor     .10000E-03    78.854        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     70.987        127.59        .95317E-05   -1.4021    
   4  Prefactor     34.049        33.102        .27472E-05   -1.4540    
   5  norm          .11299        23.125        .10043       -1.5641    
   6  Prefactor     .10006E-03    6898.8        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.955        19.845        .44481E-05   -1.4988    
   8  Prefactor     .10000E-03    21.061        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.0619        .18721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     141.48        108.61        .33863E-04   -1.3323    
  11  norm          .10000E-03    19.533        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    19.344        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    61.982        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .29494        .57702        .38215E-04   -1.2314    
  15  Prefactor     .92725        .12966        .25485E-04   -.95195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15899e-09
Minuit parameter uncertainties:
  1  34.8979
  2  3.42118e-05
  3  128.084
  4  33.1203
  5  3.23271
  6  0.0316586
  7  19.8554
  8  4.40686e-06
  9  5.14785e-05
  10  108.76
  11  7.68938e-05
  12  3.0384e-06
  13  4.74486e-06
  14  0.589275
  15  0.129705
Done.

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

Extracting fit parameters...

4FGL J2025.2+0317
   Spectrum: PowerLaw
516    Prefactor:  3.405e+01  3.312e+01  1.000e-04  1.000e+04 ( 1.000e-13)
517        Index:  2.176e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
518        Scale:  1.558e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
847    Prefactor:  9.273e-01  1.297e-01  0.000e+00  1.000e+01 ( 1.000e+00)
848        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
849        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
843   Normalization:  2.949e-01  5.893e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.83
Ra Dec: 306.309 3.289
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 1.14e-07 +/- 1.11e-07
Energy Flux (Fixed Index): 5.36e-05 +/- 5.21e-05

TS (Fixed Index): 1.83
Ra Dec: 306.309 3.289
Photon Flux Upper Limit: 3.83e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.91e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/257548/likelihoodResults_680486401_680745601_4FGL_J2025.2+0317_daily_bin1702.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) = 3766.71407605
delta logL = 0.393528110656

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3766.68944893
delta logL = 0.418155225328

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.501       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5970       1.0000          .0000       10.000    
     3 'Normalizat'    .34113       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92058       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8570E+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=   3766.689     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      277 TOTAL
                     EDM=   .21E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.420        42.296        .29399E-03    .24749E-05
   2  Index         1.5947        .56902        .78716E-02   -.28596E-05
   3  Normalizat    .34060        .53599        .89511E-03    .19686E-06
   4  Prefactor     .92088        .12474        .12776E-03    .88982E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.42
  Index      = 1.59469
  Normalizat = 0.340599
  Prefactor  = 0.920885
 **********
 **   18 **HESSE 
 **********

 FCN=   3766.689     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .29E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.420        42.511        .11760E-04   -1.4344    
   2  Index         1.5947        .57189        .31487E-03   -.74921    
   3  Normalizat    .34060        .53506        .35804E-04   -1.2049    
   4  Prefactor     .92088        .12453        .51105E-05   -.95415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89856e-14
Minuit parameter uncertainties:
  1  42.5387
  2  0.574237
  3  0.543399
  4  0.124566
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/257548': 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) = 3766.68943526
delta logL = 0.418168900322

Extracting fit parameters...

4FGL J2025.2+0317
   Spectrum: PowerLaw
516    Prefactor:  4.642e+01  4.254e+01  1.000e-04  1.000e+04 ( 1.000e-13)
517        Index:  1.595e+00  5.742e-01  0.000e+00  1.000e+01 (-1.000e+00)
518        Scale:  1.558e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
847    Prefactor:  9.209e-01  1.246e-01  0.000e+00  1.000e+01 ( 1.000e+00)
848        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
849        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
843   Normalization:  3.406e-01  5.434e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.66
Ra Dec: 306.309 3.289
Photon Index (Free Index): 1.59 +/- 0.57
Photon Flux (Free Index): 6.13e-08 +/- 7.61e-08
Energy Flux (Free Index): 1.41e-04 +/- 1.95e-04

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/257548/cmap_HighResolution_680486401_680745601_4FGL_J2025.2+0317_daily_bin1702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.91e-02', comment='SUCCESS', photon_flux='1.14e-07', energy_flux2='1.41e-04', photon_flux_error='1.11e-07', dlogl='4.18e-01', energy_flux='5.36e-05', photon_flux2='6.13e-08', job_status='DONE', time_completed='2022-07-29 01:44:39.247960', photon_index_error2='0.57', photon_index2='1.59', ts='1.83', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='3.83e-07', energy_flux_error2='1.95e-04', EG='0.29', time_epoch_completed='1659084279.25', return_code='0', job_id='257548', GAL2='0.92', EG2='0.34', return_code2='0', energy_flux_error='5.21e-05', photon_flux_error2='7.61e-08', ts2='2.66', photon_index='2.18' WHERE bin_id='1702' AND source_name='4FGL J2025.2+0317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 29 01:44:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 257548: <4FGL_J2025.2+0317_daily_bin1702> in cluster <slac> Done

Job <4FGL_J2025.2+0317_daily_bin1702> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jul 29 01:30:23 2022
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 01:31:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 29 01:31:31 2022
Terminated at Fri Jul 29 01:44:40 2022
Results reported at Fri Jul 29 01:44:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2025.2+0317_daily_bin1702 306.309 3.2893 680486401 680745601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2025.2+0317 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   568.34 sec.
    Max Memory :                                 1036 MB
    Average Memory :                             265.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            857 sec.

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

