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


Performing analysis on: 4FGL_J1200.7+2008_daily_bin1752
RA = 180.187, Dec = 20.1354
tmin = 693446401, tmax = 693705601
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='261839', job_status='RUN', time_executed='2022-12-26 00:52:35.129386', time_epoch_executed='1672044755.13' WHERE source_name='4FGL J1200.7+2008' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/261839

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/261839/ft1_4FGL_J1200.7+2008_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/261839/ft2_4FGL_J1200.7+2008_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/261839/ft1_4FGL_J1200.7+2008_daily_bin1752.fits outfile=/scratch/kocevski/261839/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin1752.fits ra=180.187 dec=20.1354 rad=12.0 tmin=693446401.0 tmax=693705601.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.48
user 3.25
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/261839/ft2_4FGL_J1200.7+2008_daily_bin1752.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/261839/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/261839/ft1_filtered_4FGL_J1200.7+2008_daily_bin1752.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.53
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 663

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/261839/ft1_filtered_4FGL_J1200.7+2008_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/261839/ft2_4FGL_J1200.7+2008_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/261839/ltcube_693446401_693705601_4FGL_J1200.7+2008_daily_bin1752.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/261839/ft2_4FGL_J1200.7+2008_daily_bin1752.fits
.....................!
real 15.72
user 15.35
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/261839/ft1_filtered_4FGL_J1200.7+2008_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/261839/ft2_4FGL_J1200.7+2008_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/261839/ltcube_693446401_693705601_4FGL_J1200.7+2008_daily_bin1752.fits outfile=/scratch/kocevski/261839/expmap_693446401_693705601_4FGL_J1200.7+2008_daily_bin1752.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/261839/ltcube_693446401_693705601_4FGL_J1200.7+2008_daily_bin1752.fits
.....................!
real 193.31
user 186.98
sys 5.24

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/261839/ft1_filtered_4FGL_J1200.7+2008_daily_bin1752.fits scfile=/scratch/kocevski/261839/ft2_4FGL_J1200.7+2008_daily_bin1752.fits outfile=/scratch/kocevski/261839/cmap_693446401_693705601_4FGL_J1200.7+2008_daily_bin1752.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/261839/ft1_filtered_4FGL_J1200.7+2008_daily_bin1752.fits scfile=/scratch/kocevski/261839/ft2_4FGL_J1200.7+2008_daily_bin1752.fits outfile=/scratch/kocevski/261839/cmap_HighResolution_693446401_693705601_4FGL_J1200.7+2008_daily_bin1752.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.57
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/261839/ft1_filtered_4FGL_J1200.7+2008_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/261839/ft2_4FGL_J1200.7+2008_daily_bin1752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/261839/Model_4FGL_J1200.7+2008_daily_bin1752.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/261839/ft1_filtered_4FGL_J1200.7+2008_daily_bin1752.fits.....................!
real 60.79
user 59.30
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/261839/ft1_filtered_4FGL_J1200.7+2008_daily_bin1752.fits', '/scratch/kocevski/261839/ft2_4FGL_J1200.7+2008_daily_bin1752.fits', expMap='/scratch/kocevski/261839/expmap_693446401_693705601_4FGL_J1200.7+2008_daily_bin1752.fits', expCube='/scratch/kocevski/261839/ltcube_693446401_693705601_4FGL_J1200.7+2008_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/261839/Model_4FGL_J1200.7+2008_daily_bin1752.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/261839/ft1_filtered_4FGL_J1200.7+2008_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/261839/ft2_4FGL_J1200.7+2008_daily_bin1752.fits
Exposure map: /scratch/kocevski/261839/expmap_693446401_693705601_4FGL_J1200.7+2008_daily_bin1752.fits
Exposure cube: /scratch/kocevski/261839/ltcube_693446401_693705601_4FGL_J1200.7+2008_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/261839/Model_4FGL_J1200.7+2008_daily_bin1752.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) = 7038.09942458

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1591       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6675       1.0000          .0000       .10000E+07
     3 'Prefactor '    .14769E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.8682       1.0000          .0000       .10000E+07
     5 'Prefactor '    .37341E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.1042       1.0000          .0000       .10000E+07
     7 'Prefactor '    .50147E-02   1.0000          .0000       .10000E+07
     8 'norm      '    27.886       1.0000          .0000       .10000E+07
     9 'Prefactor '    .75678       1.0000          .0000       .10000E+07
    10 'Prefactor '    .77882E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    .92093E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .74213E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .75440E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .13064E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .14791       1.0000          .0000       .10000E+07
    16 'Prefactor '    9.1571       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0563       1.0000          .0000       .10000E+07
    18 'norm      '    .32435E-06   1.0000          .0000       .10000E+07
    19 'norm      '    15.055       1.0000          .0000       .10000E+07
    20 'Prefactor '    .19810E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .12008E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    .72217       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2649       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=   7038.051     FROM MIGRAD    STATUS=CONVERGED    203 CALLS     1586 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1391        4.1101       -.68371E-07   -.11708E-03
   2  Prefactor     4.6734        7.7746       -.89325E-07   -.65180E-03
   3  Prefactor     .63671E-07    13.190       -.72059E-06** at limit **
   4  Prefactor     8.7877        3.3143       -.14178E-06   -.59273E-01
   5  Prefactor     .44409E-09    2.7449        .32932E-06** at limit **
   6  Prefactor     2.1052        1.5692        .60686E-07   -.40870E-03
   7  Prefactor     .99365E-08    7.7823       -.17859E-06** at limit **
   8  norm          27.878        2.8131       -.35798E-07    .79687E-03
   9  Prefactor     .77060        48.929        .13748E-05   -.10161E-01
  10  Prefactor     .12033E-05    2.9632       -.35316E-06** at limit **
  11  Prefactor     .59952E-08    95.011        .45007E-05** at limit **
  12  Prefactor      .0000        .98285       -.16933E-06** at limit **
  13  Prefactor      .0000        1.0991        .22116E-06** at limit **
  14  norm          .11102E-09    1.5882       -.72455E-07** at limit **
  15  Prefactor     .14521        2.5101       -.40549E-06** at limit **
  16  Prefactor     9.1679        2.9348       -.51301E-07   -.98916E-03
  17  Prefactor     4.0570        6.6042        .22134E-06   -.52179E-03
  18  norm           .0000        .43169        .30791E-06** at limit **
  19  norm          15.051        5.6776       -.74863E-07   -.76910E-03
  20  Prefactor     .27756E-09    6.5502        .37747E-06** at limit **
  21  Prefactor     .41078E-08    6.1039        .46814E-06** at limit **
  22  Normalizat    .72242        .20299       -.10075E-04   -.48262E-04
  23  Prefactor     1.2645        .21312        .93485E-05   -.39703E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.13914
  Prefactor  = 4.67342
  Prefactor  = 6.36713e-08
  Prefactor  = 8.78768
  Prefactor  = 4.44089e-10
  Prefactor  = 2.10516
  Prefactor  = 9.9365e-09
  norm       = 27.8777
  Prefactor  = 0.770599
  Prefactor  = 1.20332e-06
  Prefactor  = 5.9952e-09
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.11022e-10
  Prefactor  = 0.14521
  Prefactor  = 9.1679
  Prefactor  = 4.05699
  norm       = 0
  norm       = 15.0513
  Prefactor  = 2.77556e-10
  Prefactor  = 4.10783e-09
  Normalizat = 0.72242
  Prefactor  = 1.26453
 **********
 **   18 **HESSE 
 **********

 FCN=   7038.051     FROM HESSE     STATUS=OK           432 CALLS     2018 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1391        4.1089        .49398E-03   -1.5667    
   2  Prefactor     4.6734        7.8126        .46558E-03   -1.5665    
   3  Prefactor     .63671E-07    13.670        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7877        15.771        .33634E-03   -1.5649    
   5  Prefactor     .44409E-09    2.7596        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.1052        1.5928        .71107E-03   -1.5679    
   7  Prefactor     .99365E-08    7.8467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          27.878        2.8318        .18940E-03   -1.5602    
   9  Prefactor     .77060        55.462        .56214E-03   -1.5690    
  10  Prefactor     .12033E-05    2.1877        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .59952E-08    95.026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .97855        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.0952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .11102E-09    1.5710        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .14521        1.1264        .32817E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.1679        2.9248        .33096E-03   -1.5647    
  17  Prefactor     4.0570        6.6772        .50040E-03   -1.5668    
  18  norm           .0000        .94077E-01    .13834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          15.051        5.6904        .25787E-03   -1.5630    
  20  Prefactor     .27756E-09    6.5820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .41078E-08    6.1322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .72242        .17492        .69405E-01   -1.0301    
  23  Prefactor     1.2645        .17878        .57902E-01   -.84368    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24934e-07
