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


Performing analysis on: 4FGL_J1200.7+2008_daily_bin1748
RA = 180.187, Dec = 20.1354
tmin = 692409601, tmax = 692668801
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='884811', job_status='RUN', time_executed='2022-12-14 00:38:44.692963', time_epoch_executed='1671007124.69' WHERE source_name='4FGL J1200.7+2008' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/884811

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/884811/ft1_4FGL_J1200.7+2008_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/884811/ft2_4FGL_J1200.7+2008_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/884811/ft1_4FGL_J1200.7+2008_daily_bin1748.fits outfile=/scratch/kocevski/884811/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin1748.fits ra=180.187 dec=20.1354 rad=12.0 tmin=692409601.0 tmax=692668801.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.62
user 3.32
sys 0.23

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

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

Number of photons that the gtmktime cut: 865

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/884811/ft1_filtered_4FGL_J1200.7+2008_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/884811/ft2_4FGL_J1200.7+2008_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/884811/ltcube_692409601_692668801_4FGL_J1200.7+2008_daily_bin1748.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/884811/ft2_4FGL_J1200.7+2008_daily_bin1748.fits
.....................!
real 11.92
user 11.58
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/884811/ft1_filtered_4FGL_J1200.7+2008_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/884811/ft2_4FGL_J1200.7+2008_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/884811/ltcube_692409601_692668801_4FGL_J1200.7+2008_daily_bin1748.fits outfile=/scratch/kocevski/884811/expmap_692409601_692668801_4FGL_J1200.7+2008_daily_bin1748.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/884811/ltcube_692409601_692668801_4FGL_J1200.7+2008_daily_bin1748.fits
.....................!
real 190.79
user 184.88
sys 5.42

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/884811/ft1_filtered_4FGL_J1200.7+2008_daily_bin1748.fits scfile=/scratch/kocevski/884811/ft2_4FGL_J1200.7+2008_daily_bin1748.fits outfile=/scratch/kocevski/884811/cmap_692409601_692668801_4FGL_J1200.7+2008_daily_bin1748.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/884811/ft1_filtered_4FGL_J1200.7+2008_daily_bin1748.fits scfile=/scratch/kocevski/884811/ft2_4FGL_J1200.7+2008_daily_bin1748.fits outfile=/scratch/kocevski/884811/cmap_HighResolution_692409601_692668801_4FGL_J1200.7+2008_daily_bin1748.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/884811/ft1_filtered_4FGL_J1200.7+2008_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/884811/ft2_4FGL_J1200.7+2008_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/884811/Model_4FGL_J1200.7+2008_daily_bin1748.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/884811/ft1_filtered_4FGL_J1200.7+2008_daily_bin1748.fits.....................!
real 82.78
user 80.49
sys 1.42

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29345E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .86469E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .20606E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    20.300       1.0000          .0000       .10000E+07
     5 'Prefactor '    .14561E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.6294       1.0000          .0000       .10000E+07
     7 'Prefactor '    .37235E-05   1.0000          .0000       .10000E+07
     8 'norm      '    36.849       1.0000          .0000       .10000E+07
     9 'Prefactor '    .63007E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .90542       1.0000          .0000       .10000E+07
    11 'Prefactor '    .56473E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.6357       1.0000          .0000       .10000E+07
    13 'Prefactor '    .66847E-06   1.0000          .0000       .10000E+07
    14 'norm      '    1.6481       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.7519       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.0009       1.0000          .0000       .10000E+07
    17 'Prefactor '    .10468       1.0000          .0000       .10000E+07
    18 'norm      '    .83858E-01   1.0000          .0000       .10000E+07
    19 'norm      '    7.2357       1.0000          .0000       .10000E+07
    20 'Prefactor '    17.543       1.0000          .0000       .10000E+07
    21 'Prefactor '    14.293       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.3753       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87190       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=   9115.618     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1881 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59841E-07    4.7963        .55665E-06** at limit **
   2  Prefactor     .39135E-07    5.6256        .12394E-06** at limit **
   3  Prefactor     .55511E-10    4.0216       -.17652E-07** at limit **
   4  Prefactor     20.221        2.9384       -.54142E-07    .10299    
   5  Prefactor     .11102E-09    3.5312        .24436E-06** at limit **
   6  Prefactor     2.6310        1.7778       -.21413E-08    .40481E-03
   7  Prefactor     .20539E-08    4.8773        .21435E-07** at limit **
   8  norm          36.845        3.1556       -.19579E-07    .41258E-02
   9  Prefactor     .45797E-07    25.525        .16657E-06** at limit **
  10  Prefactor     .82254        .50983        .20583E-07    .22592E-01
  11  Prefactor     .17431E-07    31.375        .34926E-06** at limit **
  12  Prefactor     1.6386        2.0697        .93599E-07   -.21246E-02
  13  Prefactor     .22204E-09    1.5489       -.77371E-06** at limit **
  14  norm          1.6493        2.2863        .13868E-06   -.16278E-02
  15  Prefactor     4.7494        2.5470       -.14430E-07   -.36485E-03
  16  Prefactor     1.0083        1.4861        .24729E-06   -.38608E-02
  17  Prefactor     .10706        1.2483        .33856E-07** at limit **
  18  norm          .84058E-01    .13759       -.19974E-08** at limit **
  19  norm          7.2212        4.2703       -.23863E-06    .42840E-02
  20  Prefactor     17.510        6.2526       -.13695E-06    .59934E-01
  21  Prefactor     14.299        1.7583       -.29841E-07   -.42233E-01
  22  Normalizat    1.3760        .21034       -.52657E-05    .18930E-03
  23  Prefactor     .87176        .20578        .21302E-05    .12223E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.9841e-08
  Prefactor  = 3.91354e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 20.2207
  Prefactor  = 1.11022e-10
  Prefactor  = 2.63097
  Prefactor  = 2.05391e-09
  norm       = 36.8449
  Prefactor  = 4.57967e-08
  Prefactor  = 0.822545
  Prefactor  = 1.74305e-08
  Prefactor  = 1.63862
  Prefactor  = 2.22045e-10
  norm       = 1.64931
  Prefactor  = 4.74939
  Prefactor  = 1.00833
  Prefactor  = 0.107057
  norm       = 0.0840582
  norm       = 7.22115
  Prefactor  = 17.51
  Prefactor  = 14.2989
  Normalizat = 1.37605
  Prefactor  = 0.871763
 **********
 **   18 **HESSE 
 **********

 FCN=   9115.618     FROM HESSE     STATUS=OK           428 CALLS     2309 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59841E-07    5.8137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .39135E-07    6.1306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    4.0300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.221        17.972        .22202E-03   -1.5618    
   5  Prefactor     .11102E-09    3.5405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.6310        1.8123        .62861E-03   -1.5676    
   7  Prefactor     .20539E-08    4.9766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          36.845        3.1713        .16475E-03   -1.5587    
   9  Prefactor     .45797E-07    25.654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .82254        4.3823        .45386E-03   -1.5690    
  11  Prefactor     .17431E-07    31.481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.6386        2.1055        .82617E-03   -1.5682    
  13  Prefactor     .22204E-09    1.5387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6493        2.3012        .82227E-03   -1.5682    
  15  Prefactor     4.7494        2.5427        .46133E-03   -1.5664    
  16  Prefactor     1.0083        1.5029        .43797E-03   -1.5688    
  17  Prefactor     .10706        2.5588        .85886E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .84058E-01    .15547        .99322E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.2212        4.5000        .37265E-03   -1.5654    
  20  Prefactor     17.510        12.796        .23885E-03   -1.5624    
  21  Prefactor     14.299        9.4637        .26467E-03   -1.5632    
  22  Normalizat    1.3760        .17784        .61671E-01   -.81324    
  23  Prefactor     .87176        .17238        .74901E-01   -.97135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51955e-07
