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


Performing analysis on: 4FGL_J1200.7+2008_daily_bin1772
RA = 180.187, Dec = 20.1354
tmin = 698630401, tmax = 698889601
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='630755', job_status='RUN', time_executed='2023-02-24 01:31:38.053532', time_epoch_executed='1677231098.05' WHERE source_name='4FGL J1200.7+2008' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/630755

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/630755/ft1_4FGL_J1200.7+2008_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/630755/ft2_4FGL_J1200.7+2008_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/630755/ft1_4FGL_J1200.7+2008_daily_bin1772.fits outfile=/scratch/kocevski/630755/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin1772.fits ra=180.187 dec=20.1354 rad=12.0 tmin=698630401.0 tmax=698889601.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.15
user 2.87
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/630755/ft2_4FGL_J1200.7+2008_daily_bin1772.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/630755/ft2_4FGL_J1200.7+2008_daily_bin1772.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/630755/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin1772.fits evtable="EVENTS" outfile="/scratch/kocevski/630755/ft1_filtered_4FGL_J1200.7+2008_daily_bin1772.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.32
sys 0.16

Number of photons that the gtmktime cut: 95

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/630755/ft1_filtered_4FGL_J1200.7+2008_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/630755/ft2_4FGL_J1200.7+2008_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/630755/ltcube_698630401_698889601_4FGL_J1200.7+2008_daily_bin1772.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/630755/ft2_4FGL_J1200.7+2008_daily_bin1772.fits
.....................!
real 12.81
user 12.21
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/630755/ft1_filtered_4FGL_J1200.7+2008_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/630755/ft2_4FGL_J1200.7+2008_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/630755/ltcube_698630401_698889601_4FGL_J1200.7+2008_daily_bin1772.fits outfile=/scratch/kocevski/630755/expmap_698630401_698889601_4FGL_J1200.7+2008_daily_bin1772.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/630755/ltcube_698630401_698889601_4FGL_J1200.7+2008_daily_bin1772.fits
.....................!
real 191.18
user 185.10
sys 5.75

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

