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


Performing analysis on: 4FGL_J2250.0+3825_daily_bin1748
RA = 342.514, Dec = 38.4247
tmin = 692409601, tmax = 692668801
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='898216', job_status='RUN', time_executed='2022-12-14 01:22:31.811812', time_epoch_executed='1671009751.81' WHERE source_name='4FGL J2250.0+3825' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/898216

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/898216/ft1_4FGL_J2250.0+3825_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/898216/ft2_4FGL_J2250.0+3825_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/898216/ft1_4FGL_J2250.0+3825_daily_bin1748.fits outfile=/scratch/kocevski/898216/ft1_filteredMKT_4FGL_J2250.0+3825_daily_bin1748.fits ra=342.514 dec=38.4247 rad=12.0 tmin=692409601.0 tmax=692668801.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.57
user 3.34
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/898216/ft2_4FGL_J2250.0+3825_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/898216/ft2_4FGL_J2250.0+3825_daily_bin1748.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/898216/ft1_filteredMKT_4FGL_J2250.0+3825_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/898216/ft1_filtered_4FGL_J2250.0+3825_daily_bin1748.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 1374

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/898216/ft1_filtered_4FGL_J2250.0+3825_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/898216/ft2_4FGL_J2250.0+3825_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/898216/ltcube_692409601_692668801_4FGL_J2250.0+3825_daily_bin1748.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/898216/ft2_4FGL_J2250.0+3825_daily_bin1748.fits
.....................!
real 12.19
user 11.84
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/898216/ft1_filtered_4FGL_J2250.0+3825_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/898216/ft2_4FGL_J2250.0+3825_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/898216/ltcube_692409601_692668801_4FGL_J2250.0+3825_daily_bin1748.fits outfile=/scratch/kocevski/898216/expmap_692409601_692668801_4FGL_J2250.0+3825_daily_bin1748.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/898216/ltcube_692409601_692668801_4FGL_J2250.0+3825_daily_bin1748.fits
.....................!
real 191.77
user 186.25
sys 5.18

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 FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 163 point sources and 2 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 J2250.0+3825 @ 342.514 38.4247

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/898216/ft1_filtered_4FGL_J2250.0+3825_daily_bin1748.fits scfile=/scratch/kocevski/898216/ft2_4FGL_J2250.0+3825_daily_bin1748.fits outfile=/scratch/kocevski/898216/cmap_692409601_692668801_4FGL_J2250.0+3825_daily_bin1748.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=342.514 yref=38.4247 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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/898216/ft1_filtered_4FGL_J2250.0+3825_daily_bin1748.fits scfile=/scratch/kocevski/898216/ft2_4FGL_J2250.0+3825_daily_bin1748.fits outfile=/scratch/kocevski/898216/cmap_HighResolution_692409601_692668801_4FGL_J2250.0+3825_daily_bin1748.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=342.514 yref=38.4247 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/898216/ft1_filtered_4FGL_J2250.0+3825_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/898216/ft2_4FGL_J2250.0+3825_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/898216/Model_4FGL_J2250.0+3825_daily_bin1748.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/scratch/kocevski/898216/ft1_filtered_4FGL_J2250.0+3825_daily_bin1748.fits.....................!
real 158.34
user 156.72
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/898216/ft1_filtered_4FGL_J2250.0+3825_daily_bin1748.fits', '/scratch/kocevski/898216/ft2_4FGL_J2250.0+3825_daily_bin1748.fits', expMap='/scratch/kocevski/898216/expmap_692409601_692668801_4FGL_J2250.0+3825_daily_bin1748.fits', expCube='/scratch/kocevski/898216/ltcube_692409601_692668801_4FGL_J2250.0+3825_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/898216/Model_4FGL_J2250.0+3825_daily_bin1748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2250.0+3825'

4FGL J2250.0+3825
   Spectrum: PowerLaw