Minuit parameter uncertainties:
  1  0.00117943
  2  0.000979573
  3  2.64856e-05
  4  17.9721
  5  3.47528e-05
  6  1.81234
  7  0.000201146
  8  3.17127
  9  0.00216764
  10  3.7972
  11  0.00148109
  12  2.10555
  13  3.86407e-05
  14  2.30119
  15  2.54266
  16  1.50294
  17  1.04679
  18  0.155471
  19  4.49999
  20  12.7958
  21  9.46373
  22  0.17792
  23  0.172488
Done.

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

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  8.225e-01  3.797e+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

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  8.718e-01  1.725e-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.376e+00  1.779e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 180.187 20.135
Photon Flux Upper Limit: 9.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/884811/likelihoodResults_692409601_692668801_4FGL_J1200.7+2008_daily_bin1748.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) = 9115.6027145
delta logL = 0.0152761177451

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9115.59983354
delta logL = 0.0181570839322

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59989       1.0000          .0000       .10000E+07
     2 'Index     '    3.0281       1.0000          .0000       10.000    
     3 'Normalizat'    1.3702       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87580       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9115.600     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      278 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59865        6.2331        .24253E-04    .93488E-03
   2  Index         3.0335        3.3507        .82598E-02    .38894E-04
   3  Normalizat    1.3703        .20986        .27323E-03   -.74895E-06
   4  Prefactor     .87571        .20658        .33079E-03   -.21308E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.598654
  Index      = 3.03349
  Normalizat = 1.3703
  Prefactor  = 0.875708
 **********
 **   18 **HESSE 
 **********

 FCN=   9115.600     FROM HESSE     STATUS=OK            27 CALLS      305 TOTAL
                     EDM=   .19E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59865        4.2743        .48506E-05   -1.5692    
   2  Index         3.0335        2.8765        .16520E-02   -.40422    
   3  Normalizat    1.3703        .21008        .10929E-04   -.81492    
   4  Prefactor     .87571        .20646        .13232E-04   -.96995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93629e-14
Minuit parameter uncertainties:
  1  3.19925
  2  3.10794
  3  0.210212
  4  0.206641
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/884811': 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) = 9115.59983063
delta logL = 0.0181599896896

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  5.987e-01  3.199e+00  0.000e+00  1.000e+06 ( 1.000e-12)
282        Index:  3.033e+00  3.108e+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:  8.757e-01  2.066e-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.370e+00  2.102e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
Ra Dec: 180.187 20.135

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/884811/cmap_HighResolution_692409601_692668801_4FGL_J1200.7+2008_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.35e-03', job_status='DONE', photon_flux_upper_limit='9.44e-08', time_completed='2022-12-14 00:51:52.911506', job_id='884811', GAL2='0.88', fit_tolerance='1e-08', EG2='1.37', EG='1.38', time_epoch_completed='1671007912.91', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.82e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1748' AND source_name='4FGL J1200.7+2008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:51:52 PST 2022


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

Job <4FGL_J1200.7+2008_daily_bin1748> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Dec 14 00:35:15 2022
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:35:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:35:16 2022
Terminated at Wed Dec 14 00:51:53 2022
Results reported at Wed Dec 14 00:51:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.7+2008_daily_bin1748 180.187 20.1354 692409601 692668801 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 :                                   788.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   997 sec.
    Turnaround time :                            998 sec.

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

