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 170 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_J1205.7-2635_daily_bin1712
RA = 181.432, Dec = -26.5946
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='114113', job_status='RUN', time_executed='2022-09-16 16:33:26.944308', time_epoch_executed='1663371206.94' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/114113

Creating custom pfile directory:
/scratch/kocevski/114113/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/114113/ft1_4FGL_J1205.7-2635_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/114113/ft2_4FGL_J1205.7-2635_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/114113/ft1_4FGL_J1205.7-2635_daily_bin1712.fits outfile=/scratch/kocevski/114113/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1712.fits ra=181.432 dec=-26.5946 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.78
user 4.52
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/114113/ft2_4FGL_J1205.7-2635_daily_bin1712.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/114113/ft2_4FGL_J1205.7-2635_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/114113/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/114113/ft1_filtered_4FGL_J1205.7-2635_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.52
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 1004

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/114113/ft1_filtered_4FGL_J1205.7-2635_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/114113/ft2_4FGL_J1205.7-2635_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/114113/ltcube_683078401_683337601_4FGL_J1205.7-2635_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/114113/ft2_4FGL_J1205.7-2635_daily_bin1712.fits
.....................!
real 13.46
user 13.02
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/114113/ft1_filtered_4FGL_J1205.7-2635_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/114113/ft2_4FGL_J1205.7-2635_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/114113/ltcube_683078401_683337601_4FGL_J1205.7-2635_daily_bin1712.fits outfile=/scratch/kocevski/114113/expmap_683078401_683337601_4FGL_J1205.7-2635_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/114113/ltcube_683078401_683337601_4FGL_J1205.7-2635_daily_bin1712.fits
.....................!
real 191.38
user 186.08
sys 4.61

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
Added 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J1205.7-2635 @ 181.432 -26.5946

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/114113/ft1_filtered_4FGL_J1205.7-2635_daily_bin1712.fits scfile=/scratch/kocevski/114113/ft2_4FGL_J1205.7-2635_daily_bin1712.fits outfile=/scratch/kocevski/114113/cmap_683078401_683337601_4FGL_J1205.7-2635_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=181.432 yref=-26.5946 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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/114113/ft1_filtered_4FGL_J1205.7-2635_daily_bin1712.fits scfile=/scratch/kocevski/114113/ft2_4FGL_J1205.7-2635_daily_bin1712.fits outfile=/scratch/kocevski/114113/cmap_HighResolution_683078401_683337601_4FGL_J1205.7-2635_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=181.432 yref=-26.5946 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/114113/ft1_filtered_4FGL_J1205.7-2635_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/114113/ft2_4FGL_J1205.7-2635_daily_bin1712.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/114113/Model_4FGL_J1205.7-2635_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 GAL_V02
Working on...
/scratch/kocevski/114113/ft1_filtered_4FGL_J1205.7-2635_daily_bin1712.fits.....................!
real 85.51
user 83.98
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/114113/ft1_filtered_4FGL_J1205.7-2635_daily_bin1712.fits', '/scratch/kocevski/114113/ft2_4FGL_J1205.7-2635_daily_bin1712.fits', expMap='/scratch/kocevski/114113/expmap_683078401_683337601_4FGL_J1205.7-2635_daily_bin1712.fits', expCube='/scratch/kocevski/114113/ltcube_683078401_683337601_4FGL_J1205.7-2635_daily_bin1712.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/114113/Model_4FGL_J1205.7-2635_daily_bin1712.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1205.7-2635'

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  2.173e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  2.529e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/114113/ft1_filtered_4FGL_J1205.7-2635_daily_bin1712.fits
Spacecraft file(s): /scratch/kocevski/114113/ft2_4FGL_J1205.7-2635_daily_bin1712.fits
Exposure map: /scratch/kocevski/114113/expmap_683078401_683337601_4FGL_J1205.7-2635_daily_bin1712.fits
Exposure cube: /scratch/kocevski/114113/ltcube_683078401_683337601_4FGL_J1205.7-2635_daily_bin1712.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/114113/Model_4FGL_J1205.7-2635_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) = 10519.8831179

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43143E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .25030E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70572E-03   1.0000          .0000       .10000E+07
     4 'norm      '    24.877       1.0000          .0000       .10000E+07
     5 'Prefactor '    .75491E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .18319E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.5941       1.0000          .0000       .10000E+07
     8 'Prefactor '    .28864E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    7.7617       1.0000          .0000       .10000E+07
    10 'Prefactor '    .20991E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.6893       1.0000          .0000       .10000E+07
    12 'Prefactor '    21.870       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.1949       1.0000          .0000       .10000E+07
    14 'norm      '    .52885       1.0000          .0000       .10000E+07
    15 'Prefactor '    65.315       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.4270       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .82608       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10519.88     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1259 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3874        .32744E-06** at limit **
   2  norm           .0000        .44606       -.38172E-06** at limit **
   3  Prefactor     .16653E-09    4.1848       -.99059E-06** at limit **
   4  norm          24.988        10.966       -.19859E-05   -.39961E-01
   5  Prefactor     .11102E-09    4.6744        .10473E-05** at limit **
   6  norm           .0000        .99586       -.17153E-06** at limit **
   7  Prefactor     3.5889        3.6320        .62411E-06    .15767E-02
   8  Prefactor      .0000        6.3292        .30820E-06** at limit **
   9  Prefactor     7.8044        17.168       -.56732E-05   -.34895E-02
  10  Prefactor      .0000        7.4217        .11071E-05** at limit **
  11  Prefactor     5.6506        8.7518       -.27947E-05    .34396E-01
  12  Prefactor     21.737        16.112        .98184E-07   -.47461E-02
  13  Prefactor     3.2186        7.4088       -.16496E-06   -.24822E-03
  14  norm          .52898        .56634       -.19275E-06   -.57832E-02
  15  Prefactor     66.239        77.030        .27363E-05   -.43554E-02
  16  Normalizat    1.4270        .20794        .71256E-05    .83246E-04
  17  Prefactor     .82601        .10282        .11349E-05    .11555E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.66533e-10
  norm       = 24.9883
  Prefactor  = 1.11022e-10
  norm       = 0
  Prefactor  = 3.58894
  Prefactor  = 0
  Prefactor  = 7.80443
  Prefactor  = 0
  Prefactor  = 5.65057
  Prefactor  = 21.7372
  Prefactor  = 3.21859
  norm       = 0.528982
  Prefactor  = 66.2386
  Normalizat = 1.427
  Prefactor  = 0.826005
 **********
 **   18 **HESSE 
 **********

 FCN=   10519.88     FROM HESSE     STATUS=OK           255 CALLS     1514 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .44165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16653E-09    4.1263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.988        19.115        .20054E-03   -1.5608    
   5  Prefactor     .11102E-09    4.6698        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .99388        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5889        3.7391        .53277E-03   -1.5670    
   8  Prefactor      .0000        6.3160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.8044        21.551        .35969E-03   -1.5652    
  10  Prefactor      .0000        7.4215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.6506        56.053        .42089E-03   -1.5660    
  12  Prefactor     21.737        16.383        .21389E-03   -1.5615    
  13  Prefactor     3.2186        7.4379        .56662E-03   -1.5672    
  14  norm          .52898        .56638        .75859E-04   -1.5693    
  15  Prefactor     66.239        77.147        .12374E-03   -1.5545    
  16  Normalizat    1.4270        .17504        .66050E-01   -.79851    
  17  Prefactor     .82601        .86284E-01    .44056E-01   -.98777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53109e-07
