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


Performing analysis on: 4FGL_J0207.5-2402_daily_bin1712
RA = 31.8989, Dec = -24.0484
tmin = 683078401, tmax = 683337601
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='2785', job_status='RUN', time_executed='2022-09-16 10:27:25.216303', time_epoch_executed='1663349245.22' WHERE source_name='4FGL J0207.5-2402' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2785

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2785/ft1_4FGL_J0207.5-2402_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2785/ft2_4FGL_J0207.5-2402_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2785/ft1_4FGL_J0207.5-2402_daily_bin1712.fits outfile=/scratch/kocevski/2785/ft1_filteredMKT_4FGL_J0207.5-2402_daily_bin1712.fits ra=31.8989 dec=-24.0484 rad=12.0 tmin=683078401.0 tmax=683337601.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.75
user 4.51
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/2785/ft2_4FGL_J0207.5-2402_daily_bin1712.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/2785/ft1_filteredMKT_4FGL_J0207.5-2402_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/2785/ft1_filtered_4FGL_J0207.5-2402_daily_bin1712.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.55
user 0.36
sys 0.14

Number of photons that the gtmktime cut: 400

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2785/ft1_filtered_4FGL_J0207.5-2402_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/2785/ft2_4FGL_J0207.5-2402_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/2785/ltcube_683078401_683337601_4FGL_J0207.5-2402_daily_bin1712.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/2785/ft2_4FGL_J0207.5-2402_daily_bin1712.fits
.....................!
real 13.59
user 13.20
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2785/ft1_filtered_4FGL_J0207.5-2402_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/2785/ft2_4FGL_J0207.5-2402_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/2785/ltcube_683078401_683337601_4FGL_J0207.5-2402_daily_bin1712.fits outfile=/scratch/kocevski/2785/expmap_683078401_683337601_4FGL_J0207.5-2402_daily_bin1712.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/2785/ltcube_683078401_683337601_4FGL_J0207.5-2402_daily_bin1712.fits
.....................!
real 190.34
user 185.35
sys 4.22

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/2785/ft1_filtered_4FGL_J0207.5-2402_daily_bin1712.fits scfile=/scratch/kocevski/2785/ft2_4FGL_J0207.5-2402_daily_bin1712.fits outfile=/scratch/kocevski/2785/cmap_683078401_683337601_4FGL_J0207.5-2402_daily_bin1712.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2785/ft1_filtered_4FGL_J0207.5-2402_daily_bin1712.fits scfile=/scratch/kocevski/2785/ft2_4FGL_J0207.5-2402_daily_bin1712.fits outfile=/scratch/kocevski/2785/cmap_HighResolution_683078401_683337601_4FGL_J0207.5-2402_daily_bin1712.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.58
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/2785/ft1_filtered_4FGL_J0207.5-2402_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/2785/ft2_4FGL_J0207.5-2402_daily_bin1712.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/2785/Model_4FGL_J0207.5-2402_daily_bin1712.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/2785/ft1_filtered_4FGL_J0207.5-2402_daily_bin1712.fits....................!
real 90.09
user 88.71
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/2785/ft1_filtered_4FGL_J0207.5-2402_daily_bin1712.fits', '/scratch/kocevski/2785/ft2_4FGL_J0207.5-2402_daily_bin1712.fits', expMap='/scratch/kocevski/2785/expmap_683078401_683337601_4FGL_J0207.5-2402_daily_bin1712.fits', expCube='/scratch/kocevski/2785/ltcube_683078401_683337601_4FGL_J0207.5-2402_daily_bin1712.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/2785/Model_4FGL_J0207.5-2402_daily_bin1712.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/2785/ft1_filtered_4FGL_J0207.5-2402_daily_bin1712.fits
Spacecraft file(s): /scratch/kocevski/2785/ft2_4FGL_J0207.5-2402_daily_bin1712.fits
Exposure map: /scratch/kocevski/2785/expmap_683078401_683337601_4FGL_J0207.5-2402_daily_bin1712.fits
Exposure cube: /scratch/kocevski/2785/ltcube_683078401_683337601_4FGL_J0207.5-2402_daily_bin1712.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/2785/Model_4FGL_J0207.5-2402_daily_bin1712.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) = 4583.22187516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15518E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .24119E-03   1.0000          .0000       .10000E+07
     3 'norm      '    3.0805       1.0000          .0000       .10000E+07
     4 'Prefactor '    .27769E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .24205E-03   1.0000          .0000       .10000E+07
     6 'norm      '    4.8998       1.0000          .0000       .10000E+07
     7 'norm      '    .72690       1.0000          .0000       .10000E+07
     8 'norm      '    6.3936       1.0000          .0000       .10000E+07
     9 'Prefactor '    .26473E-03   1.0000          .0000       .10000E+07
    10 'norm      '    2.3759       1.0000          .0000       .10000E+07
    11 'Prefactor '    15.793       1.0000          .0000       .10000E+07
    12 'Prefactor '    .19837E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .13114E-05   1.0000          .0000       .10000E+07
    14 'norm      '    67.597       1.0000          .0000       .10000E+07
    15 'Prefactor '    .42447E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .34845E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    221.93       1.0000          .0000       .10000E+07
    18 'Prefactor '    37.451       1.0000          .0000       .10000E+07
    19 'Prefactor '    .38802E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .27284E-06   1.0000          .0000       .10000E+07
    21 'Normalizat'    .65992       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1512       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=   4583.172     FROM MIGRAD    STATUS=CONVERGED    200 CALLS     1812 TOTAL
                     EDM=   .33E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        12.709       -.61571E-07** at limit **
   2  norm           .0000        3.4546       -.13483E-06** at limit **
   3  norm          3.0861        3.0158       -.40886E-07    .46711E-03
   4  Prefactor      .0000        20.963       -.68652E-07** at limit **
   5  Prefactor      .0000        2.5186       -.32779E-07** at limit **
   6  norm          4.9084        1.9370        .63222E-09    .21182E-04
   7  norm          .74484        1.7478       -.47562E-07    .40352E-03
   8  norm          6.3958        3.8352        .35240E-08    .53424E-04
   9  Prefactor      .0000        35.920       -.43677E-07** at limit **
  10  norm          2.3663        2.3917       -.87435E-08    .19315E-03
  11  Prefactor     15.803        11.082       -.16286E-09    .18453E-04
  12  Prefactor      .0000        1.9533        .11139E-07** at limit **
  13  Prefactor      .0000        9.3083        .27554E-06** at limit **
  14  norm          73.728        50.168       -.14947E-06    .13758E-03
  15  Prefactor      .0000        3.3398        .25548E-07** at limit **
  16  Prefactor      .0000        12.981       -.73803E-07** at limit **
  17  Prefactor     225.85        90.426       -.13010E-07    .92756E-04
  18  Prefactor     37.167        38.154       -.15466E-06   -.13426E-03
  19  Prefactor      .0000        6.1422        .51815E-07** at limit **
  20  norm           .0000        .51620       -.79912E-08** at limit **
  21  Normalizat    .65885        .22189        .15541E-06    .15931E-04
  22  Prefactor     1.1487        .24199       -.18550E-06    .17444E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  norm       = 3.08611
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.90835
  norm       = 0.74484
  norm       = 6.39576
  Prefactor  = 0
  norm       = 2.36634
  Prefactor  = 15.8034
  Prefactor  = 0
  Prefactor  = 0
  norm       = 73.7283
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 225.847
  Prefactor  = 37.1667
  Prefactor  = 0
  norm       = 0
  Normalizat = 0.658854
  Prefactor  = 1.14867
 **********
 **   18 **HESSE 
 **********

 FCN=   4583.172     FROM HESSE     STATUS=OK           388 CALLS     2200 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        12.685        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        3.3374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.0861        3.0208        .57763E-03   -1.5673    
   4  Prefactor      .0000        20.937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.5222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.9084        1.9356        .45416E-03   -1.5664    
   7  norm          .74484        1.7682        .58551E-03   -1.5691    
   8  norm          6.3958        3.8281        .39671E-03   -1.5657    
   9  Prefactor      .0000        35.901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.3663        2.4011        .66437E-03   -1.5677    
  11  Prefactor     15.803        11.079        .25176E-03   -1.5628    
  12  Prefactor      .0000        1.9495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        9.3262        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          73.728        50.210        .12164E-03   -1.5536    
  15  Prefactor      .0000        3.3377        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        12.980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     225.85        90.266        .67133E-04   -1.5407    
  18  Prefactor     37.167        38.301        .16342E-03   -1.5586    
  19  Prefactor      .0000        5.9589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .51567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .65885        .18713        .60220E-01   -1.0554    
  22  Prefactor     1.1487        .20332        .53837E-01   -.87926    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02177e-10
