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


Performing analysis on: 4FGL_J0207.5-2402_daily_bin1723
RA = 31.8989, Dec = -24.0484
tmin = 685929601, tmax = 686188801
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='430270', job_status='RUN', time_executed='2022-09-30 00:06:37.201222', time_epoch_executed='1664521597.2' WHERE source_name='4FGL J0207.5-2402' and cadence='daily' and bin_id='1723'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430270

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430270/ft1_4FGL_J0207.5-2402_daily_bin1723.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430270/ft2_4FGL_J0207.5-2402_daily_bin1723.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430270/ft1_4FGL_J0207.5-2402_daily_bin1723.fits outfile=/scratch/kocevski/430270/ft1_filteredMKT_4FGL_J0207.5-2402_daily_bin1723.fits ra=31.8989 dec=-24.0484 rad=12.0 tmin=685929601.0 tmax=686188801.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.59
user 3.34
sys 0.23

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

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

Number of photons that the gtmktime cut: 372

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430270/ft1_filtered_4FGL_J0207.5-2402_daily_bin1723.fits" evtable="EVENTS" scfile=/scratch/kocevski/430270/ft2_4FGL_J0207.5-2402_daily_bin1723.fits sctable="SC_DATA" outfile=/scratch/kocevski/430270/ltcube_685929601_686188801_4FGL_J0207.5-2402_daily_bin1723.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/430270/ft2_4FGL_J0207.5-2402_daily_bin1723.fits
.....................!
real 13.54
user 13.13
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430270/ft1_filtered_4FGL_J0207.5-2402_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430270/ft2_4FGL_J0207.5-2402_daily_bin1723.fits sctable="SC_DATA" expcube=/scratch/kocevski/430270/ltcube_685929601_686188801_4FGL_J0207.5-2402_daily_bin1723.fits outfile=/scratch/kocevski/430270/expmap_685929601_686188801_4FGL_J0207.5-2402_daily_bin1723.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/430270/ltcube_685929601_686188801_4FGL_J0207.5-2402_daily_bin1723.fits
.....................!
real 193.08
user 186.90
sys 5.66

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/430270/ft1_filtered_4FGL_J0207.5-2402_daily_bin1723.fits scfile=/scratch/kocevski/430270/ft2_4FGL_J0207.5-2402_daily_bin1723.fits outfile=/scratch/kocevski/430270/cmap_685929601_686188801_4FGL_J0207.5-2402_daily_bin1723.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.57
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430270/ft1_filtered_4FGL_J0207.5-2402_daily_bin1723.fits scfile=/scratch/kocevski/430270/ft2_4FGL_J0207.5-2402_daily_bin1723.fits outfile=/scratch/kocevski/430270/cmap_HighResolution_685929601_686188801_4FGL_J0207.5-2402_daily_bin1723.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430270/ft1_filtered_4FGL_J0207.5-2402_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430270/ft2_4FGL_J0207.5-2402_daily_bin1723.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430270/Model_4FGL_J0207.5-2402_daily_bin1723.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/430270/ft1_filtered_4FGL_J0207.5-2402_daily_bin1723.fits.....................!
real 86.18
user 84.71
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .56108E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .26645E-08   1.0000          .0000       .10000E+07
     3 'norm      '    7.6413       1.0000          .0000       .10000E+07
     4 'Prefactor '    .25935E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .29424       1.0000          .0000       .10000E+07
     6 'norm      '    1.6232       1.0000          .0000       .10000E+07
     7 'norm      '    3.5045       1.0000          .0000       .10000E+07
     8 'norm      '    .38248E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .20911E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .66397       1.0000          .0000       .10000E+07
    11 'Prefactor '    22.153       1.0000          .0000       .10000E+07
    12 'Prefactor '    .21250E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    27.808       1.0000          .0000       .10000E+07
    14 'norm      '    .45484E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.1488       1.0000          .0000       .10000E+07
    16 'Prefactor '    .22635E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .38380E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .42464E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.4743       1.0000          .0000       .10000E+07
    20 'norm      '    .23093E-07   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0649       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81049       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=   4308.173     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1866 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44409E-09    7.7203        .24264E-06** at limit **
   2  norm           .0000        .90670        .15362E-07** at limit **
   3  norm          7.6416        3.2344       -.94808E-08   -.32073E-02
   4  Prefactor     .27756E-08    8.8691       -.88385E-07** at limit **
   5  Prefactor     .26007        17.912       -.40572E-06   -.27051E-02
   6  norm          1.6234        1.4455        .33078E-08   -.68663E-03
   7  norm          3.5038        3.5843        .18597E-07   -.21710E-02
   8  norm          .12107E-01    2.4623        .50566E-07** at limit **
   9  Prefactor     .49405E-08    32.180       -.44050E-06** at limit **
  10  norm          .66444        2.9486       -.56283E-07   -.24688E-03
  11  Prefactor     22.177        1.1623        .62521E-08    .73900E-02
  12  Prefactor     .11102E-09    1.9277        .68272E-07** at limit **
  13  Prefactor     27.815        2.3055        .13901E-08   -.12931    
  14  norm          .27911E-06    86.644       -.38828E-06** at limit **
  15  Prefactor     3.1284        3.6351        .18008E-07    .10485E-02
  16  Prefactor     .77716E-09    20.546        .25548E-06** at limit **
  17  Prefactor     .12754E-02    3.9912        .33670E-07** at limit **
  18  Prefactor     .28311E-08    13.020        .10413E-06** at limit **
  19  Prefactor     1.4741        4.4932       -.60681E-07   -.19110E-02
  20  norm           .0000        .76790       -.11523E-07** at limit **
  21  Normalizat    1.0651        .22746       -.83403E-07   -.29861E-03
  22  Prefactor     .81034        .24368       -.77341E-06   -.22570E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.44089e-10
  norm       = 0
  norm       = 7.64164
  Prefactor  = 2.77556e-09
  Prefactor  = 0.260071
  norm       = 1.62337
  norm       = 3.5038
  norm       = 0.0121071
  Prefactor  = 4.94049e-09
  norm       = 0.664444
  Prefactor  = 22.1771
  Prefactor  = 1.11022e-10
  Prefactor  = 27.815
  norm       = 2.7911e-07
  Prefactor  = 3.12837
  Prefactor  = 7.77156e-10
  Prefactor  = 0.00127539
  Prefactor  = 2.83107e-09
  Prefactor  = 1.47406
  norm       = 0
  Normalizat = 1.06511
  Prefactor  = 0.810341
 **********
 **   18 **HESSE 
 **********

 FCN=   4308.173     FROM HESSE     STATUS=OK           396 CALLS     2262 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44409E-09    7.7202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .90531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.6416        3.2407        .36254E-03   -1.5653    
   4  Prefactor     .27756E-08    8.9504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .26007        3.1782        .65829E-02   -1.5698    
   6  norm          1.6234        1.4394        .83020E-03   -1.5682    
   7  norm          3.5038        3.8001        .53982E-03   -1.5671    
   8  norm          .12107E-01    4.0479        .42118E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .49405E-08    32.011        .16978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .66444        3.0521        .63682E-03   -1.5692    
  11  Prefactor     22.177        14.973        .21252E-03   -1.5614    
  12  Prefactor     .11102E-09    1.9323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.815        14.744        .18967E-03   -1.5602    
  14  norm          .27911E-06    88.018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.1284        3.6372        .57099E-03   -1.5673    
  16  Prefactor     .77716E-09    20.781        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .12754E-02    68.114        .16038E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .28311E-08    13.148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.4741        4.6384        .88431E-03   -1.5684    
  20  norm           .0000        .76666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0651        .20056        .39655E-01   -.90880    
  22  Prefactor     .81034        .21283        .43854E-01   -.99348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21437e-07
