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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin1769
RA = 180.173, Dec = 12.4922
tmin = 697852801, tmax = 698112001
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='433392', job_status='RUN', time_executed='2023-02-15 00:43:40.838108', time_epoch_executed='1676450620.84' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433392

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433392/ft1_4FGL_J1200.6+1229_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433392/ft2_4FGL_J1200.6+1229_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433392/ft1_4FGL_J1200.6+1229_daily_bin1769.fits outfile=/scratch/kocevski/433392/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1769.fits ra=180.173 dec=12.4922 rad=12.0 tmin=697852801.0 tmax=698112001.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 4.37
user 4.16
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/433392/ft2_4FGL_J1200.6+1229_daily_bin1769.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/433392/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/433392/ft1_filtered_4FGL_J1200.6+1229_daily_bin1769.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 499

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433392/ft1_filtered_4FGL_J1200.6+1229_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/433392/ft2_4FGL_J1200.6+1229_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/433392/ltcube_697852801_698112001_4FGL_J1200.6+1229_daily_bin1769.fits outfile=/scratch/kocevski/433392/expmap_697852801_698112001_4FGL_J1200.6+1229_daily_bin1769.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/433392/ltcube_697852801_698112001_4FGL_J1200.6+1229_daily_bin1769.fits
.....................!
real 191.51
user 186.93
sys 4.19

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/433392/ft1_filtered_4FGL_J1200.6+1229_daily_bin1769.fits scfile=/scratch/kocevski/433392/ft2_4FGL_J1200.6+1229_daily_bin1769.fits outfile=/scratch/kocevski/433392/cmap_697852801_698112001_4FGL_J1200.6+1229_daily_bin1769.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433392/ft1_filtered_4FGL_J1200.6+1229_daily_bin1769.fits scfile=/scratch/kocevski/433392/ft2_4FGL_J1200.6+1229_daily_bin1769.fits outfile=/scratch/kocevski/433392/cmap_HighResolution_697852801_698112001_4FGL_J1200.6+1229_daily_bin1769.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.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .59981E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    18.721       1.0000          .0000       .10000E+07
     3 'Prefactor '    16.242       1.0000          .0000       .10000E+07
     4 'Prefactor '    .25823       1.0000          .0000       .10000E+07
     5 'Prefactor '    20.424       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.9521       1.0000          .0000       .10000E+07
     7 'Prefactor '    .17457E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .40094E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    47.358       1.0000          .0000       .10000E+07
    10 'Prefactor '    .55686E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10489E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.2358       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.1953       1.0000          .0000       .10000E+07
    14 'norm      '    5.6186       1.0000          .0000       .10000E+07
    15 'Prefactor '    .99855E-01   1.0000          .0000       .10000E+07
    16 'norm      '    .20480       1.0000          .0000       .10000E+07
    17 'norm      '    .38553E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .42135E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    .83192       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1046       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=   5496.381     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1497 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27200E-08    4.9285        .18686E-06** at limit **
   2  Prefactor     18.747        4.2351        .56534E-07   -.23367E-01
   3  Prefactor     16.219        1.9661       -.30614E-08    .46549E-02
   4  Prefactor     .16320E-07    7.1881       -.30646E-06** at limit **
   5  Prefactor     20.457        2.5810       -.30563E-07   -.38081E-03
   6  Prefactor     2.7176        8.6381       -.11886E-06   -.15725E-03
   7  Prefactor     .51625E-08    4.5982       -.13308E-06** at limit **
   8  Prefactor      .0000        3.4657        .51061E-08** at limit **
   9  Prefactor     47.348        1.5915        .12149E-07    .18175E-01
  10  Prefactor      .0000        16.146        .24788E-07** at limit **
  11  Prefactor      .0000        4.6002        .12242E-07** at limit **
  12  Prefactor     3.2315        2.7221       -.89681E-07   -.59336E-03
  13  Prefactor     3.1954        1.0671       -.17454E-07    .14635E-02
  14  norm          5.6197        2.9588        .13106E-09   -.77230E-04
  15  Prefactor     .55511E-10    522.95        .47710E-05** at limit **
  16  norm          .20461        .17834       -.15699E-07** at limit **
  17  norm          .55511E-10    11.439       -.41980E-06** at limit **
  18  Prefactor     .16653E-09    6.5199       -.39226E-07** at limit **
  19  Normalizat    .83198        .20562       -.84791E-06   -.16756E-04
  20  Prefactor     1.1050        .19793        .21950E-05   -.23861E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.72005e-09
  Prefactor  = 18.7471
  Prefactor  = 16.2192
  Prefactor  = 1.63203e-08
  Prefactor  = 20.4574
  Prefactor  = 2.71757
  Prefactor  = 5.16254e-09
  Prefactor  = 0
  Prefactor  = 47.3482
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 3.23146
  Prefactor  = 3.19543
  norm       = 5.61968
  Prefactor  = 5.55112e-11
  norm       = 0.204606
  norm       = 5.55112e-11
  Prefactor  = 1.66533e-10
  Normalizat = 0.831976
  Prefactor  = 1.10504
 **********
 **   18 **HESSE 
 **********

 FCN=   5496.381     FROM HESSE     STATUS=OK           333 CALLS     1830 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27200E-08    5.5241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.747        13.110        .23120E-03   -1.5621    
   3  Prefactor     16.219        12.274        .24825E-03   -1.5627    
   4  Prefactor     .16320E-07    41.152        .10820E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.457        11.894        .22134E-03   -1.5618    
   6  Prefactor     2.7176        8.7024        .59081E-03   -1.5675    
   7  Prefactor     .51625E-08    5.6578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.4547        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     47.348        67.881        .14532E-03   -1.5570    
  10  Prefactor      .0000        16.148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        4.5212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.2315        2.7417        .56285E-03   -1.5672    
  13  Prefactor     3.1954        26.755        .56659E-03   -1.5672    
  14  norm          5.6197        2.9880        .42357E-03   -1.5661    
  15  Prefactor     .55511E-10    16.136        .13933E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .20461        .18258        .63735E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .55511E-10    11.468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .16653E-09    6.7038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .83198        .18659        .44026E-01   -.98893    
  20  Prefactor     1.1050        .17568        .37415E-01   -.89306    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41795e-07