Minuit parameter uncertainties:
  1  5.85712e-06
  2  7.60786e-06
  3  3.02084
  4  8.87226e-06
  5  1.57005e-06
  6  1.9356
  7  1.76823
  8  3.82808
  9  1.34902e-05
  10  2.40114
  11  11.079
  12  5.29294e-07
  13  2.54714e-05
  14  50.2107
  15  1.48999e-06
  16  9.53413e-06
  17  90.2661
  18  38.301
  19  3.90844e-06
  20  1.8401e-07
  21  0.187309
  22  0.203456
Done.

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

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  1.580e+01  1.108e+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:  1.149e+00  2.035e-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:  6.589e-01  1.873e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.39
Ra Dec: 31.899 -24.048
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 3.90e-08 +/- 2.74e-08
Energy Flux (Fixed Index): 1.79e-05 +/- 1.25e-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) = 4583.11494765
delta logL = 0.0574217493913

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4583.10812291
delta logL = 0.064246484184

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4583.108     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      282 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.470        14.586        .93118E-05    .17947E-03
   2  Index         2.0038        .50972        .63927E-02    .16042E-03
   3  Normalizat    .66533        .20742        .26515E-03   -.21438E-05
   4  Prefactor     1.1441        .23960        .23843E-03   -.36715E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.4696
  Index      = 2.00376
  Normalizat = 0.665325
  Prefactor  = 1.14412
 **********
 **   18 **HESSE 
 **********

 FCN=   4583.108     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .81E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.470        14.415        .37247E-06   -1.5622    
   2  Index         2.0038        .50370        .12785E-02   -.64256    
   3  Normalizat    .66533        .20759        .10606E-04   -1.0528    
   4  Prefactor     1.1441        .23982        .95372E-05   -.88069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.06283e-13