363    Prefactor:  3.066e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
364        Index:  1.733e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
365        Scale:  5.055e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/898216/ft1_filtered_4FGL_J2250.0+3825_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/898216/ft2_4FGL_J2250.0+3825_daily_bin1748.fits
Exposure map: /scratch/kocevski/898216/expmap_692409601_692668801_4FGL_J2250.0+3825_daily_bin1748.fits
Exposure cube: /scratch/kocevski/898216/ltcube_692409601_692668801_4FGL_J2250.0+3825_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/898216/Model_4FGL_J2250.0+3825_daily_bin1748.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) = 13620.5209243

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.585       1.0000          .0000       .10000E+07
     2 'Prefactor '    .14964E-02   1.0000          .0000       .10000E+07
     3 'norm      '    1.5051       1.0000          .0000       .10000E+07
     4 'norm      '    .17875E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    25.357       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.0462       1.0000          .0000       .10000E+07
     7 'Prefactor '    13.772       1.0000          .0000       .10000E+07
     8 'norm      '    3.0979       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.1752       1.0000          .0000       .10000E+07
    10 'Prefactor '    27.016       1.0000          .0000       .10000E+07
    11 'norm      '    1.4837       1.0000          .0000       .10000E+07
    12 'norm      '    .14335E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .20526E-01   1.0000          .0000       .10000E+07
    14 'norm      '    2.4996       1.0000          .0000       .10000E+07
    15 'Normalizat'    .97893       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .94517       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13620.40     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      865 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.585        1.5081       -.35223E-07   -.10262    
   2  Prefactor     .57176E-08    10.185        .27944E-05** at limit **
   3  norm          1.5044        1.0258        .36998E-07   -.25805E-02
   4  norm          .55511E-10    2.1029       -.22252E-06** at limit **
   5  Prefactor     25.954        16.167        .26671E-06    .10938    
   6  Prefactor     5.0708        6.0976       -.57994E-07   -.62685E-02
   7  Prefactor     13.949        7.7810        .85154E-06   -.53448E-01
   8  norm          3.0974        1.2840       -.10361E-06   -.18994E-02
   9  Prefactor     6.9479        9.0257        .28651E-05    .47664E-01
  10  Prefactor     26.888        8.5463       -.83809E-06    .15693    
  11  norm          1.5035        3.8083        .20512E-06   -.75196E-03
  12  norm          .12212E-08    4.0832        .10083E-05** at limit **
  13  Prefactor     .55511E-10    23.601       -.27873E-06** at limit **
  14  norm          2.5064        2.2518       -.26587E-06    .22997E-02
  15  Normalizat    .97952        .21675       -.13486E-04   -.24753E-03
  16  Prefactor     .94494        .76656E-01    .10328E-05   -.91319E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 19.5853
  Prefactor  = 5.71765e-09
  norm       = 1.5044
  norm       = 5.55112e-11
  Prefactor  = 25.9537
  Prefactor  = 5.07083
  Prefactor  = 13.9487
  norm       = 3.09736
  Prefactor  = 6.94792
  Prefactor  = 26.8876
  norm       = 1.50353
  norm       = 1.22125e-09
  Prefactor  = 5.55112e-11
  norm       = 2.50637
  Normalizat = 0.979524
  Prefactor  = 0.944935
 **********
 **   18 **HESSE 
 **********

 FCN=   13620.40     FROM HESSE     STATUS=OK           245 CALLS     1110 TOTAL
                     EDM=   .36E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.585        1.5127        .22604E-03   -1.5619    
   2  Prefactor     .57176E-08    10.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.5044        1.0311        .87206E-03   -1.5683    
   4  norm          .55511E-10    2.1132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     25.954        18.474        .19863E-03   -1.5606    
   6  Prefactor     5.0708        6.1328        .44739E-03   -1.5663    
   7  Prefactor     13.949        22.384        .26964E-03   -1.5633    
   8  norm          3.0974        1.2902        .57591E-03   -1.5673    
   9  Prefactor     6.9479        9.3008        .37424E-03   -1.5655    
  10  Prefactor     26.888        24.306        .19243E-03   -1.5604    
  11  norm          1.5035        4.0611        .88051E-03   -1.5683    
  12  norm          .12212E-08    4.1027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    8.2216        .10597E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.5064        2.2656        .64614E-03   -1.5676    
  15  Normalizat    .97952        .19772        .10165       -.93720    
  16  Prefactor     .94494        .67999E-01    .45578E-01   -.94588    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.58991e-06