Minuit parameter uncertainties:
  1  0.000244438
  2  13.1104
  3  12.2737
  4  0.00163794
  5  11.8943
  6  8.70242
  7  0.000341207
  8  8.57503e-07
  9  67.8823
  10  2.39642e-05
  11  1.0957e-05
  12  2.74167
  13  18.4928
  14  2.98798
  15  5.01714e-05
  16  0.182577
  17  5.01209e-05
  18  6.35717e-05
  19  0.186736
  20  0.175767
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  5.163e-09  3.412e-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:  1.105e+00  1.758e-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:  8.320e-01  1.867e-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: 4.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/433392/likelihoodResults_697852801_698112001_4FGL_J1200.6+1229_daily_bin1769.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5496.38156188
delta logL = -0.000276899793789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5496.38128508
delta logL = -9.62672856986e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23609E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .97478       1.0000          .0000       10.000    
     3 'Normalizat'    .83191       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1051       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=   5496.381     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      223 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.8507       -.26503E-06** at limit **
   2  Index         2.3476        2.8721        .16352E-04     .0000    
   3  Normalizat    .83198        .20223       -.54613E-05    .95455E-05
   4  Prefactor     1.1050        .19724        .46995E-05   -.18827E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.34758
  Normalizat = 0.831976
  Prefactor  = 1.10504
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5496.381     FROM HESSE     STATUS=FAILED        11 CALLS      234 TOTAL
                     EDM=   .25E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.8486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .61599        2.0067        .16352E-04   -.55917    
   3  Normalizat    .83198        1.1699       -.54613E-05   -.98893    
   4  Prefactor     1.1050        1.1453        .46995E-05   -.89306    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.49839e-12
Minuit parameter uncertainties:
  1  1.32837e-05
  2  1.94763
  3  1.20857
  4  1.17244
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433392': 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) = 5496.38128498
delta logL = 4.53837856185e-10

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  0.000e+00  1.328e-05  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.348e+00  1.948e+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:  1.105e+00  1.172e+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:  8.320e-01  1.209e+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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/433392/cmap_HighResolution_697852801_698112001_4FGL_J1200.6+1229_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.83e-03', job_status='DONE', photon_flux_upper_limit='4.96e-08', time_completed='2023-02-15 00:52:43.199499', job_id='433392', GAL2='1.11', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1676451163.2', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='4.54e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1769' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 00:52:43 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 433392: <4FGL_J1200.6+1229_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 00:40:18 2023
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:40:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:40:19 2023
Terminated at Wed Feb 15 00:52:43 2023
Results reported at Wed Feb 15 00:52:43 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin1769 180.173 12.4922 697852801 698112001 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 :                                   544.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   744 sec.
    Turnaround time :                            745 sec.

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

