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


Performing analysis on: 4FGL_J0207.5-2402_daily_bin1716
RA = 31.8989, Dec = -24.0484
tmin = 684115201, tmax = 684374401
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='2791', job_status='RUN', time_executed='2022-09-16 10:24:43.610759', time_epoch_executed='1663349083.61' WHERE source_name='4FGL J0207.5-2402' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2791

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2791/ft1_4FGL_J0207.5-2402_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2791/ft2_4FGL_J0207.5-2402_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2791/ft1_4FGL_J0207.5-2402_daily_bin1716.fits outfile=/scratch/kocevski/2791/ft1_filteredMKT_4FGL_J0207.5-2402_daily_bin1716.fits ra=31.8989 dec=-24.0484 rad=12.0 tmin=684115201.0 tmax=684374401.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 4.30
user 3.87
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/2791/ft2_4FGL_J0207.5-2402_daily_bin1716.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/2791/ft2_4FGL_J0207.5-2402_daily_bin1716.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/2791/ft1_filteredMKT_4FGL_J0207.5-2402_daily_bin1716.fits evtable="EVENTS" outfile="/scratch/kocevski/2791/ft1_filtered_4FGL_J0207.5-2402_daily_bin1716.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.31
sys 0.18

Number of photons that the gtmktime cut: 556

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2791/ft1_filtered_4FGL_J0207.5-2402_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/2791/ft2_4FGL_J0207.5-2402_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/2791/ltcube_684115201_684374401_4FGL_J0207.5-2402_daily_bin1716.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/2791/ft2_4FGL_J0207.5-2402_daily_bin1716.fits
.....................!
real 12.03
user 11.64
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2791/ft1_filtered_4FGL_J0207.5-2402_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/2791/ft2_4FGL_J0207.5-2402_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/2791/ltcube_684115201_684374401_4FGL_J0207.5-2402_daily_bin1716.fits outfile=/scratch/kocevski/2791/expmap_684115201_684374401_4FGL_J0207.5-2402_daily_bin1716.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/2791/ltcube_684115201_684374401_4FGL_J0207.5-2402_daily_bin1716.fits
.....................!
real 191.57
user 185.50
sys 5.59

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 Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 174 point sources and 1 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 J0207.5-2402 @ 31.8989 -24.0484

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/2791/ft1_filtered_4FGL_J0207.5-2402_daily_bin1716.fits scfile=/scratch/kocevski/2791/ft2_4FGL_J0207.5-2402_daily_bin1716.fits outfile=/scratch/kocevski/2791/cmap_684115201_684374401_4FGL_J0207.5-2402_daily_bin1716.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=31.8989 yref=-24.0484 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2791/ft1_filtered_4FGL_J0207.5-2402_daily_bin1716.fits scfile=/scratch/kocevski/2791/ft2_4FGL_J0207.5-2402_daily_bin1716.fits outfile=/scratch/kocevski/2791/cmap_HighResolution_684115201_684374401_4FGL_J0207.5-2402_daily_bin1716.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=31.8989 yref=-24.0484 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/2791/ft1_filtered_4FGL_J0207.5-2402_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/2791/ft2_4FGL_J0207.5-2402_daily_bin1716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/2791/Model_4FGL_J0207.5-2402_daily_bin1716.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/2791/ft1_filtered_4FGL_J0207.5-2402_daily_bin1716.fits.....................!
real 121.60
user 120.11
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/2791/ft1_filtered_4FGL_J0207.5-2402_daily_bin1716.fits', '/scratch/kocevski/2791/ft2_4FGL_J0207.5-2402_daily_bin1716.fits', expMap='/scratch/kocevski/2791/expmap_684115201_684374401_4FGL_J0207.5-2402_daily_bin1716.fits', expCube='/scratch/kocevski/2791/ltcube_684115201_684374401_4FGL_J0207.5-2402_daily_bin1716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/2791/Model_4FGL_J0207.5-2402_daily_bin1716.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0207.5-2402'

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  2.138e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.189e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.340e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/2791/ft1_filtered_4FGL_J0207.5-2402_daily_bin1716.fits
Spacecraft file(s): /scratch/kocevski/2791/ft2_4FGL_J0207.5-2402_daily_bin1716.fits
Exposure map: /scratch/kocevski/2791/expmap_684115201_684374401_4FGL_J0207.5-2402_daily_bin1716.fits
Exposure cube: /scratch/kocevski/2791/ltcube_684115201_684374401_4FGL_J0207.5-2402_daily_bin1716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/2791/Model_4FGL_J0207.5-2402_daily_bin1716.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) = 6104.9142493

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.565       1.0000          .0000       .10000E+07
     2 'norm      '    1.1856       1.0000          .0000       .10000E+07
     3 'norm      '    1.6847       1.0000          .0000       .10000E+07
     4 'Prefactor '    .38193E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .16132E-06   1.0000          .0000       .10000E+07
     6 'norm      '    1.6812       1.0000          .0000       .10000E+07
     7 'norm      '    .43726E-06   1.0000          .0000       .10000E+07
     8 'norm      '    1.8030       1.0000          .0000       .10000E+07
     9 'Prefactor '    22.395       1.0000          .0000       .10000E+07
    10 'norm      '    4.2792       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.5187       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15366E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    9.9744       1.0000          .0000       .10000E+07
    14 'norm      '    36.690       1.0000          .0000       .10000E+07
    15 'Prefactor '    .17889E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.7872       1.0000          .0000       .10000E+07
    17 'Prefactor '    12.390       1.0000          .0000       .10000E+07
    18 'Prefactor '    10.646       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.6976       1.0000          .0000       .10000E+07
    20 'norm      '    .27388       1.0000          .0000       .10000E+07
    21 'Normalizat'    .83864       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .88162       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6104.914     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     2442 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.572        8.1771       -.37995E-06   -.33487E-01
   2  norm          1.1847        1.3084        .46628E-06   -.21515E-02
   3  norm          1.6844        1.6396        .10569E-06    .73105E-03
   4  Prefactor     .55511E-10    5.1346       -.73923E-07** at limit **
   5  Prefactor     .55511E-10    2.1843        .24319E-06** at limit **
   6  norm          1.6813        1.0942       -.84004E-07    .37404E-03
   7  norm           .0000        .32217       -.10243E-06** at limit **
   8  norm          1.8012        2.0131       -.10277E-06    .30396E-03
   9  Prefactor     22.454        3.0193       -.30311E-07    .27125E-01
  10  norm          4.2788        2.0387       -.13516E-06   -.80990E-03
  11  Prefactor     4.5296        5.9714       -.43070E-06    .25103E-01
  12  Prefactor     .22204E-09    5.2166        .15677E-06** at limit **
  13  Prefactor     9.9354        9.2453       -.19767E-06    .25469E-02
  14  norm          37.158        41.603        .88715E-06   -.17216E-02
  15  Prefactor      .0000        2.6951       -.10852E-06** at limit **
  16  Prefactor     7.6423        9.3778       -.86895E-07   -.36371E-02
  17  Prefactor     12.452        4.7044       -.91603E-07   -.61193E-02
  18  Prefactor     10.876        23.888       -.48471E-06   -.23393E-02
  19  Prefactor     1.6926        1.9976       -.13063E-07    .17540E-03
  20  norm          .27540        1.4031       -.59078E-06   -.82343E-03
  21  Normalizat    .83839        .16297        .90817E-05    .30491E-04
  22  Prefactor     .88158        .18402       -.15414E-04    .45694E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.5723
  norm       = 1.18467
  norm       = 1.68443
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  norm       = 1.68129
  norm       = 0
  norm       = 1.80121
  Prefactor  = 22.4535
  norm       = 4.27876
  Prefactor  = 4.52959
  Prefactor  = 2.22045e-10
  Prefactor  = 9.93537
  norm       = 37.1585
  Prefactor  = 0
  Prefactor  = 7.6423
  Prefactor  = 12.4521
  Prefactor  = 10.8755
  Prefactor  = 1.69262
  norm       = 0.275402
  Normalizat = 0.838392
  Prefactor  = 0.881579
 **********
 **   18 **HESSE 
 **********

 FCN=   6104.914     FROM HESSE     STATUS=OK           398 CALLS     2840 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.572        9.8563        .28233E-03   -1.5637    
   2  norm          1.1847        1.3264        .10476E-02   -1.5686    
   3  norm          1.6844        1.6469        .81105E-03   -1.5682    
   4  Prefactor     .55511E-10    5.1409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    2.1918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.6813        1.1061        .81210E-03   -1.5682    
   7  norm           .0000        .32317        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8012        2.0323        .77812E-03   -1.5681    
   9  Prefactor     22.454        25.442        .21137E-03   -1.5613    
  10  norm          4.2788        2.0407        .48680E-03   -1.5667    
  11  Prefactor     4.5296        10.380        .47337E-03   -1.5665    
  12  Prefactor     .22204E-09    5.1312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.9354        9.4095        .31704E-03   -1.5645    
  14  norm          37.158        41.811        .16511E-03   -1.5586    
  15  Prefactor      .0000        2.6973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.6423        27.094        .35910E-03   -1.5653    
  17  Prefactor     12.452        26.757        .28433E-03   -1.5637    
  18  Prefactor     10.876        25.573        .30683E-03   -1.5642    
  19  Prefactor     1.6926        2.0093        .80723E-03   -1.5682    
  20  norm          .27540        .99579        .27435E-02   -1.5697    
  21  Normalizat    .83839        .14098        .44112E-01   -.98660    
  22  Prefactor     .88158        .15821        .44770E-01   -.96788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.51422e-08
