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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin1763
RA = 180.173, Dec = 12.4922
tmin = 696297601, tmax = 696556801
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='277965', job_status='RUN', time_executed='2023-01-28 00:49:05.845006', time_epoch_executed='1674895745.85' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/277965

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/277965/ft1_4FGL_J1200.6+1229_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/277965/ft2_4FGL_J1200.6+1229_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/277965/ft1_4FGL_J1200.6+1229_daily_bin1763.fits outfile=/scratch/kocevski/277965/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1763.fits ra=180.173 dec=12.4922 rad=12.0 tmin=696297601.0 tmax=696556801.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.38
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/277965/ft2_4FGL_J1200.6+1229_daily_bin1763.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/277965/ft2_4FGL_J1200.6+1229_daily_bin1763.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/277965/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1763.fits evtable="EVENTS" outfile="/scratch/kocevski/277965/ft1_filtered_4FGL_J1200.6+1229_daily_bin1763.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 571

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/277965/ft1_filtered_4FGL_J1200.6+1229_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/277965/ft2_4FGL_J1200.6+1229_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/277965/ltcube_696297601_696556801_4FGL_J1200.6+1229_daily_bin1763.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/277965/ft2_4FGL_J1200.6+1229_daily_bin1763.fits
.....................!
real 16.42
user 16.02
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/277965/ft1_filtered_4FGL_J1200.6+1229_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/277965/ft2_4FGL_J1200.6+1229_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/277965/ltcube_696297601_696556801_4FGL_J1200.6+1229_daily_bin1763.fits outfile=/scratch/kocevski/277965/expmap_696297601_696556801_4FGL_J1200.6+1229_daily_bin1763.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/277965/ltcube_696297601_696556801_4FGL_J1200.6+1229_daily_bin1763.fits
.....................!
real 191.84
user 186.41
sys 4.85

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

Setting source of interest to:
4FGL J1200.6+1229 @ 180.173 12.4922

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/277965/ft1_filtered_4FGL_J1200.6+1229_daily_bin1763.fits scfile=/scratch/kocevski/277965/ft2_4FGL_J1200.6+1229_daily_bin1763.fits outfile=/scratch/kocevski/277965/cmap_696297601_696556801_4FGL_J1200.6+1229_daily_bin1763.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.173 yref=12.4922 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.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/277965/ft1_filtered_4FGL_J1200.6+1229_daily_bin1763.fits scfile=/scratch/kocevski/277965/ft2_4FGL_J1200.6+1229_daily_bin1763.fits outfile=/scratch/kocevski/277965/cmap_HighResolution_696297601_696556801_4FGL_J1200.6+1229_daily_bin1763.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.173 yref=12.4922 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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/277965/ft1_filtered_4FGL_J1200.6+1229_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/277965/ft2_4FGL_J1200.6+1229_daily_bin1763.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/277965/Model_4FGL_J1200.6+1229_daily_bin1763.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/277965/ft1_filtered_4FGL_J1200.6+1229_daily_bin1763.fits.....................!
real 61.87
user 59.98
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/277965/ft1_filtered_4FGL_J1200.6+1229_daily_bin1763.fits', '/scratch/kocevski/277965/ft2_4FGL_J1200.6+1229_daily_bin1763.fits', expMap='/scratch/kocevski/277965/expmap_696297601_696556801_4FGL_J1200.6+1229_daily_bin1763.fits', expCube='/scratch/kocevski/277965/ltcube_696297601_696556801_4FGL_J1200.6+1229_daily_bin1763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/277965/Model_4FGL_J1200.6+1229_daily_bin1763.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1200.6+1229'

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  3.077e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.387e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.088e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/277965/ft1_filtered_4FGL_J1200.6+1229_daily_bin1763.fits
Spacecraft file(s): /scratch/kocevski/277965/ft2_4FGL_J1200.6+1229_daily_bin1763.fits
Exposure map: /scratch/kocevski/277965/expmap_696297601_696556801_4FGL_J1200.6+1229_daily_bin1763.fits
Exposure cube: /scratch/kocevski/277965/ltcube_696297601_696556801_4FGL_J1200.6+1229_daily_bin1763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/277965/Model_4FGL_J1200.6+1229_daily_bin1763.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) = 6389.8030422

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .81337E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6614       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11437E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    156.14       1.0000          .0000       .10000E+07
     5 'Prefactor '    .58395E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .56620E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .24159E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .80701E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    91.600       1.0000          .0000       .10000E+07
    10 'Prefactor '    .18138E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .67659E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .38569E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .27077E-01   1.0000          .0000       .10000E+07
    14 'norm      '    4.8267       1.0000          .0000       .10000E+07
    15 'Prefactor '    16.518       1.0000          .0000       .10000E+07
    16 'norm      '    .35285       1.0000          .0000       .10000E+07
    17 'norm      '    .27126E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14991E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.3079       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .81464       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6389.782     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     1556 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22760E-08    16.266       -.46385E-06** at limit **
   2  Prefactor     2.6559        5.4482        .25130E-08    .41676E-05
   3  Prefactor      .0000        5.1875        .20038E-06** at limit **
   4  Prefactor     157.20        38.937        .29574E-06   -.21673    
   5  Prefactor     .30925E-06    5.4020        .20823E-06** at limit **
   6  Prefactor      .0000        5.9049        .12228E-06** at limit **
   7  Prefactor     .18319E-08    9.3454        .49515E-07** at limit **
   8  Prefactor     .28544E-06    31.420       -.12377E-05** at limit **
   9  Prefactor     93.970        89.382        .91839E-06    .71190E-01
  10  Prefactor     .24092E-07    10.697       -.49319E-06** at limit **
  11  Prefactor     .16653E-09    6.5344        .40365E-06** at limit **
  12  Prefactor      .0000        1.5880       -.47448E-07** at limit **
  13  Prefactor      .0000        22.113        .22075E-06** at limit **
  14  norm          4.8314        3.5823        .11036E-06    .57099E-04
  15  Prefactor     16.539        6.9291       -.22580E-06    .76522E-01
  16  norm          .35333        .28539        .14290E-07   -.14608E-02
  17  norm          .97811E-07    7.5248        .38000E-06** at limit **
  18  Prefactor     .22204E-09    5.3982        .16110E-06** at limit **
  19  Normalizat    1.3069        .22491        .43295E-06   -.74508E-04
  20  Prefactor     .81476        .20026       -.13762E-05   -.52117E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.27596e-09
  Prefactor  = 2.6559
  Prefactor  = 0
  Prefactor  = 157.196
  Prefactor  = 3.09253e-07
  Prefactor  = 0
  Prefactor  = 1.83187e-09
  Prefactor  = 2.85438e-07
  Prefactor  = 93.9696
  Prefactor  = 2.40918e-08
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.83144
  Prefactor  = 16.539
  norm       = 0.353329
  norm       = 9.78106e-08
  Prefactor  = 2.22045e-10
  Normalizat = 1.30687
  Prefactor  = 0.814757
 **********
 **   18 **HESSE 
 **********

 FCN=   6389.782     FROM HESSE     STATUS=OK           331 CALLS     1887 TOTAL
                     EDM=   .47E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22760E-08    16.244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.6559        5.4738        .62453E-03   -1.5675    
   3  Prefactor      .0000        5.1889        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     157.20        113.60        .80035E-04   -1.5457    
   5  Prefactor     .30925E-06    12.308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        5.8916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .18319E-08    9.2756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .28544E-06    2.9763        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     93.970        96.357        .10449E-03   -1.5514    
  10  Prefactor     .24092E-07    10.907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16653E-09    1.3072        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.5777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        21.491        .16609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.8314        3.5933        .45766E-03   -1.5664    
  15  Prefactor     16.539        23.022        .24616E-03   -1.5627    
  16  norm          .35333        .29617        .82460E-03   -1.5696    
  17  norm          .97811E-07    12.767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .22204E-09    5.4014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.3069        .19151        .54769E-01   -.83361    
  20  Prefactor     .81476        .16974        .43908E-01   -.99187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.67158e-06