Setting source of interest to:
4FGL J1200.7+2008 @ 180.187 20.1354

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/630755/ft1_filtered_4FGL_J1200.7+2008_daily_bin1772.fits scfile=/scratch/kocevski/630755/ft2_4FGL_J1200.7+2008_daily_bin1772.fits outfile=/scratch/kocevski/630755/cmap_698630401_698889601_4FGL_J1200.7+2008_daily_bin1772.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=180.187 yref=20.1354 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/630755/ft1_filtered_4FGL_J1200.7+2008_daily_bin1772.fits scfile=/scratch/kocevski/630755/ft2_4FGL_J1200.7+2008_daily_bin1772.fits outfile=/scratch/kocevski/630755/cmap_HighResolution_698630401_698889601_4FGL_J1200.7+2008_daily_bin1772.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=180.187 yref=20.1354 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/630755/ft1_filtered_4FGL_J1200.7+2008_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/630755/ft2_4FGL_J1200.7+2008_daily_bin1772.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/630755/Model_4FGL_J1200.7+2008_daily_bin1772.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/630755/ft1_filtered_4FGL_J1200.7+2008_daily_bin1772.fits........................!
real 21.52
user 20.17
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/630755/ft1_filtered_4FGL_J1200.7+2008_daily_bin1772.fits', '/scratch/kocevski/630755/ft2_4FGL_J1200.7+2008_daily_bin1772.fits', expMap='/scratch/kocevski/630755/expmap_698630401_698889601_4FGL_J1200.7+2008_daily_bin1772.fits', expCube='/scratch/kocevski/630755/ltcube_698630401_698889601_4FGL_J1200.7+2008_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/630755/Model_4FGL_J1200.7+2008_daily_bin1772.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1200.7+2008'

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  1.085e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
282        Index:  2.520e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  7.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/630755/ft1_filtered_4FGL_J1200.7+2008_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/630755/ft2_4FGL_J1200.7+2008_daily_bin1772.fits
Exposure map: /scratch/kocevski/630755/expmap_698630401_698889601_4FGL_J1200.7+2008_daily_bin1772.fits
Exposure cube: /scratch/kocevski/630755/ltcube_698630401_698889601_4FGL_J1200.7+2008_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/630755/Model_4FGL_J1200.7+2008_daily_bin1772.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) = 1116.51468085

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    345.58       1.0000          .0000       .10000E+07
     2 'Prefactor '    .56971E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .31221       1.0000          .0000       .10000E+07
     4 'Prefactor '    .52083E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .36544E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .15534E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .10428E-01   1.0000          .0000       .10000E+07
     8 'norm      '    39.243       1.0000          .0000       .10000E+07
     9 'Prefactor '    90.605       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11607E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .55598       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15289E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .17619E-02   1.0000          .0000       .10000E+07
    14 'norm      '    11.797       1.0000          .0000       .10000E+07
    15 'Prefactor '    .28628E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    12.334       1.0000          .0000       .10000E+07
    17 'Prefactor '    .49091       1.0000          .0000       .10000E+07
    18 'norm      '    .82839       1.0000          .0000       .10000E+07
    19 'norm      '    46.091       1.0000          .0000       .10000E+07
    20 'Prefactor '    .26407E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    26.397       1.0000          .0000       .10000E+07
    22 'Normalizat'    .74533       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .74384       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1116.096     FROM MIGRAD    STATUS=CONVERGED    195 CALLS     1925 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     346.37        20.415        .11948E-05   -.74567    
   2  Prefactor     .28760E-05    103.73        .26509E-05** at limit **
   3  Prefactor     .33337E-05    13.890       -.54892E-05** at limit **
   4  Prefactor     .74528E-05    101.01       -.23074E-04** at limit **
   5  Prefactor     .32063E-05    19.625       -.43728E-05** at limit **
   6  Prefactor     .11412E-05    18.996       -.22443E-05** at limit **
   7  Prefactor     .45337E-05    19.649        .55813E-05** at limit **
   8  norm          39.315        10.915        .55225E-07    .79859E-03
   9  Prefactor     102.19        106.32       -.53680E-06    .32820E-01
  10  Prefactor     .16653E-09    6.7947        .72523E-07** at limit **
  11  Prefactor     .72071E-05    172.36       -.84125E-05** at limit **
  12  Prefactor     .93925E-07    15.451        .65977E-06** at limit **
  13  Prefactor      .0000        8.1437        .76358E-07** at limit **
  14  norm          11.579        12.744       -.23109E-06   -.14221E-02
  15  Prefactor     .73275E-08    7.6239        .68049E-06** at limit **
  16  Prefactor     12.582        10.212        .12688E-06    .21092E-02
  17  Prefactor     .10773E-04    117.81        .60588E-06** at limit **
  18  norm          .84650        .94174        .22159E-06    .10851E-02
  19  norm          46.493        4.1656        .21641E-06    .29060E-01
  20  Prefactor     .22204E-09    11.005        .72860E-07** at limit **
  21  Prefactor     25.933        14.212        .18191E-05   -.39136E-01
  22  Normalizat    .74575        .60961       -.28810E-04   -.20770E-04
  23  Prefactor     .72968        .58848        .25083E-04   -.18452E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 346.367
  Prefactor  = 2.87598e-06
  Prefactor  = 3.33367e-06
  Prefactor  = 7.45282e-06
  Prefactor  = 3.20632e-06
  Prefactor  = 1.1412e-06
  Prefactor  = 4.53371e-06
  norm       = 39.3154
  Prefactor  = 102.188
  Prefactor  = 1.66533e-10
  Prefactor  = 7.20707e-06
  Prefactor  = 9.39249e-08
  Prefactor  = 0
  norm       = 11.5787
  Prefactor  = 7.32747e-09
  Prefactor  = 12.5819
  Prefactor  = 1.07734e-05
  norm       = 0.846498
  norm       = 46.4929
  Prefactor  = 2.22045e-10
  Prefactor  = 25.9326
  Normalizat = 0.745746
  Prefactor  = 0.729683
 **********
 **   18 **HESSE 
 **********

 FCN=   1116.096     FROM HESSE     STATUS=OK           410 CALLS     2335 TOTAL
                     EDM=   .22E-03    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     346.37        371.93        .53803E-04   -1.5336    
   2  Prefactor     .28760E-05    103.60        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .33337E-05    132.73        .10046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .74528E-05    101.54        .15458E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .32063E-05    22.629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11412E-05    19.031        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .45337E-05    20.662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          39.315        10.921        .15965E-03   -1.5583    
   9  Prefactor     102.19        105.46        .10506E-03   -1.5506    
  10  Prefactor     .16653E-09    6.7917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .72071E-05    183.11        .73267E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .93925E-07    15.450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        8.0734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.579        12.911        .29141E-03   -1.5640    
  15  Prefactor     .73275E-08    7.6200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.582        10.989        .28498E-03   -1.5637    
  17  Prefactor     .10773E-04    120.47        .79629E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .84650        .95427        .50842E-03   -1.5690    
  19  norm          46.493        21.389        .14731E-03   -1.5572    
  20  Prefactor     .22204E-09    11.018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     25.933        32.241        .19467E-03   -1.5606    
  22  Normalizat    .74575        .51818        .80445E-01   -1.0211    
  23  Prefactor     .72968        .49105        .76861E-01   -1.0237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.00022302