Minuit parameter uncertainties:
  1  8.84563e-06
  2  5.71334e-06
  3  5.259e-05
  4  19.1154
  5  4.51818e-05
  6  3.73855e-06
  7  3.73911
  8  1.34771e-06
  9  21.5517
  10  2.782e-05
  11  35.5943
  12  16.3826
  13  7.43791
  14  0.566377
  15  77.148
  16  0.175116
  17  0.0862977
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  3.589e+00  3.739e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  2.529e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  8.260e-01  8.630e-02  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.427e+00  1.751e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.46
Ra Dec: 181.432 -26.595
Photon Index (Fixed Index): 2.53 +/- 0.00
Photon Flux (Fixed Index): 3.32e-08 +/- 3.46e-08
Energy Flux (Fixed Index): 9.34e-06 +/- 9.73e-06

TS (Fixed Index): 1.46
Ra Dec: 181.432 -26.595
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/114113/likelihoodResults_683078401_683337601_4FGL_J1205.7-2635_daily_bin1712.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) = 10519.8723093
delta logL = 0.00966678140321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10519.8693459
delta logL = 0.0126301131459

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3007       1.0000          .0000       .10000E+07
     2 'Index     '    2.6513       1.0000          .0000       10.000    
     3 'Normalizat'    1.4234       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82714       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+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=   10519.87     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      246 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3010        4.0214        .17113E-04   -.54263E-02
   2  Index         2.6511        .82568        .10250E-01   -.61461E-04
   3  Normalizat    1.4234        .20793        .29248E-03    .12376E-03
   4  Prefactor     .82715        .10250        .18359E-03    .21216E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.30103
  Index      = 2.65106
  Normalizat = 1.42336
  Prefactor  = 0.827154
 **********
 **   18 **HESSE 
 **********

 FCN=   10519.87     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3010        3.7923        .68451E-06   -1.5672    
   2  Index         2.6511        .77883        .40999E-03   -.48905    
   3  Normalizat    1.4234        .20803        .11699E-04   -.79955    
   4  Prefactor     .82715        .10254        .73434E-05   -.98735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74738e-10
Minuit parameter uncertainties:
  1  3.79233
  2  0.782933
  3  0.208152
  4  0.102566
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/114113': 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) = 10519.8693458
delta logL = 0.0126302190056

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  3.301e+00  3.792e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  2.651e+00  7.829e-01  0.000e+00  1.000e+01 (-1.000e+00)
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  8.272e-01  1.026e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.423e+00  2.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.49
Ra Dec: 181.432 -26.595
Photon Index (Free Index): 2.65 +/- 0.78
Photon Flux (Free Index): 3.59e-08 +/- 3.75e-08
Energy Flux (Free Index): 9.00e-06 +/- 8.89e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/114113/cmap_HighResolution_683078401_683337601_4FGL_J1205.7-2635_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.11e-03', comment='SUCCESS', photon_flux='3.32e-08', energy_flux2='9.00e-06', photon_flux_error='3.46e-08', dlogl='1.26e-02', energy_flux='9.34e-06', photon_flux2='3.59e-08', job_status='DONE', time_completed='2022-09-16 16:44:46.092378', photon_index_error2='0.78', photon_index2='2.65', ts='1.46', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='1.04e-07', energy_flux_error2='8.89e-06', EG='1.43', time_epoch_completed='1663371886.09', return_code='0', job_id='114113', GAL2='0.83', EG2='1.42', return_code2='0', energy_flux_error='9.73e-06', photon_flux_error2='3.75e-08', ts2='1.49', photon_index='2.53' WHERE bin_id='1712' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:44:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 114113: <4FGL_J1205.7-2635_daily_bin1712> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1712> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 16:30:16 2022
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:30:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 16:30:27 2022
Terminated at Fri Sep 16 16:44:46 2022
Results reported at Fri Sep 16 16:44:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1712 181.432 -26.5946 683078401 683337601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1205.7-2635 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   681.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             282.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            870 sec.

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