Minuit parameter uncertainties:
  1  0.000382348
  2  5.47376
  3  2.21521e-05
  4  113.598
  5  0.00390199
  6  2.10521e-05
  7  0.000259807
  8  0.00184348
  9  96.3585
  10  0.00102562
  11  3.02416e-05
  12  5.03622e-06
  13  5.09746e-06
  14  3.59326
  15  23.022
  16  0.296172
  17  0.00223488
  18  6.94681e-05
  19  0.191612
  20  0.169854
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.832e-09  2.598e-04  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.387e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.088e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
616    Prefactor:  8.148e-01  1.699e-01  0.000e+00  1.000e+01 ( 1.000e+00)
617        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
618        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
615   Normalization:  1.307e+00  1.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 180.173 12.492
Photon Flux Upper Limit: 7.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/277965/likelihoodResults_696297601_696556801_4FGL_J1200.6+1229_daily_bin1763.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) = 6389.83415041
delta logL = -0.0521910644602

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6389.78195937
delta logL = -2.71184035228e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6389.782     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      204 TOTAL
                     EDM=   .78E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    8.4605       -.72805E-06** at limit **
   2  Index         2.4778        3.2536        .54387E-04    .76266E-10
   3  Normalizat    1.3069        .21775       -.63743E-05   -.31322E-03
   4  Prefactor     .81476        .19880        .46070E-06   -.24556E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 2.47781
  Normalizat = 1.30687
  Prefactor  = 0.814757
 **********
 **   18 **HESSE 
 **********

 FCN=   6389.782     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      241 TOTAL
                     EDM=   .32E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .52008E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4778        7.9069        .50000       -.52873    
   3  Normalizat    1.3069        .36489E-03    .54769E-01   -.83361    
   4  Prefactor     .81476        .33367E-03    .43909E-01   -.99187    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.16994e-13
Minuit parameter uncertainties:
  1  7.86668e-06
  2  4606.04
  3  0.000364895
  4  0.000333669
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/277965': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6389.78195935
delta logL = 3.81987774745e-11

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  2.776e-10  7.867e-06  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.478e+00  4.606e+03  0.000e+00  1.000e+01 (-1.000e+00)
301        Scale:  1.088e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
616    Prefactor:  8.148e-01  3.337e-04  0.000e+00  1.000e+01 ( 1.000e+00)
617        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
618        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
615   Normalization:  1.307e+00  3.649e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 180.173 12.492

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/277965/cmap_HighResolution_696297601_696556801_4FGL_J1200.6+1229_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.53e-03', job_status='DONE', photon_flux_upper_limit='7.17e-08', time_completed='2023-01-28 00:58:56.368681', job_id='277965', GAL2='0.81', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1674896336.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.82e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1763' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 00:58:56 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 277965: <4FGL_J1200.6+1229_daily_bin1763> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin1763> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Jan 28 00:45:29 2023
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 00:46:42 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 00:46:42 2023
Terminated at Sat Jan 28 00:58:57 2023
Results reported at Sat Jan 28 00:58:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin1763 180.173 12.4922 696297601 696556801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1200.6+1229 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   592.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             277.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            808 sec.

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