Minuit parameter uncertainties:
  1  371.957
  2  0.0345235
  3  0.0420706
  4  0.0550192
  5  0.017036
  6  0.00932063
  7  0.0193572
  8  10.921
  9  105.464
  10  6.95569e-05
  11  0.0726563
  12  0.00240914
  13  2.49328e-05
  14  12.9114
  15  0.000472333
  16  10.9888
  17  0.0720533
  18  0.954267
  19  21.3893
  20  9.8989e-05
  21  32.2409
  22  0.521648
  23  0.494011
Done.

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

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  1.665e-10  6.956e-05  0.000e+00  1.000e+06 ( 1.000e-12)
282        Index:  2.520e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  7.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  7.297e-01  4.940e-01  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  7.457e-01  5.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 180.187 20.135
Photon Flux Upper Limit: 3.58e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.79e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/630755/likelihoodResults_698630401_698889601_4FGL_J1200.7+2008_daily_bin1772.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): 102
logL (Free Index) = 1116.10138193
delta logL = -0.00546436867876

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1116.09591929
delta logL = -1.73595935848e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22721E-06   1.0000          .0000       .10000E+07
     2 'Index     '    3.2904       1.0000          .0000       10.000    
     3 'Normalizat'    .74466       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73068       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1116.096     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      271 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88818E-09    8.6778        .42118E-03** at limit **
   2  Index         1.0437        9.3179        .50000       -.79012E-09
   3  Normalizat    .74573        .19897E-01    .80446E-01    .48334E-04
   4  Prefactor     .72971        .18942E-01    .76859E-01    .23625E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.88178e-10
  Index      = 1.04375
  Normalizat = 0.745726
  Prefactor  = 0.729707
 **********
 **   18 **HESSE 
 **********

 FCN=   1116.096     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      302 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88818E-09    57.521        .61651E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0437        6.8677        .50000       -.91285    
   3  Normalizat    .74573        .51817E-01    .35625E-03   -1.0211    
   4  Prefactor     .72971        .49349E-01    .34025E-03   -1.0237    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.0296e-09
Minuit parameter uncertainties:
  1  0.000448604
  2  120467
  3  0.0518206
  4  0.0493518
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/630755': 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): 102
logL (Free Index) = 1116.09591756
delta logL = -1.00544639281e-09

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  8.882e-10  4.486e-04  0.000e+00  1.000e+06 ( 1.000e-12)
282        Index:  1.044e+00  1.205e+05  0.000e+00  1.000e+01 (-1.000e+00)
283        Scale:  7.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  7.297e-01  4.935e-02  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  7.457e-01  5.182e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 180.187 20.135

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/630755/cmap_HighResolution_698630401_698889601_4FGL_J1200.7+2008_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.79e-02', job_status='DONE', photon_flux_upper_limit='3.58e-07', time_completed='2023-02-24 01:38:02.436361', job_id='630755', GAL2='0.73', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1677231482.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='-1.01e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1772' AND source_name='4FGL J1200.7+2008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:38:02 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 630755: <4FGL_J1200.7+2008_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1200.7+2008_daily_bin1772> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Feb 24 01:30:21 2023
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:30:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:30:22 2023
Terminated at Fri Feb 24 01:38:03 2023
Results reported at Fri Feb 24 01:38:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.7+2008_daily_bin1772 180.187 20.1354 698630401 698889601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1200.7+2008 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   376.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   460 sec.
    Turnaround time :                            462 sec.

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