Minuit parameter uncertainties:
  1  0.000115585
  2  4.9922e-06
  3  3.24069
  4  0.000316068
  5  1.81829
  6  1.43943
  7  3.80005
  8  0.44276
  9  0.000795005
  10  2.84814
  11  14.9732
  12  2.53896e-05
  13  14.7441
  14  0.0099127
  15  3.63724
  16  0.000251732
  17  0.589487
  18  0.000386339
  19  4.6384
  20  3.3146e-06
  21  0.200702
  22  0.213045
Done.

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

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  2.218e+01  1.497e+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.103e-01  2.130e-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:  1.065e+00  2.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.70
Ra Dec: 31.899 -24.048
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 5.48e-08 +/- 3.70e-08
Energy Flux (Fixed Index): 2.51e-05 +/- 1.69e-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) = 4308.04142491
delta logL = 0.131141079812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4308.03681513
delta logL = 0.135750865101

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.854       1.0000          .0000       .10000E+07
     2 'Index     '    2.5010       1.0000          .0000       10.000    
     3 'Normalizat'    1.0418       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82632       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=   4308.037     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      275 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.848        17.161        .97477E-05    .10006E-01
   2  Index         2.5005        .65533        .47153E-02    .30243E-03
   3  Normalizat    1.0418        .22461        .22077E-03   -.10307E-02
   4  Prefactor     .82667        .24553        .27271E-03   -.10863E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.8477
  Index      = 2.50047
  Normalizat = 1.04176
  Prefactor  = 0.826671
 **********
 **   18 **HESSE 
 **********

 FCN=   4308.037     FROM HESSE     STATUS=OK            23 CALLS      298 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.848        16.047        .19495E-05   -1.5626    
   2  Index         2.5005        .61228        .18861E-03   -.52349    
   3  Normalizat    1.0418        .22424        .44154E-04   -.91644    
   4  Prefactor     .82667        .24534        .54542E-04   -.98753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50656e-09
