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


Performing analysis on: 4FGL_J0207.5-2402_daily_bin1713
RA = 31.8989, Dec = -24.0484
tmin = 683337601, tmax = 683596801
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='2787', job_status='RUN', time_executed='2022-09-16 10:25:51.687835', time_epoch_executed='1663349151.69' WHERE source_name='4FGL J0207.5-2402' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/2787

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/2787/ft1_4FGL_J0207.5-2402_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/2787/ft2_4FGL_J0207.5-2402_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/2787/ft1_4FGL_J0207.5-2402_daily_bin1713.fits outfile=/scratch/kocevski/2787/ft1_filteredMKT_4FGL_J0207.5-2402_daily_bin1713.fits ra=31.8989 dec=-24.0484 rad=12.0 tmin=683337601.0 tmax=683596801.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.49
user 3.26
sys 0.21

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

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

Number of photons that the gtmktime cut: 398

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/2787/ft1_filtered_4FGL_J0207.5-2402_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/2787/ft2_4FGL_J0207.5-2402_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/2787/ltcube_683337601_683596801_4FGL_J0207.5-2402_daily_bin1713.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/2787/ft2_4FGL_J0207.5-2402_daily_bin1713.fits
.....................!
real 11.81
user 11.43
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/2787/ft1_filtered_4FGL_J0207.5-2402_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/2787/ft2_4FGL_J0207.5-2402_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/2787/ltcube_683337601_683596801_4FGL_J0207.5-2402_daily_bin1713.fits outfile=/scratch/kocevski/2787/expmap_683337601_683596801_4FGL_J0207.5-2402_daily_bin1713.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/2787/ltcube_683337601_683596801_4FGL_J0207.5-2402_daily_bin1713.fits
.....................!
real 192.15
user 186.29
sys 5.47

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/2787/ft1_filtered_4FGL_J0207.5-2402_daily_bin1713.fits scfile=/scratch/kocevski/2787/ft2_4FGL_J0207.5-2402_daily_bin1713.fits outfile=/scratch/kocevski/2787/cmap_683337601_683596801_4FGL_J0207.5-2402_daily_bin1713.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/2787/ft1_filtered_4FGL_J0207.5-2402_daily_bin1713.fits scfile=/scratch/kocevski/2787/ft2_4FGL_J0207.5-2402_daily_bin1713.fits outfile=/scratch/kocevski/2787/cmap_HighResolution_683337601_683596801_4FGL_J0207.5-2402_daily_bin1713.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/2787/ft1_filtered_4FGL_J0207.5-2402_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/2787/ft2_4FGL_J0207.5-2402_daily_bin1713.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/2787/Model_4FGL_J0207.5-2402_daily_bin1713.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/2787/ft1_filtered_4FGL_J0207.5-2402_daily_bin1713.fits.....................!
real 91.79
user 90.41
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10155E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .32966E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .38462       1.0000          .0000       .10000E+07
     4 'Prefactor '    19.318       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.1891       1.0000          .0000       .10000E+07
     6 'norm      '    .85752E-05   1.0000          .0000       .10000E+07
     7 'norm      '    2.7327       1.0000          .0000       .10000E+07
     8 'norm      '    1.7032       1.0000          .0000       .10000E+07
     9 'Prefactor '    .80617E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .75192       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.2206       1.0000          .0000       .10000E+07
    12 'Prefactor '    .77862E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .42283E-04   1.0000          .0000       .10000E+07
    14 'norm      '    108.78       1.0000          .0000       .10000E+07
    15 'Prefactor '    .21842E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .20738       1.0000          .0000       .10000E+07
    17 'Prefactor '    79.136       1.0000          .0000       .10000E+07
    18 'Prefactor '    6.0552       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.5086       1.0000          .0000       .10000E+07
    20 'norm      '    2.3573       1.0000          .0000       .10000E+07
    21 'Normalizat'    .99498       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .63658       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=   4495.555     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     1809 TOTAL
                     EDM=   .68E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.7977        .51508E-07** at limit **
   2  norm           .0000        .76887        .17470E-08** at limit **
   3  norm          .38897        1.4470        .50988E-07    .45254E-03
   4  Prefactor     19.564        17.802        .12919E-06    .23035E-02
   5  Prefactor     3.1689        3.8617       -.46106E-07   -.39146E-03
   6  norm           .0000        2.4781        .22092E-07** at limit **
   7  norm          2.7420        2.1038        .17263E-07    .63418E-03
   8  norm          1.7068        2.0541       -.12461E-07   -.23973E-03
   9  Prefactor     .55511E-10    17.383        .18465E-06** at limit **
  10  norm          .76236        1.3892        .14593E-07    .38400E-03
  11  Prefactor     6.2893        11.458       -.23089E-07   -.47049E-04
  12  Prefactor      .0000        2.6311       -.27177E-07** at limit **
  13  Prefactor      .0000        4.9406        .93017E-07** at limit **
  14  norm          111.43        50.402        .15906E-07   -.51007E-01
  15  Prefactor      .0000        3.1314       -.21106E-07** at limit **
  16  Prefactor     1.0468        422.85        .16435E-05    .14468E-02
  17  Prefactor     80.350        28.079       -.23602E-07    .83932E-01
  18  Prefactor     6.7214        24.292       -.72717E-07    .83702E-03
  19  Prefactor     2.4713        3.6184        .30226E-07   -.12748E-04
  20  norm          2.3608        1.9218        .22930E-07    .66320E-03
  21  Normalizat    .99297        .19152       -.11269E-06    .32111E-05
  22  Prefactor     .63579        .20989       -.32806E-06   -.18838E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  norm       = 0.388972
  Prefactor  = 19.5644
  Prefactor  = 3.16888
  norm       = 0
  norm       = 2.742
  norm       = 1.70678
  Prefactor  = 5.55112e-11
  norm       = 0.762365
  Prefactor  = 6.28925
  Prefactor  = 0
  Prefactor  = 0
  norm       = 111.43
  Prefactor  = 0
  Prefactor  = 1.04685
  Prefactor  = 80.3502
  Prefactor  = 6.72144
  Prefactor  = 2.47133
  norm       = 2.3608
  Normalizat = 0.992968
  Prefactor  = 0.635786
 **********
 **   18 **HESSE 
 **********

 FCN=   4495.555     FROM HESSE     STATUS=OK           402 CALLS     2211 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.7741        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .76894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .38897        1.4462        .34904E-02   -1.5695    
   4  Prefactor     19.564        18.145        .22760E-03   -1.5619    
   5  Prefactor     3.1689        3.8744        .56717E-03   -1.5672    
   6  norm           .0000        .80063        .18569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.7420        2.1162        .61570E-03   -1.5675    
   8  norm          1.7068        2.0665        .80557E-03   -1.5682    
   9  Prefactor     .55511E-10    17.397        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .76236        1.4064        .56590E-03   -1.5691    
  11  Prefactor     6.2893        11.499        .40225E-03   -1.5658    
  12  Prefactor      .0000        2.6305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        4.9120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          111.43        59.439        .95885E-04   -1.5497    
  15  Prefactor      .0000        3.1267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.0468        52.988        .14112E-01   -1.5688    
  17  Prefactor     80.350        52.450        .11242E-03   -1.5529    
  18  Prefactor     6.7214        24.322        .40779E-03   -1.5656    
  19  Prefactor     2.4713        3.6481        .64487E-03   -1.5677    
  20  norm          2.3608        1.9299        .66725E-03   -1.5677    
  21  Normalizat    .99297        .16324        .46104E-01   -.93266    
  22  Prefactor     .63579        .17887        .61410E-01   -1.0610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.39506e-07
