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


Performing analysis on: 4FGL_J2250.0+3825_daily_bin1726
RA = 342.514, Dec = 38.4247
tmin = 686707201, tmax = 686966401
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='88374', job_status='RUN', time_executed='2022-10-09 00:39:08.002723', time_epoch_executed='1665301148.0' WHERE source_name='4FGL J2250.0+3825' and cadence='daily' and bin_id='1726'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/88374

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/88374/ft1_4FGL_J2250.0+3825_daily_bin1726.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/88374/ft2_4FGL_J2250.0+3825_daily_bin1726.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/88374/ft1_4FGL_J2250.0+3825_daily_bin1726.fits outfile=/scratch/kocevski/88374/ft1_filteredMKT_4FGL_J2250.0+3825_daily_bin1726.fits ra=342.514 dec=38.4247 rad=12.0 tmin=686707201.0 tmax=686966401.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.11
user 2.91
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/88374/ft2_4FGL_J2250.0+3825_daily_bin1726.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/88374/ft1_filteredMKT_4FGL_J2250.0+3825_daily_bin1726.fits evtable="EVENTS" outfile="/scratch/kocevski/88374/ft1_filtered_4FGL_J2250.0+3825_daily_bin1726.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 645

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/88374/ft1_filtered_4FGL_J2250.0+3825_daily_bin1726.fits" evtable="EVENTS" scfile=/scratch/kocevski/88374/ft2_4FGL_J2250.0+3825_daily_bin1726.fits sctable="SC_DATA" outfile=/scratch/kocevski/88374/ltcube_686707201_686966401_4FGL_J2250.0+3825_daily_bin1726.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/88374/ft2_4FGL_J2250.0+3825_daily_bin1726.fits
.....................!
real 14.07
user 13.68
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/88374/ft1_filtered_4FGL_J2250.0+3825_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/88374/ft2_4FGL_J2250.0+3825_daily_bin1726.fits sctable="SC_DATA" expcube=/scratch/kocevski/88374/ltcube_686707201_686966401_4FGL_J2250.0+3825_daily_bin1726.fits outfile=/scratch/kocevski/88374/expmap_686707201_686966401_4FGL_J2250.0+3825_daily_bin1726.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/88374/ltcube_686707201_686966401_4FGL_J2250.0+3825_daily_bin1726.fits
.....................!
real 191.02
user 185.29
sys 5.37

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/88374/ft1_filtered_4FGL_J2250.0+3825_daily_bin1726.fits scfile=/scratch/kocevski/88374/ft2_4FGL_J2250.0+3825_daily_bin1726.fits outfile=/scratch/kocevski/88374/cmap_686707201_686966401_4FGL_J2250.0+3825_daily_bin1726.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/88374/ft1_filtered_4FGL_J2250.0+3825_daily_bin1726.fits scfile=/scratch/kocevski/88374/ft2_4FGL_J2250.0+3825_daily_bin1726.fits outfile=/scratch/kocevski/88374/cmap_HighResolution_686707201_686966401_4FGL_J2250.0+3825_daily_bin1726.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/88374/ft1_filtered_4FGL_J2250.0+3825_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/88374/ft2_4FGL_J2250.0+3825_daily_bin1726.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/88374/Model_4FGL_J2250.0+3825_daily_bin1726.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/88374/ft1_filtered_4FGL_J2250.0+3825_daily_bin1726.fits.....................!
real 89.70
user 88.29
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/88374/ft1_filtered_4FGL_J2250.0+3825_daily_bin1726.fits', '/scratch/kocevski/88374/ft2_4FGL_J2250.0+3825_daily_bin1726.fits', expMap='/scratch/kocevski/88374/expmap_686707201_686966401_4FGL_J2250.0+3825_daily_bin1726.fits', expCube='/scratch/kocevski/88374/ltcube_686707201_686966401_4FGL_J2250.0+3825_daily_bin1726.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/88374/Model_4FGL_J2250.0+3825_daily_bin1726.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/88374/ft1_filtered_4FGL_J2250.0+3825_daily_bin1726.fits
Spacecraft file(s): /scratch/kocevski/88374/ft2_4FGL_J2250.0+3825_daily_bin1726.fits
Exposure map: /scratch/kocevski/88374/expmap_686707201_686966401_4FGL_J2250.0+3825_daily_bin1726.fits
Exposure cube: /scratch/kocevski/88374/ltcube_686707201_686966401_4FGL_J2250.0+3825_daily_bin1726.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/88374/Model_4FGL_J2250.0+3825_daily_bin1726.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) = 6760.70419184

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.777       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.018       1.0000          .0000       .10000E+07
     3 'norm      '    1.0394       1.0000          .0000       .10000E+07
     4 'norm      '    2.1426       1.0000          .0000       .10000E+07
     5 'Prefactor '    .24018       1.0000          .0000       .10000E+07
     6 'Prefactor '    19.134       1.0000          .0000       .10000E+07
     7 'Prefactor '    .87793E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .42906E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .24433E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    25.227       1.0000          .0000       .10000E+07
    11 'norm      '    .23847E-01   1.0000          .0000       .10000E+07
    12 'norm      '    .18371       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.984       1.0000          .0000       .10000E+07
    14 'norm      '    4.2539       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.0817       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0232       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=   6760.698     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     1079 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.776        1.8836        .87166E-07   -.49024E-02
   2  Prefactor     17.013        1.0111        .81007E-09   -.17233E-01
   3  norm          1.0398        2.0401       -.41011E-06    .78148E-03
   4  norm          2.0462        6.4147        .14909E-05   -.84173E-03
   5  Prefactor     .11657E-08    60.158        .35850E-05** at limit **
   6  Prefactor     19.470        15.964       -.29091E-06    .96398E-04
   7  Prefactor     .55511E-10    25.923        .21270E-05** at limit **
   8  norm           .0000        2.1274       -.88827E-06** at limit **
   9  Prefactor     .55511E-10    21.357       -.14786E-05** at limit **
  10  Prefactor     25.605        21.508        .31926E-06    .43896E-01
  11  norm          .16653E-09    28.265        .25155E-05** at limit **
  12  norm          .55511E-10    50.232        .20605E-06** at limit **
  13  Prefactor     12.944        63.143        .11984E-05   -.11721E-01
  14  norm          4.3064        5.7216       -.26215E-06    .55508E-03
  15  Normalizat    1.0795        .41935        .57658E-04   -.33514E-04
  16  Prefactor     1.0236        .12372       -.17512E-04    .13680E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 16.7759
  Prefactor  = 17.0131
  norm       = 1.03983
  norm       = 2.04624
  Prefactor  = 1.16573e-09
  Prefactor  = 19.4701
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 25.6051
  norm       = 1.66533e-10
  norm       = 5.55112e-11
  Prefactor  = 12.9435
  norm       = 4.30644
  Normalizat = 1.07948
  Prefactor  = 1.02355
 **********
 **   18 **HESSE 
 **********

 FCN=   6760.698     FROM HESSE     STATUS=OK           241 CALLS     1320 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.776        1.9143        .24425E-03   -1.5626    
   2  Prefactor     17.013        22.090        .24252E-03   -1.5625    
   3  norm          1.0398        2.0923        .12296E-02   -1.5688    
   4  norm          2.0462        6.5404        .70381E-03   -1.5679    
   5  Prefactor     .11657E-08    59.045        .11100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.470        16.157        .22869E-03   -1.5620    
   7  Prefactor     .55511E-10    25.961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.1167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    21.144        .16761E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.605        72.638        .19914E-03   -1.5607    
  11  norm          .16653E-09    11.574        .92543E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    49.746        .12073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.944        87.906        .28913E-03   -1.5636    
  14  norm          4.3064        5.7334        .48828E-03   -1.5666    
  15  Normalizat    1.0795        .37924        .12784       -.90413    
  16  Prefactor     1.0236        .11051        .41834E-01   -.91949    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01938e-06
