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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin1762
RA = 180.173, Dec = 12.4922
tmin = 696038401, tmax = 696297601
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='107850', job_status='RUN', time_executed='2023-01-25 00:55:04.453666', time_epoch_executed='1674636904.45' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107850

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107850/ft1_4FGL_J1200.6+1229_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107850/ft2_4FGL_J1200.6+1229_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107850/ft1_4FGL_J1200.6+1229_daily_bin1762.fits outfile=/scratch/kocevski/107850/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1762.fits ra=180.173 dec=12.4922 rad=12.0 tmin=696038401.0 tmax=696297601.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.67
user 3.41
sys 0.23

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

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

Number of photons that the gtmktime cut: 559

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/107850/ft1_filtered_4FGL_J1200.6+1229_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/107850/ft2_4FGL_J1200.6+1229_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/107850/ltcube_696038401_696297601_4FGL_J1200.6+1229_daily_bin1762.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/107850/ft2_4FGL_J1200.6+1229_daily_bin1762.fits
.....................!
real 14.56
user 14.15
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107850/ft1_filtered_4FGL_J1200.6+1229_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/107850/ft2_4FGL_J1200.6+1229_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/107850/ltcube_696038401_696297601_4FGL_J1200.6+1229_daily_bin1762.fits outfile=/scratch/kocevski/107850/expmap_696038401_696297601_4FGL_J1200.6+1229_daily_bin1762.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/107850/ltcube_696038401_696297601_4FGL_J1200.6+1229_daily_bin1762.fits
.....................!
real 191.97
user 186.22
sys 5.32

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/107850/ft1_filtered_4FGL_J1200.6+1229_daily_bin1762.fits scfile=/scratch/kocevski/107850/ft2_4FGL_J1200.6+1229_daily_bin1762.fits outfile=/scratch/kocevski/107850/cmap_696038401_696297601_4FGL_J1200.6+1229_daily_bin1762.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107850/ft1_filtered_4FGL_J1200.6+1229_daily_bin1762.fits scfile=/scratch/kocevski/107850/ft2_4FGL_J1200.6+1229_daily_bin1762.fits outfile=/scratch/kocevski/107850/cmap_HighResolution_696038401_696297601_4FGL_J1200.6+1229_daily_bin1762.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.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.6203       1.0000          .0000       .10000E+07
     2 'Prefactor '    .44066E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    10.642       1.0000          .0000       .10000E+07
     4 'Prefactor '    .21131E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .27196       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.4511       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.2138       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.9437       1.0000          .0000       .10000E+07
     9 'Prefactor '    .42989E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    50.085       1.0000          .0000       .10000E+07
    11 'Prefactor '    .56655E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .24368E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .82332E-02   1.0000          .0000       .10000E+07
    14 'norm      '    9.1277       1.0000          .0000       .10000E+07
    15 'Prefactor '    .13975E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .14494E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .81958E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .35825E-05   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1032       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .91115       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=   6292.013     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1538 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.5627        11.058        .33801E-07   -.19191E-02
   2  Prefactor      .0000        4.2382       -.22840E-07** at limit **
   3  Prefactor     10.637        8.3119       -.18164E-06   -.17384E-01
   4  Prefactor     .47506E-06    17.480       -.74967E-06** at limit **
   5  Prefactor     .22540        1.9788       -.53015E-08** at limit **
   6  Prefactor     5.5487        7.0374       -.36998E-08    .21159E-01
   7  Prefactor     4.2146        9.2967        .31708E-07   -.18677E-02
   8  Prefactor     1.9531        4.2560       -.87315E-07    .80251E-03
   9  Prefactor     .10072E-05    10.012       -.63201E-06** at limit **
  10  Prefactor     48.842        52.484       -.50773E-06    .76289E-02
  11  Prefactor      .0000        1.4233        .62688E-07** at limit **
  12  Prefactor      .0000        .92284       -.86274E-07** at limit **
  13  Prefactor     .25652E-06    14.219       -.49779E-06** at limit **
  14  norm          9.1336        3.7500       -.77932E-08   -.21053E-03
  15  Prefactor     .33917E-07    15.099       -.52514E-06** at limit **
  16  norm           .0000        .14233       -.40994E-07** at limit **
  17  norm          .55511E-10    11.425       -.41298E-07** at limit **
  18  Prefactor      .0000        2.1565       -.40762E-07** at limit **
  19  Normalizat    1.1043        .21434       -.26447E-05    .11352E-04
  20  Prefactor     .91094        .19048        .16988E-05    .10643E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.5627
  Prefactor  = 0
  Prefactor  = 10.6372
  Prefactor  = 4.75064e-07
  Prefactor  = 0.225401
  Prefactor  = 5.54869
  Prefactor  = 4.21464
  Prefactor  = 1.95315
  Prefactor  = 1.00719e-06
  Prefactor  = 48.8419
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.56517e-07
  norm       = 9.13363
  Prefactor  = 3.39173e-08
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 0
  Normalizat = 1.10427
  Prefactor  = 0.91094
 **********
 **   18 **HESSE 
 **********

 FCN=   6292.013     FROM HESSE     STATUS=OK           337 CALLS     1875 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.5627        11.123        .32285E-03   -1.5646    
   2  Prefactor      .0000        4.2349        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.637        9.5182        .30688E-03   -1.5643    
   4  Prefactor     .47506E-06    22.823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22540        7.5656        .76493E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.5487        10.739        .43014E-03   -1.5661    
   7  Prefactor     4.2146        9.3415        .49067E-03   -1.5667    
   8  Prefactor     1.9531        4.3144        .74428E-03   -1.5680    
   9  Prefactor     .10072E-05    21.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     48.842        52.841        .14131E-03   -1.5568    
  11  Prefactor      .0000        1.4163        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .92191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .25652E-06    17.893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.1336        3.7537        .33149E-03   -1.5648    
  15  Prefactor     .33917E-07    15.852        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        .86084E-01    .12547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .55511E-10    11.419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.1580        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1043        .18337        .56813E-01   -.89615    
  20  Prefactor     .91094        .16203        .45147E-01   -.95760    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12014e-07
