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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin1760
RA = 180.173, Dec = 12.4922
tmin = 695520001, tmax = 695779201
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='734944', job_status='RUN', time_executed='2023-01-19 00:49:23.203271', time_epoch_executed='1674118163.2' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/734944

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/734944/ft1_4FGL_J1200.6+1229_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/734944/ft2_4FGL_J1200.6+1229_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/734944/ft1_4FGL_J1200.6+1229_daily_bin1760.fits outfile=/scratch/kocevski/734944/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1760.fits ra=180.173 dec=12.4922 rad=12.0 tmin=695520001.0 tmax=695779201.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 2.48
user 2.21
sys 0.21

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

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

Number of photons that the gtmktime cut: 663

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/734944/ft1_filtered_4FGL_J1200.6+1229_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/734944/ft2_4FGL_J1200.6+1229_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/734944/ltcube_695520001_695779201_4FGL_J1200.6+1229_daily_bin1760.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/734944/ft2_4FGL_J1200.6+1229_daily_bin1760.fits
.....................!
real 16.73
user 16.28
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/734944/ft1_filtered_4FGL_J1200.6+1229_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/734944/ft2_4FGL_J1200.6+1229_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/734944/ltcube_695520001_695779201_4FGL_J1200.6+1229_daily_bin1760.fits outfile=/scratch/kocevski/734944/expmap_695520001_695779201_4FGL_J1200.6+1229_daily_bin1760.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/734944/ltcube_695520001_695779201_4FGL_J1200.6+1229_daily_bin1760.fits
.....................!
real 193.17
user 187.00
sys 5.41

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/734944/ft1_filtered_4FGL_J1200.6+1229_daily_bin1760.fits scfile=/scratch/kocevski/734944/ft2_4FGL_J1200.6+1229_daily_bin1760.fits outfile=/scratch/kocevski/734944/cmap_695520001_695779201_4FGL_J1200.6+1229_daily_bin1760.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.60
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/734944/ft1_filtered_4FGL_J1200.6+1229_daily_bin1760.fits scfile=/scratch/kocevski/734944/ft2_4FGL_J1200.6+1229_daily_bin1760.fits outfile=/scratch/kocevski/734944/cmap_HighResolution_695520001_695779201_4FGL_J1200.6+1229_daily_bin1760.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.37
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7134       1.0000          .0000       .10000E+07
     2 'Prefactor '    .23476E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .13482E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .31396       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31394E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .51805E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .18338E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.5638       1.0000          .0000       .10000E+07
     9 'Prefactor '    69.458       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.8642       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12451E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9102       1.0000          .0000       .10000E+07
    13 'Prefactor '    .22622E-02   1.0000          .0000       .10000E+07
    14 'norm      '    2.7959       1.0000          .0000       .10000E+07
    15 'Prefactor '    .78467E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .29143E-07   1.0000          .0000       .10000E+07
    17 'norm      '    .17569E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.3817       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0618       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .94517       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=   7444.440     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1580 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7190        11.019       -.61808E-05   -.18410E-01
   2  Prefactor      .0000        5.9691       -.18029E-06** at limit **
   3  Prefactor     .10547E-07    7.3634        .12039E-05** at limit **
   4  Prefactor     .18573E-05    12.136       -.74128E-05** at limit **
   5  Prefactor     .88818E-09    4.2259       -.27659E-06** at limit **
   6  Prefactor     .55511E-10    3.2674       -.57730E-07** at limit **
   7  Prefactor     .23315E-08    39.116        .66041E-06** at limit **
   8  Prefactor     3.5659        4.5827       -.18178E-06    .25634E-02
   9  Prefactor     68.529        69.182       -.32742E-05    .34582E-02
  10  Prefactor     1.8497        1.8851       -.13315E-05    .12326E-01
  11  Prefactor     .27756E-09    1.5959        .28758E-07** at limit **
  12  Prefactor     1.9104        1.8926       -.51846E-08    .30368E-02
  13  Prefactor     .18208E-07    7.9542       -.28709E-06** at limit **
  14  norm          2.7943        2.1899       -.65407E-07    .95405E-02
  15  Prefactor      .0000        17.042       -.39437E-06** at limit **
  16  norm          .55511E-10    .50347       -.17910E-07** at limit **
  17  norm          .42744E-08    10.277        .10133E-05** at limit **
  18  Prefactor     1.3843        3.9387       -.32343E-06    .75638E-02
  19  Normalizat    1.0620        .19316        .89739E-05    .37964E-03
  20  Prefactor     .94535        .17490        .21471E-05    .37294E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.71904
  Prefactor  = 0
  Prefactor  = 1.05471e-08
  Prefactor  = 1.85729e-06
  Prefactor  = 8.88178e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 2.33147e-09
  Prefactor  = 3.56594
  Prefactor  = 68.5287
  Prefactor  = 1.84969
  Prefactor  = 2.77556e-10
  Prefactor  = 1.91044
  Prefactor  = 1.82077e-08
  norm       = 2.79431
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 4.27436e-09
  Prefactor  = 1.38432
  Normalizat = 1.06203
  Prefactor  = 0.945353
 **********
 **   18 **HESSE 
 **********

 FCN=   7444.440     FROM HESSE     STATUS=OK           333 CALLS     1913 TOTAL
                     EDM=   .87E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7190        12.029        .46325E-03   -1.5665    
   2  Prefactor      .0000        5.9942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10547E-07    7.4870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .18573E-05    52.957        .10022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .88818E-09    4.2373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    3.2740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .23315E-08    39.252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.5659        4.5917        .53512E-03   -1.5670    
   9  Prefactor     68.529        69.314        .12000E-03   -1.5542    
  10  Prefactor     1.8497        53.570        .76277E-03   -1.5681    
  11  Prefactor     .27756E-09    1.5826        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.9104        1.9022        .75190E-03   -1.5680    
  13  Prefactor     .18208E-07    8.2902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.7943        2.2005        .60819E-03   -1.5675    
  15  Prefactor      .0000        17.018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .55511E-10    .94831E-01    .14749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .42744E-08    10.383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.3843        4.0078        .92545E-03   -1.5684    
  19  Normalizat    1.0620        .16737        .39827E-01   -.90980    
  20  Prefactor     .94535        .15025        .45578E-01   -.94574    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.74279e-08
