/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 121 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 = 7616
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2025.2+0317_daily_bin639
RA = 306.309, Dec = 3.2893
tmin = 404956801, tmax = 405216001
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='903775', job_status='RUN', time_executed='2021-09-25 03:48:55.303145', time_epoch_executed='1632566935.3' WHERE source_name='4FGL J2025.2+0317' and cadence='daily' and bin_id='639'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/903775

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/903775/ft1_4FGL_J2025.2+0317_daily_bin639.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/903775/ft2_4FGL_J2025.2+0317_daily_bin639.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/903775/ft1_4FGL_J2025.2+0317_daily_bin639.fits outfile=/scratch/kocevski/903775/ft1_filteredMKT_4FGL_J2025.2+0317_daily_bin639.fits ra=306.309 dec=3.2893 rad=12.0 tmin=404956801.0 tmax=405216001.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.55
user 2.71
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/903775/ft2_4FGL_J2025.2+0317_daily_bin639.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/903775/ft1_filteredMKT_4FGL_J2025.2+0317_daily_bin639.fits evtable="EVENTS" outfile="/scratch/kocevski/903775/ft1_filtered_4FGL_J2025.2+0317_daily_bin639.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.45
user 0.28
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/903775/ft1_filtered_4FGL_J2025.2+0317_daily_bin639.fits" evtable="EVENTS" scfile=/scratch/kocevski/903775/ft2_4FGL_J2025.2+0317_daily_bin639.fits sctable="SC_DATA" outfile=/scratch/kocevski/903775/ltcube_404956801_405216001_4FGL_J2025.2+0317_daily_bin639.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/903775/ft2_4FGL_J2025.2+0317_daily_bin639.fits
.....................!
real 12.83
user 12.49
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/903775/ft1_filtered_4FGL_J2025.2+0317_daily_bin639.fits evtable="EVENTS" scfile=/scratch/kocevski/903775/ft2_4FGL_J2025.2+0317_daily_bin639.fits sctable="SC_DATA" expcube=/scratch/kocevski/903775/ltcube_404956801_405216001_4FGL_J2025.2+0317_daily_bin639.fits outfile=/scratch/kocevski/903775/expmap_404956801_405216001_4FGL_J2025.2+0317_daily_bin639.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/903775/ltcube_404956801_405216001_4FGL_J2025.2+0317_daily_bin639.fits
.....................!
real 156.81
user 152.24
sys 4.12

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/903775/ft1_filtered_4FGL_J2025.2+0317_daily_bin639.fits scfile=/scratch/kocevski/903775/ft2_4FGL_J2025.2+0317_daily_bin639.fits outfile=/scratch/kocevski/903775/cmap_404956801_405216001_4FGL_J2025.2+0317_daily_bin639.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.67
user 0.31
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/903775/ft1_filtered_4FGL_J2025.2+0317_daily_bin639.fits scfile=/scratch/kocevski/903775/ft2_4FGL_J2025.2+0317_daily_bin639.fits outfile=/scratch/kocevski/903775/cmap_HighResolution_404956801_405216001_4FGL_J2025.2+0317_daily_bin639.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.49
user 0.33
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/903775/ft1_filtered_4FGL_J2025.2+0317_daily_bin639.fits evtable="EVENTS" scfile=/scratch/kocevski/903775/ft2_4FGL_J2025.2+0317_daily_bin639.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/903775/Model_4FGL_J2025.2+0317_daily_bin639.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/903775/ft1_filtered_4FGL_J2025.2+0317_daily_bin639.fits....................!
real 136.76
user 135.17
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/903775/ft1_filtered_4FGL_J2025.2+0317_daily_bin639.fits', '/scratch/kocevski/903775/ft2_4FGL_J2025.2+0317_daily_bin639.fits', expMap='/scratch/kocevski/903775/expmap_404956801_405216001_4FGL_J2025.2+0317_daily_bin639.fits', expCube='/scratch/kocevski/903775/ltcube_404956801_405216001_4FGL_J2025.2+0317_daily_bin639.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/903775/Model_4FGL_J2025.2+0317_daily_bin639.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/903775/ft1_filtered_4FGL_J2025.2+0317_daily_bin639.fits
Spacecraft file(s): /scratch/kocevski/903775/ft2_4FGL_J2025.2+0317_daily_bin639.fits
Exposure map: /scratch/kocevski/903775/expmap_404956801_405216001_4FGL_J2025.2+0317_daily_bin639.fits
Exposure cube: /scratch/kocevski/903775/ltcube_404956801_405216001_4FGL_J2025.2+0317_daily_bin639.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/903775/Model_4FGL_J2025.2+0317_daily_bin639.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) = 9943.55405984

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14197E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    44.230       1.0000         .10000E-03   10000.    
     3 'Prefactor '    49.037       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.2424       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.128       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .92979       1.0000         .10000E-03   10000.    
    10 'Prefactor '    37.358       1.0000         .10000E-03   10000.    
    11 'norm      '    7.7326       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.965       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .92503       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96971       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.

 FCN=   9943.539     FROM MIGRAD    STATUS=CONVERGED    268 CALLS     1356 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    113.06        .89980E-05** at limit **
   2  Prefactor     44.228        30.789        .19363E-06    .71100E-04
   3  Prefactor     49.044        39.473        .71368E-05    .37925E-04
   4  Prefactor     .10000E-03    2.7401        .67754E-07** at limit **
   5  norm          4.2426        1.7519        .52154E-06   -.12102E-03
   6  Prefactor     .10000E-03    6.8539        .17872E-06** at limit **
   7  Prefactor     20.128        15.185        .21823E-05    .18964E-04
   8  Prefactor     .10000E-03    13.869        .23674E-07** at limit **
   9  norm          .92995        .82387        .13454E-06    .11922E-03
  10  Prefactor     37.360        46.183        .32264E-05   -.16505E-05
  11  norm          7.7331        7.7037        .10537E-05   -.56402E-04
  12  Prefactor     .10000E-03    2.0359       -.72706E-06** at limit **
  13  Prefactor     16.069        63.958        .21821E-03    .12393E-04
  14  Normalizat    .92483        .28364       -.35999E-04    .19539E-03
  15  Prefactor     .96974        .75197E-01    .39814E-05   -.12293E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 44.2278
  Prefactor  = 49.0439
  Prefactor  = 0.0001
  norm       = 4.24256
  Prefactor  = 0.0001
  Prefactor  = 20.1282
  Prefactor  = 0.0001
  norm       = 0.92995
  Prefactor  = 37.3603
  norm       = 7.73314
  Prefactor  = 0.0001
  Prefactor  = 16.0694
  Normalizat = 0.92483
  Prefactor  = 0.969736
 **********
 **   18 **HESSE 
 **********

 FCN=   9943.539     FROM HESSE     STATUS=OK           180 CALLS     1536 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    115.74        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     44.228        30.829        .60283E-04   -1.4377    
   3  Prefactor     49.044        39.491        .57265E-04   -1.4306    
   4  Prefactor     .10000E-03    2.7417        .16120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.2426        1.7511        .81796E-04   -1.5296    
   6  Prefactor     .10000E-03    6.8698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.128        14.904        .89276E-04   -1.4810    
   8  Prefactor     .10000E-03    13.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .92995        .78059        .73509E-04   -1.5515    
  10  Prefactor     37.360        45.942        .65572E-04   -1.4485    
  11  norm          7.7331        7.6943        .14421E-03   -1.5152    
  12  Prefactor     .10000E-03    2.0458        .13893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.069        63.863        .10024E-03   -1.4906    
  14  Normalizat    .92483        .30582        .52137E-03   -.95593    
  15  Prefactor     .96974        .82235E-01    .14230E-03   -.93745    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07667e-09
