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


Performing analysis on: 4FGL_J1200.6+1229_weekly_bin758
RA = 180.173, Dec = 12.4922
tmin = 697420801, tmax = 698025601
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='90468', job_status='RUN', time_executed='2023-02-14 01:20:36.976169', time_epoch_executed='1676366436.98' WHERE source_name='4FGL J1200.6+1229' and cadence='weekly' and bin_id='758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/90468

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/90468/ft1_4FGL_J1200.6+1229_weekly_bin758.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/90468/ft2_4FGL_J1200.6+1229_weekly_bin758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/90468/ft1_4FGL_J1200.6+1229_weekly_bin758.fits outfile=/scratch/kocevski/90468/ft1_filteredMKT_4FGL_J1200.6+1229_weekly_bin758.fits ra=180.173 dec=12.4922 rad=12.0 tmin=697420801.0 tmax=698025601.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 7.86
user 7.56
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/90468/ft2_4FGL_J1200.6+1229_weekly_bin758.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/90468/ft1_filteredMKT_4FGL_J1200.6+1229_weekly_bin758.fits evtable="EVENTS" outfile="/scratch/kocevski/90468/ft1_filtered_4FGL_J1200.6+1229_weekly_bin758.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.54
user 0.39
sys 0.14

Number of photons that the gtmktime cut: 1221

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/90468/ft1_filtered_4FGL_J1200.6+1229_weekly_bin758.fits" evtable="EVENTS" scfile=/scratch/kocevski/90468/ft2_4FGL_J1200.6+1229_weekly_bin758.fits sctable="SC_DATA" outfile=/scratch/kocevski/90468/ltcube_697420801_698025601_4FGL_J1200.6+1229_weekly_bin758.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/90468/ft2_4FGL_J1200.6+1229_weekly_bin758.fits
.....................!
real 26.22
user 25.87
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/90468/ft1_filtered_4FGL_J1200.6+1229_weekly_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/90468/ft2_4FGL_J1200.6+1229_weekly_bin758.fits sctable="SC_DATA" expcube=/scratch/kocevski/90468/ltcube_697420801_698025601_4FGL_J1200.6+1229_weekly_bin758.fits outfile=/scratch/kocevski/90468/expmap_697420801_698025601_4FGL_J1200.6+1229_weekly_bin758.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/90468/ltcube_697420801_698025601_4FGL_J1200.6+1229_weekly_bin758.fits
.....................!
real 190.07
user 185.60
sys 4.16

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/90468/ft1_filtered_4FGL_J1200.6+1229_weekly_bin758.fits scfile=/scratch/kocevski/90468/ft2_4FGL_J1200.6+1229_weekly_bin758.fits outfile=/scratch/kocevski/90468/cmap_697420801_698025601_4FGL_J1200.6+1229_weekly_bin758.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/90468/ft1_filtered_4FGL_J1200.6+1229_weekly_bin758.fits scfile=/scratch/kocevski/90468/ft2_4FGL_J1200.6+1229_weekly_bin758.fits outfile=/scratch/kocevski/90468/cmap_HighResolution_697420801_698025601_4FGL_J1200.6+1229_weekly_bin758.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.57
user 0.42
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/90468/ft1_filtered_4FGL_J1200.6+1229_weekly_bin758.fits', '/scratch/kocevski/90468/ft2_4FGL_J1200.6+1229_weekly_bin758.fits', expMap='/scratch/kocevski/90468/expmap_697420801_698025601_4FGL_J1200.6+1229_weekly_bin758.fits', expCube='/scratch/kocevski/90468/ltcube_697420801_698025601_4FGL_J1200.6+1229_weekly_bin758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/90468/Model_4FGL_J1200.6+1229_weekly_bin758.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/90468/ft1_filtered_4FGL_J1200.6+1229_weekly_bin758.fits
Spacecraft file(s): /scratch/kocevski/90468/ft2_4FGL_J1200.6+1229_weekly_bin758.fits
Exposure map: /scratch/kocevski/90468/expmap_697420801_698025601_4FGL_J1200.6+1229_weekly_bin758.fits
Exposure cube: /scratch/kocevski/90468/ltcube_697420801_698025601_4FGL_J1200.6+1229_weekly_bin758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/90468/Model_4FGL_J1200.6+1229_weekly_bin758.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) = 13556.8263576

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.357       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.6012       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.4783       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.9982       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.4433       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.3076       1.0000          .0000       .10000E+07
     7 'Prefactor '    .32732E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .46659E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    65.088       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.464       1.0000          .0000       .10000E+07
    11 'Prefactor '    .39085E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .41744E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .25066E-03   1.0000          .0000       .10000E+07
    14 'norm      '    6.9696       1.0000          .0000       .10000E+07
    15 'Prefactor '    .57533E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .83242E-01   1.0000          .0000       .10000E+07
    17 'norm      '    .45053E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .10391E-01   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.3367       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .76500       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=   13556.72     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1553 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.325        8.6904       -.74173E-06    .14479E-02
   2  Prefactor     3.6204        8.3922        .78188E-06    .10481E-02
   3  Prefactor     3.4704        7.5929       -.25591E-05    .28333E-02
   4  Prefactor     1.4777        11.919       -.80396E-05    .20315E-01
   5  Prefactor     5.3727        5.1306        .12295E-06   -.22945E-02
   6  Prefactor     3.4019        5.3216       -.29520E-05    .11846E-02
   7  Prefactor     .55511E-10    2.3570       -.40257E-06** at limit **
   8  Prefactor      .0000        2.1376        .17627E-05** at limit **
   9  Prefactor     68.080        45.108        .19364E-05    .23305E-01
  10  Prefactor     11.834        28.196        .21939E-04    .67432E-02
  11  Prefactor      .0000        2.0541       -.61625E-06** at limit **
  12  Prefactor      .0000        .82687        .83900E-06** at limit **
  13  Prefactor     .11102E-09    10.537        .50648E-06** at limit **
  14  norm          6.9763        2.4548       -.34513E-06    .94961E-03
  15  Prefactor     .55511E-10    8.6519       -.34458E-05** at limit **
  16  norm          .83218E-01    .93081E-01    .10857E-06** at limit **
  17  norm           .0000        7.8770       -.55718E-06** at limit **
  18  Prefactor     .25535E-08    26.074       -.44069E-06** at limit **
  19  Normalizat    1.3365        .14525       -.86625E-05    .21618E-03
  20  Prefactor     .76499        .12884        .15110E-04    .21313E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.3252
  Prefactor  = 3.62038
  Prefactor  = 3.47039
  Prefactor  = 1.47775
  Prefactor  = 5.37271
  Prefactor  = 3.40191
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 68.0801
  Prefactor  = 11.8338
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  norm       = 6.97633
  Prefactor  = 5.55112e-11
  norm       = 0.0832183
  norm       = 0
  Prefactor  = 2.55351e-09
  Normalizat = 1.3365
  Prefactor  = 0.764988
 **********
 **   18 **HESSE 
 **********

 FCN=   13556.72     FROM HESSE     STATUS=OK           339 CALLS     1892 TOTAL
                     EDM=   .63E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.325        8.6898        .28471E-03   -1.5638    
   2  Prefactor     3.6204        8.3971        .53222E-03   -1.5670    
   3  Prefactor     3.4704        7.6047        .54194E-03   -1.5671    
   4  Prefactor     1.4777        373.65        .73244E-03   -1.5684    
   5  Prefactor     5.3727        5.1591        .43045E-03   -1.5662    
   6  Prefactor     3.4019        5.3617        .55640E-03   -1.5671    
   7  Prefactor     .55511E-10    2.3443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.1211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     68.080        45.754        .12396E-03   -1.5543    
  10  Prefactor     11.834        28.353        .28348E-03   -1.5639    
  11  Prefactor      .0000        .52829        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .81315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .11102E-09    10.510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.9763        2.4558        .37977E-03   -1.5655    
  15  Prefactor     .55511E-10    8.6479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .83218E-01    .11120        .82350E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        7.8817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .25535E-08    25.387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.3365        .12612        .52487E-01   -.82483    
  20  Prefactor     .76499        .11130        .43260E-01   -1.0103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34769e-07