Minuit parameter uncertainties:
  1  3.94707e-06
  2  2.29957e-07
  3  1.44618
  4  18.1446
  5  3.8744
  6  1.07602e-06
  7  2.11623
  8  2.06647
  9  5.60459e-05
  10  1.40639
  11  11.4986
  12  1.09057e-06
  13  2.18018e-05
  14  59.4388
  15  6.42202e-08
  16  14.8958
  17  52.4507
  18  24.3227
  19  3.64808
  20  1.92995
  21  0.163325
  22  0.179031
Done.

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

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  6.289e+00  1.150e+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:  6.358e-01  1.790e-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:  9.930e-01  1.633e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/2787/likelihoodResults_683337601_683596801_4FGL_J0207.5-2402_daily_bin1713.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) = 4495.55519179
delta logL = 0.000227855898629

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4495.555089
delta logL = 0.00033064634863

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4661       1.0000          .0000       .10000E+07
     2 'Index     '    2.1563       1.0000          .0000       10.000    
     3 'Normalizat'    .99373       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63539       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=   4495.555     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      270 TOTAL
                     EDM=   .37E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4728        14.437        .78890E-04   -.36719E-03
   2  Index         2.1548        1.3832        .97539E-02   -.63278E-05
   3  Normalizat    .99379        .18788        .19735E-03   -.15957E-04
   4  Prefactor     .63511        .20972        .27180E-03   -.13343E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.47284
  Index      = 2.15484
  Normalizat = 0.993791
  Prefactor  = 0.635107
 **********
 **   18 **HESSE 
 **********

 FCN=   4495.555     FROM HESSE     STATUS=OK            27 CALLS      297 TOTAL
                     EDM=   .73E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4728        13.597        .31556E-05   -1.5657    
   2  Index         2.1548        1.3042        .39016E-03   -.60533    
   3  Normalizat    .99379        .18761        .78941E-05   -.93239    
   4  Prefactor     .63511        .20947        .10872E-04   -1.0613    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.27034e-12
Minuit parameter uncertainties:
  1  13.5968
  2  1.32713
  3  0.187735
  4  0.209728
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/2787': 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) = 4495.55508586
delta logL = 0.000333792219863

Extracting fit parameters...

4FGL J0207.5-2402
   Spectrum: PowerLaw
282    Prefactor:  6.473e+00  1.360e+01  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.155e+00  1.327e+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:  6.351e-01  2.097e-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:  9.938e-01  1.877e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.39
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/2787/cmap_HighResolution_683337601_683596801_4FGL_J0207.5-2402_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.64e-03', job_status='DONE', photon_flux_upper_limit='8.72e-08', time_completed='2022-09-16 10:35:05.566327', job_id='2787', GAL2='0.64', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1663349705.57', return_code2='0', ts='0.39', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='3.34e-04', ts2='0.39', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1713' AND source_name='4FGL J0207.5-2402' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:35:05 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 2787: <4FGL_J0207.5-2402_daily_bin1713> in cluster <slac> Done

Job <4FGL_J0207.5-2402_daily_bin1713> 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) <bullet0025>, 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:35:06 2022
Results reported at Fri Sep 16 10:35:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0207.5-2402_daily_bin1713 31.8989 -24.0484 683337601 683596801 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 :                                   555.22 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             297.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   694 sec.
    Turnaround time :                            832 sec.

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

