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


Performing analysis on: 4FGL_J1200.2+0201_daily_bin1773
RA = 180.055, Dec = 2.0172
tmin = 698889601, tmax = 699148801
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='789136', job_status='RUN', time_executed='2023-02-27 09:45:00.759584', time_epoch_executed='1677519900.76' WHERE source_name='4FGL J1200.2+0201' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/789136

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/789136/ft1_4FGL_J1200.2+0201_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/789136/ft2_4FGL_J1200.2+0201_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/789136/ft1_4FGL_J1200.2+0201_daily_bin1773.fits outfile=/scratch/kocevski/789136/ft1_filteredMKT_4FGL_J1200.2+0201_daily_bin1773.fits ra=180.055 dec=2.0172 rad=12.0 tmin=698889601.0 tmax=699148801.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.00
user 2.71
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/789136/ft2_4FGL_J1200.2+0201_daily_bin1773.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/789136/ft2_4FGL_J1200.2+0201_daily_bin1773.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/789136/ft1_filteredMKT_4FGL_J1200.2+0201_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/789136/ft1_filtered_4FGL_J1200.2+0201_daily_bin1773.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.56
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 84

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/789136/ft1_filtered_4FGL_J1200.2+0201_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/789136/ft2_4FGL_J1200.2+0201_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/789136/ltcube_698889601_699148801_4FGL_J1200.2+0201_daily_bin1773.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/789136/ft2_4FGL_J1200.2+0201_daily_bin1773.fits
.....................!
real 15.23
user 14.82
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/789136/ft1_filtered_4FGL_J1200.2+0201_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/789136/ft2_4FGL_J1200.2+0201_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/789136/ltcube_698889601_699148801_4FGL_J1200.2+0201_daily_bin1773.fits outfile=/scratch/kocevski/789136/expmap_698889601_699148801_4FGL_J1200.2+0201_daily_bin1773.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/789136/ltcube_698889601_699148801_4FGL_J1200.2+0201_daily_bin1773.fits
.....................!
real 191.55
user 185.84
sys 5.25

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

Setting source of interest to:
4FGL J1200.2+0201 @ 180.055 2.0172

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/789136/ft1_filtered_4FGL_J1200.2+0201_daily_bin1773.fits scfile=/scratch/kocevski/789136/ft2_4FGL_J1200.2+0201_daily_bin1773.fits outfile=/scratch/kocevski/789136/cmap_698889601_699148801_4FGL_J1200.2+0201_daily_bin1773.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.055 yref=2.0172 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/789136/ft1_filtered_4FGL_J1200.2+0201_daily_bin1773.fits scfile=/scratch/kocevski/789136/ft2_4FGL_J1200.2+0201_daily_bin1773.fits outfile=/scratch/kocevski/789136/cmap_HighResolution_698889601_699148801_4FGL_J1200.2+0201_daily_bin1773.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.055 yref=2.0172 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/789136/ft1_filtered_4FGL_J1200.2+0201_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/789136/ft2_4FGL_J1200.2+0201_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/789136/Model_4FGL_J1200.2+0201_daily_bin1773.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/789136/ft1_filtered_4FGL_J1200.2+0201_daily_bin1773.fits.....................!
real 20.41
user 19.17
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/789136/ft1_filtered_4FGL_J1200.2+0201_daily_bin1773.fits', '/scratch/kocevski/789136/ft2_4FGL_J1200.2+0201_daily_bin1773.fits', expMap='/scratch/kocevski/789136/expmap_698889601_699148801_4FGL_J1200.2+0201_daily_bin1773.fits', expCube='/scratch/kocevski/789136/ltcube_698889601_699148801_4FGL_J1200.2+0201_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/789136/Model_4FGL_J1200.2+0201_daily_bin1773.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1200.2+0201'

4FGL J1200.2+0201
   Spectrum: PowerLaw
