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


Performing analysis on: 4FGL_J1200.2+0201_daily_bin1779
RA = 180.055, Dec = 2.0172
tmin = 700444801, tmax = 700704001
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='22201', job_status='RUN', time_executed='2023-03-17 01:32:26.650820', time_epoch_executed='1679041946.65' WHERE source_name='4FGL J1200.2+0201' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/22201

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/22201/ft1_4FGL_J1200.2+0201_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/22201/ft2_4FGL_J1200.2+0201_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/22201/ft1_4FGL_J1200.2+0201_daily_bin1779.fits outfile=/scratch/kocevski/22201/ft1_filteredMKT_4FGL_J1200.2+0201_daily_bin1779.fits ra=180.055 dec=2.0172 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.38
user 5.08
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/22201/ft2_4FGL_J1200.2+0201_daily_bin1779.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/22201/ft1_filteredMKT_4FGL_J1200.2+0201_daily_bin1779.fits evtable="EVENTS" outfile="/scratch/kocevski/22201/ft1_filtered_4FGL_J1200.2+0201_daily_bin1779.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.33
sys 0.15

Number of photons that the gtmktime cut: 578

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/22201/ft1_filtered_4FGL_J1200.2+0201_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/22201/ft2_4FGL_J1200.2+0201_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/22201/ltcube_700444801_700704001_4FGL_J1200.2+0201_daily_bin1779.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/22201/ft2_4FGL_J1200.2+0201_daily_bin1779.fits
.....................!
real 13.73
user 13.16
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/22201/ft1_filtered_4FGL_J1200.2+0201_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/22201/ft2_4FGL_J1200.2+0201_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/22201/ltcube_700444801_700704001_4FGL_J1200.2+0201_daily_bin1779.fits outfile=/scratch/kocevski/22201/expmap_700444801_700704001_4FGL_J1200.2+0201_daily_bin1779.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/22201/ltcube_700444801_700704001_4FGL_J1200.2+0201_daily_bin1779.fits
.....................!
real 192.74
user 186.99
sys 5.37

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/22201/ft1_filtered_4FGL_J1200.2+0201_daily_bin1779.fits scfile=/scratch/kocevski/22201/ft2_4FGL_J1200.2+0201_daily_bin1779.fits outfile=/scratch/kocevski/22201/cmap_700444801_700704001_4FGL_J1200.2+0201_daily_bin1779.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.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/22201/ft1_filtered_4FGL_J1200.2+0201_daily_bin1779.fits scfile=/scratch/kocevski/22201/ft2_4FGL_J1200.2+0201_daily_bin1779.fits outfile=/scratch/kocevski/22201/cmap_HighResolution_700444801_700704001_4FGL_J1200.2+0201_daily_bin1779.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/22201/ft1_filtered_4FGL_J1200.2+0201_daily_bin1779.fits', '/scratch/kocevski/22201/ft2_4FGL_J1200.2+0201_daily_bin1779.fits', expMap='/scratch/kocevski/22201/expmap_700444801_700704001_4FGL_J1200.2+0201_daily_bin1779.fits', expCube='/scratch/kocevski/22201/ltcube_700444801_700704001_4FGL_J1200.2+0201_daily_bin1779.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/22201/Model_4FGL_J1200.2+0201_daily_bin1779.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/22201/ft1_filtered_4FGL_J1200.2+0201_daily_bin1779.fits
Spacecraft file(s): /scratch/kocevski/22201/ft2_4FGL_J1200.2+0201_daily_bin1779.fits
Exposure map: /scratch/kocevski/22201/expmap_700444801_700704001_4FGL_J1200.2+0201_daily_bin1779.fits
Exposure cube: /scratch/kocevski/22201/ltcube_700444801_700704001_4FGL_J1200.2+0201_daily_bin1779.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/22201/Model_4FGL_J1200.2+0201_daily_bin1779.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) = 6288.78447186

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95737       1.0000          .0000       .10000E+07
     2 'norm      '    .10585E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.5340       1.0000          .0000       .10000E+07
     4 'Prefactor '    .49117E-04   1.0000          .0000       .10000E+07
     5 'norm      '    6.0059       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.0398       1.0000          .0000       .10000E+07
     7 'Prefactor '    .82509E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    13.109       1.0000          .0000       .10000E+07
     9 'Prefactor '    .44030E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    31.203       1.0000          .0000       .10000E+07
    11 'Prefactor '    16.564       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12186E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.2842       1.0000          .0000       .10000E+07
    14 'Prefactor '    17.820       1.0000          .0000       .10000E+07
    15 'Prefactor '    .19643E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    22.714       1.0000          .0000       .10000E+07
    17 'Prefactor '    .65317E-01   1.0000          .0000       .10000E+07
    18 'norm      '    1.5103       1.0000          .0000       .10000E+07
    19 'norm      '    3.2837       1.0000          .0000       .10000E+07
    20 'Prefactor '    2.2527       1.0000          .0000       .10000E+07
    21 'norm      '    .26158E-03   1.0000          .0000       .10000E+07
    22 'norm      '    1.2677       1.0000          .0000       .10000E+07
    23 'Prefactor '    .34304E-03   1.0000          .0000       .10000E+07
    24 'norm      '    .15765E-07   1.0000          .0000       .10000E+07
    25 'Prefactor '    8.9933       1.0000          .0000       .10000E+07
    26 'Normalizat'    .87234       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .92826       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=   6288.672     FROM MIGRAD    STATUS=CONVERGED    154 CALLS     2391 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0028        3.2939       -.80753E-06    .20579E-02
   2  norm          .35805E-06    8.5312        .64721E-06** at limit **
   3  Prefactor     3.5386        2.1804       -.18698E-08    .26230E-03
   4  Prefactor     .10872E-05    8.3649        .67826E-06** at limit **
   5  norm          6.0216        4.6714        .38279E-08   -.11866E-03
   6  Prefactor     7.0459        3.6431       -.86508E-07   -.75786E-04
   7  Prefactor     .56743E-06    36.520        .23655E-06** at limit **
   8  Prefactor     13.078        10.891        .68100E-07   -.27790E-02
   9  Prefactor     .28089E-06    9.7208        .37835E-07** at limit **
  10  Prefactor     31.555        1.7850       -.33875E-09   -.36497E-01
  11  Prefactor     16.646        11.451        .76594E-07    .39426E-01
  12  Prefactor     .61307E-05    66.708       -.13901E-05** at limit **
  13  Prefactor     1.6598        3.3796       -.38349E-07   -.15838E-01
  14  Prefactor     18.607        6.5374       -.49361E-07   -.15468    
  15  Prefactor     .66491E-06    4.2679        .28209E-06** at limit **
  16  Prefactor     22.616        1.3419       -.98305E-09   -.12536E-01
  17  Prefactor     .83833E-01    1.1506       -.90954E-09** at limit **
  18  norm          1.5105        1.7170       -.19930E-06    .23044E-02
  19  norm          3.2799        2.8154        .97231E-07    .69134E-04
  20  Prefactor     3.6286        9.8526        .35402E-06    .40248E-01
  21  norm          .24314E-07    9.2325        .51290E-06** at limit **
  22  norm          1.2685        .47115       -.33594E-07    .61139E-02
  23  Prefactor     .44409E-09    4.7462        .45502E-06** at limit **
  24  norm           .0000        .67583        .29220E-07** at limit **
  25  Prefactor     9.0435        7.8543       -.72196E-07    .69484E-03
  26  Normalizat    .86999        .22051       -.95184E-05    .41085E-05
  27  Prefactor     .92872        .17213        .11457E-04   -.43613E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.00282
  norm       = 3.58047e-07
  Prefactor  = 3.5386
  Prefactor  = 1.08719e-06
  norm       = 6.02163
  Prefactor  = 7.04589
  Prefactor  = 5.67435e-07
  Prefactor  = 13.0782
  Prefactor  = 2.80886e-07
  Prefactor  = 31.5548
  Prefactor  = 16.6459
  Prefactor  = 6.13065e-06
  Prefactor  = 1.65978
  Prefactor  = 18.6068
  Prefactor  = 6.64913e-07
  Prefactor  = 22.6159
  Prefactor  = 0.0838332
  norm       = 1.51048
  norm       = 3.27994
  Prefactor  = 3.62863
  norm       = 2.43139e-08
  norm       = 1.2685
  Prefactor  = 4.44089e-10
  norm       = 0
  Prefactor  = 9.04346
  Normalizat = 0.869995
  Prefactor  = 0.928715
 **********
 **   18 **HESSE 
 **********

 FCN=   6288.672     FROM HESSE     STATUS=OK           552 CALLS     2943 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0028        3.3190        .42250E-03   -1.5688    
   2  norm          .35805E-06    17.120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.5386        2.1900        .53747E-03   -1.5670    
   4  Prefactor     .10872E-05    16.644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.0216        4.6767        .40948E-03   -1.5659    
   6  Prefactor     7.0459        3.6532        .37785E-03   -1.5655    
   7  Prefactor     .56743E-06    39.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.078        11.061        .27640E-03   -1.5636    
   9  Prefactor     .28089E-06    11.271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     31.555        22.514        .17905E-03   -1.5596    
  11  Prefactor     16.646        12.067        .24582E-03   -1.5626    
  12  Prefactor     .61307E-05    70.340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.6598        144.84        .67902E-03   -1.5682    
  14  Prefactor     18.607        25.982        .23698E-03   -1.5622    
  15  Prefactor     .66491E-06    11.273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.616        23.578        .20988E-03   -1.5613    
  17  Prefactor     .83833E-01    4.9207        .10020E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.5105        1.8430        .87004E-03   -1.5683    
  19  norm          3.2799        2.8630        .55852E-03   -1.5672    
  20  Prefactor     3.6286        126.60        .68428E-03   -1.5670    
  21  norm          .24314E-07    12.119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.2685        .47584        .69544E-03   -1.5685    
  23  Prefactor     .44409E-09    4.7461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm           .0000        .66781        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     9.0435        7.8724        .33398E-03   -1.5648    
  26  Normalizat    .86999        .19701        .44547E-01   -.97523    
  27  Prefactor     .92872        .15158        .45364E-01   -.95145    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1084e-06