Minuit parameter uncertainties:
  1  8.68982
  2  8.39713
  3  7.60476
  4  46.9991
  5  5.15911
  6  5.36167
  7  2.66207e-05
  8  1.53324e-05
  9  45.7538
  10  28.3537
  11  2.5189e-06
  12  5.524e-06
  13  6.28117e-05
  14  2.45583
  15  5.10268e-05
  16  0.111198
  17  1.36028e-05
  18  0.000506588
  19  0.126153
  20  0.111328
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  5.551e-11  2.662e-05  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:  7.650e-01  1.113e-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.336e+00  1.262e-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: 2.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.03e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/90468/likelihoodResults_697420801_698025601_4FGL_J1200.6+1229_weekly_bin758.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) = 13556.72456
delta logL = -0.000688731335686

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13556.7238714
delta logL = -9.57388692768e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13556.72     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      277 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6797        .42118E-03** at limit **
   2  Index         2.7214        1.2335        .10540E-03     .0000    
   3  Normalizat    1.3365        1.0722        .25905E-04    .10355E-02
   4  Prefactor     .76499        1.1143       -.43930E-04    .97388E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.72136
  Normalizat = 1.3365
  Prefactor  = 0.764989
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13556.72     FROM HESSE     STATUS=FAILED         9 CALLS      286 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6797        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .83865        1.9720        .10540E-03   -.47319    
   3  Normalizat    1.3365        1.0722        .25905E-04   -.82483    
   4  Prefactor     .76499        1.1143       -.43930E-04   -1.0103    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.66871e-10
Minuit parameter uncertainties:
  1  8.83316e-06
  2  1.24991
  3  1.09097
  4  1.14983
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/90468': 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) = 13556.7238713
delta logL = -2.49201548286e-10

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  0.000e+00  8.833e-06  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.721e+00  1.250e+00  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:  7.650e-01  1.150e+00  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.336e+00  1.091e+00  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/90468/cmap_HighResolution_697420801_698025601_4FGL_J1200.6+1229_weekly_bin758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.03e-03', job_status='DONE', photon_flux_upper_limit='2.64e-08', time_completed='2023-02-14 01:36:03.970372', job_id='90468', GAL2='0.76', fit_tolerance='1e-08', EG2='1.34', EG='1.34', time_epoch_completed='1676367363.97', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='-2.49e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='758' AND source_name='4FGL J1200.6+1229' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 14 01:36:03 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 90468: <4FGL_J1200.6+1229_weekly_bin758> in cluster <slac> Done

Job <4FGL_J1200.6+1229_weekly_bin758> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Feb 14 01:20:19 2023
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 14 01:20:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 14 01:20:22 2023
Terminated at Tue Feb 14 01:36:04 2023
Results reported at Tue Feb 14 01:36:04 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_weekly_bin758 180.173 12.4922 697420801 698025601 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 :                                   928.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             341.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   942 sec.
    Turnaround time :                            945 sec.

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