285    Prefactor:  1.346e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.109e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.748e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/789136/ft1_filtered_4FGL_J1200.2+0201_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/789136/ft2_4FGL_J1200.2+0201_daily_bin1773.fits
Exposure map: /scratch/kocevski/789136/expmap_698889601_699148801_4FGL_J1200.2+0201_daily_bin1773.fits
Exposure cube: /scratch/kocevski/789136/ltcube_698889601_699148801_4FGL_J1200.2+0201_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/789136/Model_4FGL_J1200.2+0201_daily_bin1773.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) = 1055.401404

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1055.21919483

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63758E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .21201E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .49047E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .81812E-06   1.0000          .0000       .10000E+07
     5 'norm      '    9.8169       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.9679       1.0000          .0000       .10000E+07
     7 'Prefactor '    9.9011       1.0000          .0000       .10000E+07
     8 'Prefactor '    .61146E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .15955E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    93.903       1.0000          .0000       .10000E+07
    11 'Prefactor '    .97824E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    25.273       1.0000          .0000       .10000E+07
    13 'Prefactor '    .33835E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .70832       1.0000          .0000       .10000E+07
    15 'Prefactor '    15.293       1.0000          .0000       .10000E+07
    16 'Prefactor '    .28354       1.0000          .0000       .10000E+07
    17 'Prefactor '    30.759       1.0000          .0000       .10000E+07
    18 'norm      '    .40430E-03   1.0000          .0000       .10000E+07
    19 'norm      '    1.3968       1.0000          .0000       .10000E+07
    20 'Prefactor '    .15031E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .97118E-01   1.0000          .0000       .10000E+07
    22 'norm      '    .18114       1.0000          .0000       .10000E+07
    23 'Prefactor '    .17864E-03   1.0000          .0000       .10000E+07
    24 'norm      '    8.3038       1.0000          .0000       .10000E+07
    25 'Prefactor '    17.828       1.0000          .0000       .10000E+07
    26 'Normalizat'    .18147       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1355       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1055.174     FROM MIGRAD    STATUS=CONVERGED    325 CALLS     3775 TOTAL
                     EDM=   .52E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.0380       -.21838E-06** at limit **
   2  norm           .0000        23.617       -.41868E-07** at limit **
   3  Prefactor      .0000        4.9016        .29501E-06** at limit **
   4  Prefactor     .55511E-10    26.855        .20210E-06** at limit **
   5  norm          9.5646        25.304       -.33654E-06    .31355E-04
   6  Prefactor     3.0780        21.096        .15901E-06   -.84984E-04
   7  Prefactor     .82712E-08    348.25        .24080E-05** at limit **
   8  Prefactor     .22204E-09    48.807        .10175E-05** at limit **
   9  Prefactor      .0000        13.730       -.79590E-07** at limit **
  10  Prefactor     101.21        136.90       -.69092E-06    .26782E-02
  11  Prefactor     .11102E-07    73.731       -.88144E-06** at limit **
  12  Prefactor     .19262E-07    518.34        .37057E-05** at limit **
  13  Prefactor     .21039E-07    75.955       -.13002E-05** at limit **
  14  Prefactor     .72053E-07    201.20       -.14537E-05** at limit **
  15  Prefactor     15.133        10.068       -.17855E-06   -.27661E-01
  16  Prefactor     .68279E-08    338.44        .17162E-05** at limit **
  17  Prefactor     29.289        29.113       -.52984E-06    .10569E-01
  18  norm           .0000        3.9138        .85573E-07** at limit **
  19  norm          1.4126        10.905        .98376E-06    .17472E-03
  20  Prefactor     .15266E-07    141.85       -.12400E-05** at limit **
  21  norm           .0000        147.77       -.11925E-06** at limit **
  22  norm          .19610        2.6618        .30246E-06** at limit **
  23  Prefactor      .0000        9.2243       -.22658E-06** at limit **
  24  norm          8.2771        5.2601        .53771E-07   -.17119E-03
  25  Prefactor     17.790        21.084       -.82383E-07   -.32399E-03
  26  Normalizat    .18104        .63011        .56255E-04    .16188E-04
  27  Prefactor     1.1388        .44099       -.60665E-05    .42070E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 9.56459
  Prefactor  = 3.07804
  Prefactor  = 8.27116e-09
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 101.208
  Prefactor  = 1.11022e-08
  Prefactor  = 1.92624e-08
  Prefactor  = 2.10387e-08
  Prefactor  = 7.20535e-08
  Prefactor  = 15.1334
  Prefactor  = 6.82787e-09
  Prefactor  = 29.2889
  norm       = 0
  norm       = 1.41264
  Prefactor  = 1.52656e-08
  norm       = 0
  norm       = 0.196096
  Prefactor  = 0
  norm       = 8.27714
  Prefactor  = 17.7896
  Normalizat = 0.181043
  Prefactor  = 1.13881
 **********
 **   18 **HESSE 
 **********

 FCN=   1055.174     FROM HESSE     STATUS=NOT POSDEF   536 CALLS     4311 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.9145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        23.068        .16959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        4.8004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    26.110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.5646        25.925        .31958E-03   -1.5646    
   6  Prefactor     3.0780        73.017        .58914E-03   -1.5673    
   7  Prefactor     .82712E-08    339.24        .31821E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-09    47.609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        13.271        .17319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     101.21        265.02        .10320E-03   -1.5507    
  11  Prefactor     .11102E-07    71.917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .19262E-07    508.32        .19896E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .21039E-07    74.074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .72053E-07    196.39        .60035E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.133        80.179        .25585E-03   -1.5630    
  16  Prefactor     .68279E-08    329.03        .10445E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     29.289        31.818        .18034E-03   -1.5600    
  18  norm           .0000        3.8469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.4126        14.873        .91824E-03   -1.5684    
  20  Prefactor     .15266E-07    138.38        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        142.56        .14007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .19610        12.835        .18160E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        9.0095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          8.2771        7.4912        .34766E-03   -1.5650    
  25  Prefactor     17.790        27.438        .23693E-03   -1.5624    
  26  Normalizat    .18104        9.3637        .14550       -1.3083    
  27  Prefactor     1.1388        1.8111        .36372E-01   -.88236    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.36275e-07