Minuit parameter uncertainties:
  1  12.0291
  2  1.46526e-05
  3  0.000562567
  4  0.0198352
  5  0.000123452
  6  3.19321e-05
  7  0.000608486
  8  4.59169
  9  69.3144
  10  19.9087
  11  4.25679e-05
  12  1.90221
  13  0.000777198
  14  2.20048
  15  1.53697e-05
  16  3.95328e-06
  17  0.000422081
  18  4.00783
  19  0.167456
  20  0.150311
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  2.331e-09  6.085e-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:  9.454e-01  1.503e-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.062e+00  1.675e-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: 6.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.18e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/734944/likelihoodResults_695520001_695779201_4FGL_J1200.6+1229_daily_bin1760.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) = 7444.45463001
delta logL = -0.0146781858393

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7444.43997996
delta logL = -2.81374996121e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94792E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.1510       1.0000          .0000       10.000    
     3 'Normalizat'    1.0623       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94453       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.

 FCN=   7444.440     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      289 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .58012E-01    29.127        .84078E-02** at limit **
   2  Index         2.0023        5.6119        .50000        .15369E-04
   3  Normalizat    1.0620        .51042E-02    .39798E-01   -.58593E-03
   4  Prefactor     .94529        .47452E-02    .45570E-01   -.97245E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0580125
  Index      = 2.0023
  Normalizat = 1.06204
  Prefactor  = 0.945291
 **********
 **   18 **HESSE 
 **********

 FCN=   7444.440     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      328 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .58012E-01    19.863        .10106E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0023        5.7246        .50000       -.64293    
   3  Normalizat    1.0620        .47904E-02    .24638E-03   -.90980    
   4  Prefactor     .94529        .44527E-02    .24008E-03   -.94576    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.33921e-10
Minuit parameter uncertainties:
  1  2.1469
  2  5.61303
  3  0.00479038
  4  0.00445268
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/734944': 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) = 7444.43994454
delta logL = 7.28202940081e-06

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  5.801e-02  2.147e+00  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.002e+00  5.613e+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:  9.453e-01  4.453e-03  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.062e+00  4.790e-03  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/734944/cmap_HighResolution_695520001_695779201_4FGL_J1200.6+1229_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.18e-03', job_status='DONE', photon_flux_upper_limit='6.70e-08', time_completed='2023-01-19 01:00:08.719500', job_id='734944', GAL2='0.95', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1674118808.72', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.28e-06', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1760' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 01:00:08 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 734944: <4FGL_J1200.6+1229_daily_bin1760> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin1760> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jan 19 00:45:20 2023
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:47:10 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:47:10 2023
Terminated at Thu Jan 19 01:00:09 2023
Results reported at Thu Jan 19 01:00:09 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin1760 180.173 12.4922 695520001 695779201 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 :                                   646.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            889 sec.

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