Minuit parameter uncertainties:
  1  1.91433
  2  22.0898
  3  2.09229
  4  6.54038
  5  0.000520234
  6  16.1568
  7  8.98165e-05
  8  1.46111e-05
  9  6.85475e-05
  10  72.6405
  11  8.06412e-05
  12  8.90758e-05
  13  67.4646
  14  5.73336
  15  0.380202
  16  0.110536
Done.

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

Extracting fit parameters...

4FGL J2250.0+3825
   Spectrum: PowerLaw
363    Prefactor:  1.166e-09  5.202e-04  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:  1.024e+00  1.105e-01  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:  1.079e+00  3.802e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 342.514 38.425
Photon Flux Upper Limit: 9.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/88374/likelihoodResults_686707201_686966401_4FGL_J2250.0+3825_daily_bin1726.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) = 6760.70673928
delta logL = -0.00840082670311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6760.68733914
delta logL = 0.0109993147662

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83615       1.0000          .0000       .10000E+07
     2 'Index     '    2.4766       1.0000          .0000       10.000    
     3 'Normalizat'    1.0728       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0236       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6760.687     FROM MIGRAD    STATUS=FAILED        80 CALLS      280 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83289        49.567        .20111E-04   -.11164E-01
   2  Index         2.4725        6.2347        .10069E-01   -.45598E-03
   3  Normalizat    1.0731        .39974        .56890E-03   -.11069E-02
   4  Prefactor     1.0236        .12060        .17432E-03   -.31056E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6760.687     FROM SIMPLEX   STATUS=UNCHANGED     86 CALLS      366 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83289        49.567        .53572E-04   -1.5690    
   2  Index         2.4725        6.2347        .28337E-02   -.52997    
   3  Normalizat    1.0731        .39974        .23267E-03   -.90620    
   4  Prefactor     1.0236        .12060        .69876E-04   -.91948    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6760.687     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      397 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83193        20.416        .80445E-06   -.63944E-03
   2  Index         2.4731        2.5975        .40276E-03   -.76777E-05
   3  Normalizat    1.0731        .39961        .11378E-03    .35071E-04
   4  Prefactor     1.0236        .12046        .34865E-04    .10291E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.831927
  Index      = 2.47307
  Normalizat = 1.07312
  Prefactor  = 1.02357
 **********
 **   18 **HESSE 
 **********

 FCN=   6760.687     FROM HESSE     STATUS=OK            23 CALLS      420 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83193        20.045        .37407E-06   -1.5690    
   2  Index         2.4731        2.5768        .16110E-04   -.52983    
   3  Normalizat    1.0731        .39963        .22756E-04   -.90620    
   4  Prefactor     1.0236        .12046        .69729E-05   -.91948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78863e-11
