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


Performing analysis on: 4FGL_J1200.7+2008_weekly_bin760
RA = 180.187, Dec = 20.1354
tmin = 698630401, tmax = 699235201
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='21207', job_status='RUN', time_executed='2023-02-28 01:06:42.537646', time_epoch_executed='1677575202.54' WHERE source_name='4FGL J1200.7+2008' and cadence='weekly' and bin_id='760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21207

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

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=698630401.0 && nMetStart<699235201.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<699235201.0' /Data/Flight/Level1/LPA

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21207/ft1_4FGL_J1200.7+2008_weekly_bin760.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21207/ft2_4FGL_J1200.7+2008_weekly_bin760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21207/ft1_4FGL_J1200.7+2008_weekly_bin760.fits outfile=/scratch/kocevski/21207/ft1_filteredMKT_4FGL_J1200.7+2008_weekly_bin760.fits ra=180.187 dec=20.1354 rad=12.0 tmin=698630401.0 tmax=699235201.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 6.24
user 5.98
sys 0.23

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

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

Number of photons that the gtmktime cut: 213

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21207/ft1_filtered_4FGL_J1200.7+2008_weekly_bin760.fits" evtable="EVENTS" scfile=/scratch/kocevski/21207/ft2_4FGL_J1200.7+2008_weekly_bin760.fits sctable="SC_DATA" outfile=/scratch/kocevski/21207/ltcube_698630401_699235201_4FGL_J1200.7+2008_weekly_bin760.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/21207/ft2_4FGL_J1200.7+2008_weekly_bin760.fits
.....................!
real 33.26
user 32.81
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21207/ft1_filtered_4FGL_J1200.7+2008_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/21207/ft2_4FGL_J1200.7+2008_weekly_bin760.fits sctable="SC_DATA" expcube=/scratch/kocevski/21207/ltcube_698630401_699235201_4FGL_J1200.7+2008_weekly_bin760.fits outfile=/scratch/kocevski/21207/expmap_698630401_699235201_4FGL_J1200.7+2008_weekly_bin760.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/21207/ltcube_698630401_699235201_4FGL_J1200.7+2008_weekly_bin760.fits
.....................!
real 190.93
user 185.66
sys 4.20

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/21207/ft1_filtered_4FGL_J1200.7+2008_weekly_bin760.fits scfile=/scratch/kocevski/21207/ft2_4FGL_J1200.7+2008_weekly_bin760.fits outfile=/scratch/kocevski/21207/cmap_698630401_699235201_4FGL_J1200.7+2008_weekly_bin760.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.42
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21207/ft1_filtered_4FGL_J1200.7+2008_weekly_bin760.fits scfile=/scratch/kocevski/21207/ft2_4FGL_J1200.7+2008_weekly_bin760.fits outfile=/scratch/kocevski/21207/cmap_HighResolution_698630401_699235201_4FGL_J1200.7+2008_weekly_bin760.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.59
user 0.43
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/21207/ft1_filtered_4FGL_J1200.7+2008_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/21207/ft2_4FGL_J1200.7+2008_weekly_bin760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/21207/Model_4FGL_J1200.7+2008_weekly_bin760.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/21207/ft1_filtered_4FGL_J1200.7+2008_weekly_bin760.fits......................!
real 32.23
user 30.75
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    176.40       1.0000          .0000       .10000E+07
     2 'Prefactor '    .72170E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .44915E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .65335E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.0059       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12500E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .10725E-06   1.0000          .0000       .10000E+07
     8 'norm      '    43.165       1.0000          .0000       .10000E+07
     9 'Prefactor '    52.833       1.0000          .0000       .10000E+07
    10 'Prefactor '    .65336E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .37789E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .78299E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .20949E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .71798E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    4.9196       1.0000          .0000       .10000E+07
    16 'Prefactor '    9.6511       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18546E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .47196       1.0000          .0000       .10000E+07
    19 'norm      '    24.073       1.0000          .0000       .10000E+07
    20 'Prefactor '    .78854E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    32.596       1.0000          .0000       .10000E+07
    22 'Normalizat'    .10045E-01   1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.7227       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=   2534.171     FROM MIGRAD    STATUS=CONVERGED    291 CALLS     2094 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     181.43        214.12       -.12829E-05    .24531E-04
   2  Prefactor     .55511E-10    54.179       -.84669E-06** at limit **
   3  Prefactor      .0000        55.816        .15359E-06** at limit **
   4  Prefactor      .0000        34.886        .33603E-06** at limit **
   5  Prefactor     2.1362        57.540        .55861E-05   -.16876E-03
   6  Prefactor      .0000        2.7829        .43414E-06** at limit **
   7  Prefactor     .55511E-10    13.079       -.83851E-06** at limit **
   8  norm          43.185        7.0554        .24996E-07    .51076E-03
   9  Prefactor     62.765        76.272        .82967E-07    .72702E-04
  10  Prefactor      .0000        3.4679        .21275E-06** at limit **
  11  Prefactor      .0000        104.91        .77297E-07** at limit **
  12  Prefactor      .0000        2.7893        .19845E-06** at limit **
  13  Prefactor      .0000        2.8008        .24465E-06** at limit **
  14  norm           .0000        10.588        .99914E-07** at limit **
  15  Prefactor     4.9278        4.4515       -.15236E-06   -.25622E-03
  16  Prefactor     9.7177        6.1960        .11686E-07    .31915E-03
  17  Prefactor      .0000        8.9476        .70687E-07** at limit **
  18  norm          .48679        .63950        .37009E-07    .15850E-02
  19  norm          23.857        11.210       -.10721E-06    .10589E-03
  20  Prefactor      .0000        5.5551       -.24688E-06** at limit **
  21  Prefactor     32.614        23.622        .62101E-07    .34577E-04
  22  Normalizat    .10000E-01    6.4830       -.26943E-03** at limit **
  23  Prefactor     1.7113        .25190        .29741E-05    .38354E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 181.426
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.13624
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 43.1852
  Prefactor  = 62.765
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 4.92779
  Prefactor  = 9.71767
  Prefactor  = 0
  norm       = 0.48679
  norm       = 23.8574
  Prefactor  = 0
  Prefactor  = 32.6145
  Normalizat = 0.01
  Prefactor  = 1.71131
 **********
 **   18 **HESSE 
 **********

 FCN=   2534.171     FROM HESSE     STATUS=OK           414 CALLS     2508 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     181.43        214.06        .75300E-04   -1.5439    
   2  Prefactor     .55511E-10    53.868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        55.652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        34.810        .14975E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.1362        57.117        .73080E-03   -1.5679    
   6  Prefactor      .0000        2.7865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    12.957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          43.185        7.0978        .15222E-03   -1.5577    
   9  Prefactor     62.765        75.870        .13759E-03   -1.5550    
  10  Prefactor      .0000        3.4903        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        104.85        .16065E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.7857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.7991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        10.516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.9278        4.4644        .45323E-03   -1.5664    
  16  Prefactor     9.7177        6.2198        .32233E-03   -1.5646    
  17  Prefactor      .0000        8.9687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .48679        .66789        .81581E-03   -1.5694    
  19  norm          23.857        11.313        .20386E-03   -1.5610    
  20  Prefactor      .0000        5.5649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     32.614        23.659        .17518E-03   -1.5594    
  22  Normalizat    .10000E-01    .37516        .32095       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.7113        .31259        .57798E-01   -.71781    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47831e-08