Minuit parameter uncertainties:
  1  0.000485313
  2  30.8398
  3  39.5119
  4  1.45914e-05
  5  1.75114
  6  5.68102e-05
  7  14.9064
  8  9.97052e-05
  9  0.780602
  10  45.9858
  11  7.69528
  12  6.20652e-05
  13  64.1365
  14  0.306399
  15  0.0822455
Done.

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

Extracting fit parameters...

4FGL J2025.2+0317
   Spectrum: PowerLaw
516    Prefactor:  1.000e-04  1.459e-05  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.697e-01  8.225e-02  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:  9.248e-01  3.064e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 306.309 3.289
Photon Flux Upper Limit: 5.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/903775/likelihoodResults_404956801_405216001_4FGL_J2025.2+0317_daily_bin639.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) = 9943.54093908
delta logL = -0.00173140792322

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9943.53920845
delta logL = -7.7781987784e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10708E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1507       1.0000          .0000       10.000    
     3 'Normalizat'    .92477       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96975       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=   9943.539     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      249 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10279E-03    2.3719        .16563E-01** at limit **
   2  Index         2.0657        6.0267        .50000        .64470E-04
   3  Normalizat    .92482        .60474E-02    .52140E-03    .11360E-03
   4  Prefactor     .96974        .17018E-02    .14230E-03   -.97471E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102795
  Index      = 2.06566
  Normalizat = 0.924819
  Prefactor  = 0.969739
 **********
 **   18 **HESSE 
 **********

 FCN=   9943.539     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      278 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10279E-03    31.512        .17041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0657        8.0165        .50000       -.62719    
   3  Normalizat    .92482        .22250E-01    .20856E-04   -.95593    
   4  Prefactor     .96974        .62614E-02    .56919E-05   -.93745    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.9013e-08
Minuit parameter uncertainties:
  1  0.0187781
  2  198.25
  3  0.0222504
  4  0.00626141
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/903775': 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) = 9943.5392062
delta logL = 1.48143772094e-06

Extracting fit parameters...

4FGL J2025.2+0317
   Spectrum: PowerLaw
516    Prefactor:  1.028e-04  1.878e-02  1.000e-04  1.000e+04 ( 1.000e-13)
517        Index:  2.066e+00  1.983e+02  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.697e-01  6.261e-03  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:  9.248e-01  2.225e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 306.309 3.289

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/903775/cmap_HighResolution_404956801_405216001_4FGL_J2025.2+0317_daily_bin639.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.92e-03', job_status='DONE', photon_flux_upper_limit='5.15e-08', time_completed='2021-09-25 04:01:06.685591', job_id='903775', GAL2='0.97', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1632567666.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.48e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='639' AND source_name='4FGL J2025.2+0317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 04:01:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 903775: <4FGL_J2025.2+0317_daily_bin639> in cluster <slac> Done

Job <4FGL_J2025.2+0317_daily_bin639> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Sep 25 03:46:03 2021
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 03:46:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 03:46:43 2021
Terminated at Sat Sep 25 04:01:07 2021
Results reported at Sat Sep 25 04:01:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2025.2+0317_daily_bin639 306.309 3.2893 404956801 405216001 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 :                                   728.49 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             288.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   863 sec.
    Turnaround time :                            904 sec.

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