Minuit parameter uncertainties:
  1  9.85626
  2  1.32642
  3  1.64694
  4  3.4677e-05
  5  2.26654e-05
  6  1.10607
  7  1.41796e-06
  8  2.03229
  9  25.4425
  10  2.04067
  11  10.3799
  12  7.07035e-05
  13  9.40955
  14  41.8117
  15  1.19415e-05
  16  27.0943
  17  26.7568
  18  25.5736
  19  2.00925
  20  0.995791
  21  0.141046
  22  0.158296
Done.

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

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  4.530e+00  1.038e+01  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.189e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.340e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  8.816e-01  1.583e-01  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
543   Normalization:  8.384e-01  1.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.22
Ra Dec: 31.899 -24.048
Photon Flux Upper Limit: 6.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/2791/likelihoodResults_684115201_684374401_4FGL_J0207.5-2402_daily_bin1716.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) = 6104.86998747
delta logL = 0.0435353199582

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6104.86554989
delta logL = 0.0479728988284

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7046       1.0000          .0000       .10000E+07
     2 'Index     '    2.4908       1.0000          .0000       10.000    
     3 'Normalizat'    .83295       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88461       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+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=   6104.866     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      262 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7069        10.452        .10489E-03    .37278E-02
   2  Index         2.4907        1.1854        .98149E-02    .17833E-04
   3  Normalizat    .83295        .15658        .21050E-03    .71181E-04
   4  Prefactor     .88463        .18372        .24139E-03    .75592E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.7069
  Index      = 2.49073
  Normalizat = 0.832953
  Prefactor  = 0.884628
 **********
 **   18 **HESSE 
 **********

 FCN=   6104.866     FROM HESSE     STATUS=OK            27 CALLS      289 TOTAL
                     EDM=   .71E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7069        8.8365        .20978E-04   -1.5669    
   2  Index         2.4907        1.0056        .39260E-03   -.52574    
   3  Normalizat    .83295        .15673        .84202E-05   -.98858    
   4  Prefactor     .88463        .18368        .96554E-05   -.96680    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.13033e-12