Minuit parameter uncertainties:
  1  14.4151
  2  0.505041
  3  0.20783
  4  0.240049
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2785': 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) = 4583.10812286
delta logL = 0.0642465317687

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  1.847e+01  1.442e+01  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.004e+00  5.050e-01  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:  1.144e+00  2.400e-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:  6.653e-01  2.078e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.50
Ra Dec: 31.899 -24.048
Photon Index (Free Index): 2.00 +/- 0.51
Photon Flux (Free Index): 3.34e-08 +/- 2.84e-08
Energy Flux (Free Index): 2.28e-05 +/- 2.37e-05

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/2785/cmap_HighResolution_683078401_683337601_4FGL_J0207.5-2402_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.90e-08', energy_flux2='2.28e-05', photon_flux_error='2.74e-08', dlogl='6.42e-02', energy_flux='1.79e-05', photon_flux2='3.34e-08', job_status='DONE', time_completed='2022-09-16 10:36:16.731980', photon_index_error2='0.51', photon_index2='2.00', ts='6.39', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='2.37e-05', EG='0.66', time_epoch_completed='1663349776.73', return_code='0', job_id='2785', GAL2='1.14', EG2='0.67', return_code2='0', energy_flux_error='1.25e-05', photon_flux_error2='2.84e-08', ts2='6.50', photon_index='2.19' WHERE bin_id='1712' AND source_name='4FGL J0207.5-2402' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:36:16 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0024>
Subject: Job 2785: <4FGL_J0207.5-2402_daily_bin1712> in cluster <slac> Done

Job <4FGL_J0207.5-2402_daily_bin1712> 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) <bullet0024>, 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:17 2022
Results reported at Fri Sep 16 10:36:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0207.5-2402_daily_bin1712 31.8989 -24.0484 683078401 683337601 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 :                                   533.17 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             256.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            903 sec.

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

