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


Performing analysis on: 4FGL_J1200.7+2008_daily_bin1755
RA = 180.187, Dec = 20.1354
tmin = 694224001, tmax = 694483201
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='822139', job_status='RUN', time_executed='2023-01-04 00:59:47.654858', time_epoch_executed='1672822787.65' WHERE source_name='4FGL J1200.7+2008' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/822139

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/822139/ft1_4FGL_J1200.7+2008_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/822139/ft2_4FGL_J1200.7+2008_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/822139/ft1_4FGL_J1200.7+2008_daily_bin1755.fits outfile=/scratch/kocevski/822139/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin1755.fits ra=180.187 dec=20.1354 rad=12.0 tmin=694224001.0 tmax=694483201.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.12
user 2.82
sys 0.22

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

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

Number of photons that the gtmktime cut: 591

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/822139/ft1_filtered_4FGL_J1200.7+2008_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/822139/ft2_4FGL_J1200.7+2008_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/822139/ltcube_694224001_694483201_4FGL_J1200.7+2008_daily_bin1755.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/822139/ft2_4FGL_J1200.7+2008_daily_bin1755.fits
.....................!
real 16.37
user 15.77
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/822139/ft1_filtered_4FGL_J1200.7+2008_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/822139/ft2_4FGL_J1200.7+2008_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/822139/ltcube_694224001_694483201_4FGL_J1200.7+2008_daily_bin1755.fits outfile=/scratch/kocevski/822139/expmap_694224001_694483201_4FGL_J1200.7+2008_daily_bin1755.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/822139/ltcube_694224001_694483201_4FGL_J1200.7+2008_daily_bin1755.fits
.....................!
real 196.86
user 188.29
sys 6.56

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/822139/ft1_filtered_4FGL_J1200.7+2008_daily_bin1755.fits scfile=/scratch/kocevski/822139/ft2_4FGL_J1200.7+2008_daily_bin1755.fits outfile=/scratch/kocevski/822139/cmap_694224001_694483201_4FGL_J1200.7+2008_daily_bin1755.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.57
user 0.39
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/822139/ft1_filtered_4FGL_J1200.7+2008_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/822139/ft2_4FGL_J1200.7+2008_daily_bin1755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/822139/Model_4FGL_J1200.7+2008_daily_bin1755.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/822139/ft1_filtered_4FGL_J1200.7+2008_daily_bin1755.fits.....................!
real 58.49
user 56.44
sys 1.55

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0351       1.0000          .0000       .10000E+07
     2 'Prefactor '    .81529E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .36957E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .30952E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    17.402       1.0000          .0000       .10000E+07
     6 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
     7 'Prefactor '    .88520E-04   1.0000          .0000       .10000E+07
     8 'norm      '    49.807       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21535E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    8.1399       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10844       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2316       1.0000          .0000       .10000E+07
    13 'Prefactor '    .99643E-07   1.0000          .0000       .10000E+07
    14 'norm      '    5.1188       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.1785       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.0059       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12126E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .14243       1.0000          .0000       .10000E+07
    19 'norm      '    20.823       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.1825       1.0000          .0000       .10000E+07
    21 'Prefactor '    .28874E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    .82351       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .82810       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=   6123.637     FROM MIGRAD    STATUS=CONVERGED    120 CALLS     1457 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1279        1.4623       -.12073E-07    .35661E-02
   2  Prefactor     .49832E-06    4.3074       -.83383E-08** at limit **
   3  Prefactor     .99920E-09    4.5688       -.86048E-08** at limit **
   4  Prefactor     .29199E-07    1.8925       -.21076E-07** at limit **
   5  Prefactor     17.409        1.1966        .11633E-09   -.16163E-03
   6  Prefactor      .0000        1.6764        .50941E-07** at limit **
   7  Prefactor     .45741E-07    2.0681       -.19638E-07** at limit **
   8  norm          49.808        4.0732       -.38822E-08    .14445E-02
   9  Prefactor     .30087E-06    7.0327       -.35202E-07** at limit **
  10  Prefactor     8.1331        5.3645       -.89127E-08    .48641E-03
  11  Prefactor     .40035E-06    1.7727       -.19773E-07** at limit **
  12  Prefactor     2.2389        2.9499       -.12263E-07   -.47971E-04
  13  Prefactor      .0000        2.8893       -.82624E-07** at limit **
  14  norm          5.1270        3.6320        .87851E-08    .11025E-02
  15  Prefactor     5.1788        2.9987        .26007E-08    .27296E-03
  16  Prefactor     2.0049        1.9433        .32839E-07    .21071E-02
  17  Prefactor      .0000        1.8416       -.66370E-07** at limit **
  18  norm          .14268        .22953        .17176E-07** at limit **
  19  norm          20.803        6.2255       -.10057E-07   -.21532E-01
  20  Prefactor     8.1577        1.0280        .23722E-09    .51496E-02
  21  Prefactor     .75884E-07    5.1306       -.21483E-07** at limit **
  22  Normalizat    .82348        .22580        .45390E-05    .10938E-03
  23  Prefactor     .82801        .21765       -.33171E-05    .50621E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.12792
  Prefactor  = 4.98324e-07
  Prefactor  = 9.99201e-10
  Prefactor  = 2.91989e-08
  Prefactor  = 17.4095
  Prefactor  = 0
  Prefactor  = 4.57412e-08
  norm       = 49.8083
  Prefactor  = 3.0087e-07
  Prefactor  = 8.13306
  Prefactor  = 4.00346e-07
  Prefactor  = 2.23893
  Prefactor  = 0
  norm       = 5.12698
  Prefactor  = 5.17876
  Prefactor  = 2.00492
  Prefactor  = 0
  norm       = 0.142677
  norm       = 20.8033
  Prefactor  = 8.15769
  Prefactor  = 7.58837e-08
  Normalizat = 0.823478
  Prefactor  = 0.828007
 **********
 **   18 **HESSE 
 **********

 FCN=   6123.637     FROM HESSE     STATUS=OK           422 CALLS     1879 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1279        18.041        .12393E-02   -1.5687    
   2  Prefactor     .49832E-06    9.8541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .99920E-09    7.6867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .29199E-07    7.0629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.409        12.898        .23982E-03   -1.5625    
   6  Prefactor      .0000        1.6221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .45741E-07    7.2800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          49.808        4.0745        .14171E-03   -1.5567    
   9  Prefactor     .30087E-06    10.512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.1331        5.4793        .35117E-03   -1.5651    
  11  Prefactor     .40035E-06    116.09        .13708E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.2389        2.9849        .68790E-03   -1.5678    
  13  Prefactor      .0000        2.8163        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.1270        3.6326        .44414E-03   -1.5663    
  15  Prefactor     5.1788        2.9962        .44152E-03   -1.5662    
  16  Prefactor     2.0049        1.9473        .73081E-03   -1.5680    
  17  Prefactor      .0000        1.8429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .14268        .23619        .99713E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          20.803        6.2647        .21921E-03   -1.5617    
  20  Prefactor     8.1577        9.3944        .35025E-03   -1.5651    
  21  Prefactor     .75884E-07    6.7308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .82348        .19088        .66970E-01   -.99204    
  23  Prefactor     .82801        .18357        .66981E-01   -.98704    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1505e-07