Minuit parameter uncertainties:
  1  4.10887
  2  7.81258
  3  0.00186551
  4  15.7713
  5  7.09202e-05
  6  1.59278
  7  0.000557875
  8  2.83179
  9  13.0752
  10  0.00324503
  11  0.00151229
  12  1.713e-06
  13  5.44503e-06
  14  2.37143e-05
  15  0.808871
  16  2.92485
  17  6.67717
  18  4.56326e-07
  19  5.69043
  20  8.83974e-05
  21  0.000316405
  22  0.175057
  23  0.178866
Done.

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

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  1.203e-06  3.245e-03  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:  1.265e+00  1.789e-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.224e-01  1.751e-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: 7.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/261839/likelihoodResults_693446401_693705601_4FGL_J1200.7+2008_daily_bin1752.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) = 7038.04746037
delta logL = 0.00333168254019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7037.30001578
delta logL = 0.750776275865

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .88731E-05   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .65892       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3105       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=   7037.300     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      475 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88721E-05    .93903E-05    .45194E-05** at limit **
   2  Index        10.0000        .96253        .50000    ** at limit **
   3  Normalizat    .65901        .17559        .72412E-01    .38808E-03
   4  Prefactor     1.3105        .18338        .57036E-01    .22088E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.87213e-06
  Index      = 10
  Normalizat = 0.659013
  Prefactor  = 1.3105
 **********
 **   18 **HESSE 
 **********

 FCN=   7037.300     FROM HESSE     STATUS=OK            35 CALLS      510 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88721E-05    .88723E-05    .74902E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        .94808        .48532        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .65901        .20743        .32054E-03   -1.0553    
   4  Prefactor     1.3105        .21873        .25218E-03   -.82995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.69512e-06