Minuit parameter uncertainties:
  1  1.51267
  2  0.000482536
  3  1.03107
  4  1.579e-05
  5  18.4742
  6  6.13281
  7  22.3842
  8  1.29018
  9  9.30077
  10  24.3057
  11  4.06113
  12  0.00014229
  13  4.8952e-05
  14  2.26557
  15  0.197863
  16  0.0680053
Done.

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

Extracting fit parameters...

4FGL J2250.0+3825
   Spectrum: PowerLaw
363    Prefactor:  2.595e+01  1.847e+01  0.000e+00  1.000e+06 ( 1.000e-14)
364        Index:  1.733e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
365        Scale:  5.055e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
550    Prefactor:  9.449e-01  6.801e-02  0.000e+00  1.000e+01 ( 1.000e+00)
551        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
552        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  9.795e-01  1.979e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.51
Ra Dec: 342.514 38.425
Photon Index (Fixed Index): 1.73 +/- 0.00
Photon Flux (Fixed Index): 3.15e-08 +/- 2.24e-08
Energy Flux (Fixed Index): 4.64e-05 +/- 3.30e-05

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) = 13620.3092507
delta logL = 0.0858283005073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13620.3036173
delta logL = 0.0914616633891

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13620.30     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      320 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.848        29.291        .89854E-05    .33402E-03
   2  Index         2.0079        .83761        .70928E-02    .79956E-04
   3  Normalizat    .96132        .22022        .45409E-03   -.13169E-04
   4  Prefactor     .94633        .76092E-01    .16387E-03    .28168E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.8475
  Index      = 2.00795
  Normalizat = 0.961323
  Prefactor  = 0.946331
 **********
 **   18 **HESSE 
 **********

 FCN=   13620.30     FROM HESSE     STATUS=OK            25 CALLS      345 TOTAL
                     EDM=   .47E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.848        21.430        .35941E-06   -1.5619    
   2  Index         2.0079        .61379        .28371E-03   -.64152    
   3  Normalizat    .96132        .21531        .18164E-04   -.94338    
   4  Prefactor     .94633        .75856E-01    .65546E-05   -.94540    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.66752e-12
Minuit parameter uncertainties:
  1  21.4303
  2  0.616219
  3  0.215508
  4  0.0758642
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/898216': 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) = 13620.3036089
delta logL = 0.0914700453377

Extracting fit parameters...

4FGL J2250.0+3825
   Spectrum: PowerLaw
363    Prefactor:  1.985e+01  2.143e+01  0.000e+00  1.000e+06 ( 1.000e-14)
364        Index:  2.008e+00  6.162e-01  0.000e+00  1.000e+01 (-1.000e+00)
365        Scale:  5.055e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
550    Prefactor:  9.463e-01  7.586e-02  0.000e+00  1.000e+01 ( 1.000e+00)
551        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
552        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  9.613e-01  2.155e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.70
Ra Dec: 342.514 38.425
Photon Index (Free Index): 2.01 +/- 0.62
Photon Flux (Free Index): 5.19e-08 +/- 5.75e-08
Energy Flux (Free Index): 3.52e-05 +/- 2.97e-05

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/898216/cmap_HighResolution_692409601_692668801_4FGL_J2250.0+3825_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.15e-08', energy_flux2='3.52e-05', photon_flux_error='2.24e-08', dlogl='9.15e-02', energy_flux='4.64e-05', photon_flux2='5.19e-08', job_status='DONE', time_completed='2022-12-14 01:34:09.740005', photon_index_error2='0.62', photon_index2='2.01', ts='5.51', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='2.97e-05', EG='0.98', time_epoch_completed='1671010449.74', return_code='0', job_id='898216', GAL2='0.95', EG2='0.96', return_code2='0', energy_flux_error='3.30e-05', photon_flux_error2='5.75e-08', ts2='5.70', photon_index='1.73' WHERE bin_id='1748' AND source_name='4FGL J2250.0+3825' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:34:09 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 898216: <4FGL_J2250.0+3825_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2250.0+3825_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 01:20:29 2022
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:20:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:20:30 2022
Terminated at Wed Dec 14 01:34:10 2022
Results reported at Wed Dec 14 01:34:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.0+3825_daily_bin1748 342.514 38.4247 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2250.0+3825 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   700.05 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             366.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            821 sec.

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