Minuit parameter uncertainties:
  1  3.05251e-06
  2  9.90599e-06
  3  4.46262e-06
  4  6.70101e-05
  5  25.9252
  6  29.9838
  7  0.00335402
  8  0.000205727
  9  6.59004e-06
  10  265.055
  11  0.0017849
  12  0.00626302
  13  0.00249794
  14  0.00752385
  15  69.6686
  16  0.0030033
  17  31.818
  18  7.95278e-06
  19  9.16729
  20  0.00290747
  21  6.34009e-05
  22  3.17289
  23  2.64354e-06
  24  7.4912
  25  27.4383
  26  3.54244
  27  1.92715
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1055.17436179

Extracting fit parameters...

4FGL J1200.2+0201
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  6.590e-06  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.109e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.748e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.139e+00  1.927e+00  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.810e-01  3.542e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 180.055 2.017
Photon Flux Upper Limit: 2.73e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.06e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/789136/likelihoodResults_698889601_699148801_4FGL_J1200.2+0201_daily_bin1773.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) = 1055.20923108
delta logL = -0.0348692890545

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1055.1743624
delta logL = -6.15861836195e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51898E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.0263       1.0000          .0000       10.000    
     3 'Normalizat'    .18126       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1385       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   1055.174     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      213 TOTAL
                     EDM=   .89E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        10.241        .42118E-03** at limit **
   2  Index         2.3393        1.7094       -.35777E-04     .0000    
   3  Normalizat    .18104        .44255       -.83848E-06    .29926E-05
   4  Prefactor     1.1388        1.1273        .54214E-05    .10861E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.33934
  Normalizat = 0.181041
  Prefactor  = 1.13881
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   1055.174     FROM HESSE     STATUS=FAILED         9 CALLS      222 TOTAL
                     EDM=   .89E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        10.241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .61132        1.9546       -.35777E-04   -.56112    
   3  Normalizat    .18104        .44255       -.83848E-06   -1.3083    
   4  Prefactor     1.1388        1.1273        .54214E-05   -.88236    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.94773e-13
Minuit parameter uncertainties:
  1  2.115e-05
  2  1.75962
  3  0.451635
  4  1.15245
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/789136': 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) = 1055.17436179
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J1200.2+0201
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  2.115e-05  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.339e+00  1.760e+00  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  1.748e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.139e+00  1.152e+00  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.810e-01  4.516e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 180.055 2.017

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/789136/cmap_HighResolution_698889601_699148801_4FGL_J1200.2+0201_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.06e-02', job_status='DONE', photon_flux_upper_limit='2.73e-07', time_completed='2023-02-27 09:51:45.057116', job_id='789136', GAL2='1.14', fit_tolerance='1e-08', EG2='0.18', EG='0.18', time_epoch_completed='1677520305.06', return_code2='101', ts='0.00', comment='SUCCESS', return_code='102', GAL='1.14', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1773' AND source_name='4FGL J1200.2+0201' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 09:51:45 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 789136: <4FGL_J1200.2+0201_daily_bin1773> in cluster <slac> Done

Job <4FGL_J1200.2+0201_daily_bin1773> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Feb 27 09:40:12 2023
Job was executed on host(s) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 09:40:13 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 09:40:13 2023
Terminated at Mon Feb 27 09:51:45 2023
Results reported at Mon Feb 27 09:51:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.2+0201_daily_bin1773 180.055 2.0172 698889601 699148801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1200.2+0201 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   406.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             225.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            693 sec.

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