Minuit parameter uncertainties:
  1  214.072
  2  0.000126667
  3  7.06582e-05
  4  1.71795e-05
  5  22.0923
  6  6.61765e-06
  7  4.1868e-05
  8  7.09784
  9  75.8714
  10  4.15656e-06
  11  6.37656e-06
  12  3.2156e-06
  13  3.87117e-06
  14  4.34268e-06
  15  4.46438
  16  6.21982
  17  1.10804e-06
  18  0.667886
  19  11.3125
  20  5.91585e-06
  21  23.6594
  22  3.95595e-06
  23  0.31295
Done.

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

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  0.000e+00  4.157e-06  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.711e+00  3.129e-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:  1.000e-02  3.956e-06  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/21207/likelihoodResults_698630401_699235201_4FGL_J1200.7+2008_weekly_bin760.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) = 2534.1712271
delta logL = -0.000613164947936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2534.17061505
delta logL = -1.1184183677e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66819E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.2086       1.0000          .0000       10.000    
     3 'Normalizat'    .10006E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.7113       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2534.171     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      279 TOTAL
                     EDM=   .83E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.2742        .42118E-03** at limit **
   2  Index         3.0628        1.5559        .14827E-04     .0000    
   3  Normalizat    .10000E-01    .25560        .74782E-04** at limit **
   4  Prefactor     1.7113        1.0325       -.11756E-05    .58094E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.06278
  Normalizat = 0.01
  Prefactor  = 1.71131
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2534.171     FROM HESSE     STATUS=FAILED         9 CALLS      288 TOTAL
                     EDM=   .83E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.2742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0591        2.1174        .14827E-04   -.39786    
   3  Normalizat    .10000E-01    .25560        .74782E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.7113        1.0325       -.11756E-05   -.71781    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.32411e-12
Minuit parameter uncertainties:
  1  5.50162e-06
  2  1.58708
  3  2.17276e-06
  4  1.04589
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21207': 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): 101
logL (Free Index) = 2534.17061393
delta logL = -2.72848410532e-12

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  0.000e+00  5.502e-06  0.000e+00  1.000e+06 ( 1.000e-12)
282        Index:  3.063e+00  1.587e+00  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.711e+00  1.046e+00  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:  1.000e-02  2.173e-06  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/21207/cmap_HighResolution_698630401_699235201_4FGL_J1200.7+2008_weekly_bin760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.45e-02', job_status='DONE', photon_flux_upper_limit='1.86e-07', time_completed='2023-02-28 01:14:51.501176', job_id='21207', GAL2='1.71', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677575691.5', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.71', dlogl='-2.73e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='760' AND source_name='4FGL J1200.7+2008' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 28 01:14:51 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 21207: <4FGL_J1200.7+2008_weekly_bin760> in cluster <slac> Done

Job <4FGL_J1200.7+2008_weekly_bin760> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Feb 28 01:05:22 2023
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 28 01:05:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 28 01:05:23 2023
Terminated at Tue Feb 28 01:14:52 2023
Results reported at Tue Feb 28 01:14:52 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.7+2008_weekly_bin760 180.187 20.1354 698630401 699235201 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 :                                   489.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   568 sec.
    Turnaround time :                            570 sec.

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