Minuit parameter uncertainties:
  1  9.02208
  2  0.00443195
  3  0.000174063
  4  0.000908109
  5  12.8979
  6  7.05266e-06
  7  0.00115423
  8  4.0745
  9  0.00355684
  10  5.47927
  11  0.013635
  12  2.98494
  13  3.07706e-06
  14  3.63256
  15  2.99617
  16  1.94731
  17  1.23452e-05
  18  0.23619
  19  6.26473
  20  9.39447
  21  0.00142942
  22  0.191037
  23  0.183701
Done.

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

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  8.133e+00  5.479e+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.280e-01  1.837e-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:  8.235e-01  1.910e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.08
Ra Dec: 180.187 20.135
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 7.92e-08 +/- 5.33e-08
Energy Flux (Fixed Index): 2.25e-05 +/- 1.52e-05

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) = 6123.63240086
delta logL = 0.00440120160056

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6123.62970242
delta logL = 0.00709963443478

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7080       1.0000          .0000       .10000E+07
     2 'Index     '    2.5962       1.0000          .0000       10.000    
     3 'Normalizat'    .81788       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83211       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6123.630     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      248 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7082        6.6052        .13103E-04   -.24615E-02
   2  Index         2.5961        .68080        .71657E-02   -.62546E-04
   3  Normalizat    .81790        .22271        .29717E-03    .64079E-04
   4  Prefactor     .83210        .22012        .29566E-03    .10155E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.70823
  Index      = 2.59611
  Normalizat = 0.817896
  Prefactor  = 0.832104
 **********
 **   18 **HESSE 
 **********

 FCN=   6123.630     FROM HESSE     STATUS=OK            25 CALLS      273 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7082        6.2650        .52412E-06   -1.5652    
   2  Index         2.5961        .64508        .28663E-03   -.50154    
   3  Normalizat    .81790        .22253        .11887E-04   -.99408    
   4  Prefactor     .83210        .21994        .11826E-04   -.98556    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03967e-10
Minuit parameter uncertainties:
  1  6.26505
  2  0.647431
  3  0.222782
  4  0.220174
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/822139': 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) = 6123.62970241
delta logL = 0.00709964246562

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  7.708e+00  6.265e+00  0.000e+00  1.000e+06 ( 1.000e-12)
282        Index:  2.596e+00  6.474e-01  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.321e-01  2.202e-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:  8.179e-01  2.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.01
Ra Dec: 180.187 20.135
Photon Index (Free Index): 2.60 +/- 0.65
Photon Flux (Free Index): 8.31e-08 +/- 6.18e-08
Energy Flux (Free Index): 2.19e-05 +/- 1.49e-05

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/822139/cmap_HighResolution_694224001_694483201_4FGL_J1200.7+2008_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.92e-08', energy_flux2='2.19e-05', photon_flux_error='5.33e-08', dlogl='7.10e-03', energy_flux='2.25e-05', photon_flux2='8.31e-08', job_status='DONE', time_completed='2023-01-04 01:09:14.235390', photon_index_error2='0.65', photon_index2='2.60', ts='4.08', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='1.49e-05', EG='0.82', time_epoch_completed='1672823354.24', return_code='0', job_id='822139', GAL2='0.83', EG2='0.82', return_code2='0', energy_flux_error='1.52e-05', photon_flux_error2='6.18e-08', ts2='4.01', photon_index='2.52' WHERE bin_id='1755' AND source_name='4FGL J1200.7+2008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 01:09:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 822139: <4FGL_J1200.7+2008_daily_bin1755> in cluster <slac> Done

Job <4FGL_J1200.7+2008_daily_bin1755> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan  4 00:55:16 2023
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 00:55:43 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 00:55:43 2023
Terminated at Wed Jan  4 01:09:14 2023
Results reported at Wed Jan  4 01:09:14 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.7+2008_daily_bin1755 180.187 20.1354 694224001 694483201 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 :                                   565.40 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             220.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            838 sec.

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