Minuit parameter uncertainties:
  1  11.123
  2  1.81926e-05
  3  9.51823
  4  0.00658569
  5  2.61174
  6  10.739
  7  9.34153
  8  4.31437
  9  0.00927103
  10  52.8416
  11  7.10252e-07
  12  8.61063e-07
  13  0.00428489
  14  3.75369
  15  0.00146685
  16  4.88059e-08
  17  5.56446e-05
  18  4.51044e-06
  19  0.183476
  20  0.162115
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  4.215e+00  9.342e+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

GAL_V02
   Spectrum: PowerLaw
616    Prefactor:  9.109e-01  1.621e-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.104e+00  1.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/107850/likelihoodResults_696038401_696297601_4FGL_J1200.6+1229_daily_bin1762.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) = 6291.88939446
delta logL = 0.123735236752

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6291.88437345
delta logL = 0.128756246912

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3327       1.0000          .0000       .10000E+07
     2 'Index     '    1.7808       1.0000          .0000       10.000    
     3 'Normalizat'    1.1098       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90699       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=   6291.884     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      272 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3430        11.097        .39863E-03    .85031E-02
   2  Index         1.7820        1.0161        .27226E-01   -.20235E-03
   3  Normalizat    1.1100        .17541        .56678E-01    .11077E-04
   4  Prefactor     .90683        .16141        .45094E-01    .13330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.34295
  Index      = 1.78198
  Normalizat = 1.10998
  Prefactor  = 0.906833
 **********
 **   18 **HESSE 
 **********

 FCN=   6291.884     FROM HESSE     STATUS=OK            31 CALLS      303 TOTAL
                     EDM=   .23E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3430        11.132        .79727E-04   -1.5658    
   2  Index         1.7820        1.0221        .54452E-02   -.69920    
   3  Normalizat    1.1100        .20593        .25063E-03   -.89432    
   4  Prefactor     .90683        .18955        .25118E-03   -.95903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33538e-12
Minuit parameter uncertainties:
  1  11.1317
  2  1.03464
  3  0.206082
  4  0.189688
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107850': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6291.88437214
delta logL = 0.128757547998

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  6.343e+00  1.113e+01  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  1.782e+00  1.035e+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.068e-01  1.897e-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.110e+00  2.061e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.29
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/107850/cmap_HighResolution_696038401_696297601_4FGL_J1200.6+1229_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.69e-03', job_status='DONE', photon_flux_upper_limit='7.37e-08', time_completed='2023-01-25 01:04:55.080443', job_id='107850', GAL2='0.91', fit_tolerance='1e-08', EG2='1.11', EG='1.10', time_epoch_completed='1674637495.08', return_code2='0', ts='0.29', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.29e-01', ts2='0.55', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1762' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:04:55 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 107850: <4FGL_J1200.6+1229_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin1762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan 25 00:50:26 2023
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:52:52 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:52:52 2023
Terminated at Wed Jan 25 01:04:55 2023
Results reported at Wed Jan 25 01:04:55 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin1762 180.173 12.4922 696038401 696297601 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 :                                   593.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             264.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   723 sec.
    Turnaround time :                            869 sec.

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