Minuit parameter uncertainties:
  1  8.87233e-06
  2  4.63903e-05
  3  0.20768
  4  0.218884
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/261839': 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) = 7037.3000155
delta logL = 0.750776559734

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  8.872e-06  8.872e-06  0.000e+00  1.000e+06 ( 1.000e-12)
282        Index:  1.000e+01  4.639e-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:  1.311e+00  2.189e-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:  6.590e-01  2.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.59
Ra Dec: 180.187 20.135
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 4.15e-08 +/- 4.02e-08
Energy Flux (Free Index): 4.64e-06 +/- 4.52e-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/261839/cmap_HighResolution_693446401_693705601_4FGL_J1200.7+2008_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', comment='SUCCESS', energy_flux2='4.64e-06', dlogl='7.51e-01', photon_flux2='4.15e-08', job_status='DONE', time_completed='2022-12-26 01:04:03.381116', photon_index_error2='0.00', photon_index2='10.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='7.06e-08', energy_flux_error2='4.52e-06', EG='0.72', time_epoch_completed='1672045443.38', return_code='0', job_id='261839', GAL2='1.31', EG2='0.66', return_code2='0', photon_flux_error2='4.02e-08', ts2='1.59', photon_index='2.52' WHERE bin_id='1752' AND source_name='4FGL J1200.7+2008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 01:04:03 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 261839: <4FGL_J1200.7+2008_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1200.7+2008_daily_bin1752> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Dec 26 00:50:15 2022
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:51:02 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:51:02 2022
Terminated at Mon Dec 26 01:04:04 2022
Results reported at Mon Dec 26 01:04:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.7+2008_daily_bin1752 180.187 20.1354 693446401 693705601 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 :                                   689.36 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             302.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            829 sec.

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