Minuit parameter uncertainties:
  1  3.31904
  2  0.00495188
  3  2.18995
  4  0.00850781
  5  4.67672
  6  3.65324
  7  0.00942252
  8  11.0611
  9  0.00355848
  10  22.514
  11  12.0668
  12  0.0415327
  13  31.011
  14  25.9818
  15  0.00547569
  16  23.5785
  17  1.28455
  18  1.84302
  19  2.86301
  20  42.8675
  21  0.00108595
  22  0.475837
  23  9.22367e-05
  24  1.99804e-07
  25  7.87237
  26  0.197172
  27  0.151651
Done.

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

Extracting fit parameters...

4FGL J1200.2+0201
   Spectrum: PowerLaw
285    Prefactor:  2.809e-07  3.558e-03  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:  9.287e-01  1.517e-01  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:  8.700e-01  1.972e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 180.055 2.017
Photon Flux Upper Limit: 6.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/22201/likelihoodResults_700444801_700704001_4FGL_J1200.2+0201_daily_bin1779.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) = 6288.72272205
delta logL = -0.0507341053035

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6288.67198988
delta logL = -1.94301628653e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13280E-04   1.0000          .0000       .10000E+07
     2 'Index     '    1.2677       1.0000          .0000       10.000    
     3 'Normalizat'    .87001       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92875       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=   6288.672     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      198 TOTAL
                     EDM=   .49E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        11.325       -.29203E-06** at limit **
   2  Index         2.0976        2.0181       -.98816E-06     .0000    
   3  Normalizat    .86999        .20927        .39626E-05    .74602E-04
   4  Prefactor     .92872        .17129       -.34830E-06    .79418E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.09759
  Normalizat = 0.869995
  Prefactor  = 0.928716
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6288.672     FROM HESSE     STATUS=FAILED        11 CALLS      209 TOTAL
                     EDM=   .49E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        11.232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .47939        1.7767       -.98816E-06   -.61932    
   3  Normalizat    .86999        1.2066        .39626E-05   -.97523    
   4  Prefactor     .92872        1.2722       -.34830E-06   -.95145    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.85032e-12
Minuit parameter uncertainties:
  1  2.53024e-05
  2  1.35158
  3  1.24742
  4  1.31689
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/22201': 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) = 6288.67198793
delta logL = 1.23372956295e-08

Extracting fit parameters...

4FGL J1200.2+0201
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  2.530e-05  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.098e+00  1.352e+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:  9.287e-01  1.317e+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:  8.700e-01  1.247e+00  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/22201/cmap_HighResolution_700444801_700704001_4FGL_J1200.2+0201_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-03', job_status='DONE', photon_flux_upper_limit='6.14e-08', time_completed='2023-03-17 01:44:04.921764', job_id='22201', GAL2='0.93', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1679042644.92', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.23e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1779' AND source_name='4FGL J1200.2+0201' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 01:44:04 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 22201: <4FGL_J1200.2+0201_daily_bin1779> in cluster <slac> Done

Job <4FGL_J1200.2+0201_daily_bin1779> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Mar 17 01:30:24 2023
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 01:30:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 01:30:26 2023
Terminated at Fri Mar 17 01:44:05 2023
Results reported at Fri Mar 17 01:44:05 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.2+0201_daily_bin1779 180.055 2.0172 700444801 700704001 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 :                                   698.38 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            821 sec.

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