Minuit parameter uncertainties:
  1  8.16737
  2  2.76151
  3  0.400758
  4  0.120492
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/88374': 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) = 6760.68733574
delta logL = 0.011002713245

Extracting fit parameters...

4FGL J2250.0+3825
   Spectrum: PowerLaw
363    Prefactor:  8.319e-01  8.167e+00  0.000e+00  1.000e+06 ( 1.000e-14)
364        Index:  2.473e+00  2.762e+00  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:  1.024e+00  1.205e-01  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:  1.073e+00  4.008e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 342.514 38.425

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/88374/cmap_HighResolution_686707201_686966401_4FGL_J2250.0+3825_daily_bin1726.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.28e-03', job_status='DONE', photon_flux_upper_limit='9.95e-08', time_completed='2022-10-09 00:48:27.056665', job_id='88374', GAL2='1.02', fit_tolerance='1e-08', EG2='1.07', EG='1.08', time_epoch_completed='1665301707.06', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.10e-02', ts2='0.02', photon_index_error='0.00', photon_index='1.73' WHERE bin_id='1726' AND source_name='4FGL J2250.0+3825' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct  9 00:48:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 88374: <4FGL_J2250.0+3825_daily_bin1726> in cluster <slac> Done

Job <4FGL_J2250.0+3825_daily_bin1726> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Oct  9 00:35:55 2022
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct  9 00:36:06 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct  9 00:36:06 2022
Terminated at Sun Oct  9 00:48:27 2022
Results reported at Sun Oct  9 00:48:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.0+3825_daily_bin1726 342.514 38.4247 686707201 686966401 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 :                                   561.42 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             283.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            752 sec.

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