Minuit parameter uncertainties:
  1  8.83652
  2  1.01494
  3  0.156818
  4  0.183809
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2791': 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) = 6104.86554981
delta logL = 0.0479729847038

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  3.707e+00  8.837e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.491e+00  1.015e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  1.340e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  8.846e-01  1.838e-01  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
543   Normalization:  8.330e-01  1.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.22
Ra Dec: 31.899 -24.048

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/2791/cmap_HighResolution_684115201_684374401_4FGL_J0207.5-2402_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.20e-03', job_status='DONE', photon_flux_upper_limit='6.83e-08', time_completed='2022-09-16 10:36:29.506991', job_id='2791', GAL2='0.88', fit_tolerance='1e-08', EG2='0.83', EG='0.84', time_epoch_completed='1663349789.51', return_code2='0', ts='0.22', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='4.80e-02', ts2='0.31', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1716' AND source_name='4FGL J0207.5-2402' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:36:29 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 2791: <4FGL_J0207.5-2402_daily_bin1716> in cluster <slac> Done

Job <4FGL_J0207.5-2402_daily_bin1716> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 10:21:14 2022
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 10:23:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 10:23:31 2022
Terminated at Fri Sep 16 10:36:30 2022
Results reported at Fri Sep 16 10:36:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0207.5-2402_daily_bin1716 31.8989 -24.0484 684115201 684374401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0207.5-2402 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   707.00 sec.
    Max Memory :                                 1253 MB
    Average Memory :                             350.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            916 sec.

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