Minuit parameter uncertainties:
  1  16.0475
  2  0.614334
  3  0.224444
  4  0.245671
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430270': 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) = 4308.03681086
delta logL = 0.135755130606

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  1.685e+01  1.605e+01  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.500e+00  6.143e-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:  8.267e-01  2.457e-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:  1.042e+00  2.244e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.96
Ra Dec: 31.899 -24.048
Photon Index (Free Index): 2.50 +/- 0.61
Photon Flux (Free Index): 7.40e-08 +/- 5.86e-08
Energy Flux (Free Index): 2.15e-05 +/- 1.43e-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/430270/cmap_HighResolution_685929601_686188801_4FGL_J0207.5-2402_daily_bin1723.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.48e-08', energy_flux2='2.15e-05', photon_flux_error='3.70e-08', dlogl='1.36e-01', energy_flux='2.51e-05', photon_flux2='7.40e-08', job_status='DONE', time_completed='2022-09-30 00:15:17.623130', photon_index_error2='0.61', photon_index2='2.50', ts='4.70', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='1.43e-05', EG='1.07', time_epoch_completed='1664522117.62', return_code='0', job_id='430270', GAL2='0.83', EG2='1.04', return_code2='0', energy_flux_error='1.69e-05', photon_flux_error2='5.86e-08', ts2='4.96', photon_index='2.19' WHERE bin_id='1723' AND source_name='4FGL J0207.5-2402' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 30 00:15:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 430270: <4FGL_J0207.5-2402_daily_bin1723> in cluster <slac> Done

Job <4FGL_J0207.5-2402_daily_bin1723> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 30 00:05:07 2022
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 30 00:05:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 30 00:05:20 2022
Terminated at Fri Sep 30 00:15:18 2022
Results reported at Fri Sep 30 00:15:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0207.5-2402_daily_bin1723 31.8989 -24.0484 685929601 686188801 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 :                                   522.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             358.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   597 sec.
    Turnaround time :                            611 sec.

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

