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 46 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7533
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1200.2+0201_daily_bin1769
RA = 180.055, Dec = 2.0172
tmin = 697852801, tmax = 698112001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='433390', job_status='RUN', time_executed='2023-02-15 00:41:24.717243', time_epoch_executed='1676450484.72' WHERE source_name='4FGL J1200.2+0201' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433390

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433390/ft1_4FGL_J1200.2+0201_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433390/ft2_4FGL_J1200.2+0201_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433390/ft1_4FGL_J1200.2+0201_daily_bin1769.fits outfile=/scratch/kocevski/433390/ft1_filteredMKT_4FGL_J1200.2+0201_daily_bin1769.fits ra=180.055 dec=2.0172 rad=12.0 tmin=697852801.0 tmax=698112001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.35
user 4.17
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/433390/ft2_4FGL_J1200.2+0201_daily_bin1769.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/433390/ft1_filteredMKT_4FGL_J1200.2+0201_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/433390/ft1_filtered_4FGL_J1200.2+0201_daily_bin1769.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.35
sys 0.13

Number of photons that the gtmktime cut: 503

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/433390/ft1_filtered_4FGL_J1200.2+0201_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/433390/ft2_4FGL_J1200.2+0201_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/433390/ltcube_697852801_698112001_4FGL_J1200.2+0201_daily_bin1769.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/433390/ft2_4FGL_J1200.2+0201_daily_bin1769.fits
.....................!
real 11.78
user 11.44
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433390/ft1_filtered_4FGL_J1200.2+0201_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/433390/ft2_4FGL_J1200.2+0201_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/433390/ltcube_697852801_698112001_4FGL_J1200.2+0201_daily_bin1769.fits outfile=/scratch/kocevski/433390/expmap_697852801_698112001_4FGL_J1200.2+0201_daily_bin1769.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/433390/ltcube_697852801_698112001_4FGL_J1200.2+0201_daily_bin1769.fits
.....................!
real 189.67
user 185.21
sys 4.15

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/433390/ft1_filtered_4FGL_J1200.2+0201_daily_bin1769.fits scfile=/scratch/kocevski/433390/ft2_4FGL_J1200.2+0201_daily_bin1769.fits outfile=/scratch/kocevski/433390/cmap_697852801_698112001_4FGL_J1200.2+0201_daily_bin1769.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=180.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433390/ft1_filtered_4FGL_J1200.2+0201_daily_bin1769.fits scfile=/scratch/kocevski/433390/ft2_4FGL_J1200.2+0201_daily_bin1769.fits outfile=/scratch/kocevski/433390/cmap_HighResolution_697852801_698112001_4FGL_J1200.2+0201_daily_bin1769.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=180.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.53
user 0.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/433390/ft1_filtered_4FGL_J1200.2+0201_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/433390/ft2_4FGL_J1200.2+0201_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/433390/Model_4FGL_J1200.2+0201_daily_bin1769.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/433390/ft1_filtered_4FGL_J1200.2+0201_daily_bin1769.fits.....................!
real 51.17
user 49.90
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/433390/ft1_filtered_4FGL_J1200.2+0201_daily_bin1769.fits', '/scratch/kocevski/433390/ft2_4FGL_J1200.2+0201_daily_bin1769.fits', expMap='/scratch/kocevski/433390/expmap_697852801_698112001_4FGL_J1200.2+0201_daily_bin1769.fits', expCube='/scratch/kocevski/433390/ltcube_697852801_698112001_4FGL_J1200.2+0201_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/433390/Model_4FGL_J1200.2+0201_daily_bin1769.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/433390/ft1_filtered_4FGL_J1200.2+0201_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/433390/ft2_4FGL_J1200.2+0201_daily_bin1769.fits
Exposure map: /scratch/kocevski/433390/expmap_697852801_698112001_4FGL_J1200.2+0201_daily_bin1769.fits
Exposure cube: /scratch/kocevski/433390/ltcube_697852801_698112001_4FGL_J1200.2+0201_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/433390/Model_4FGL_J1200.2+0201_daily_bin1769.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3295       1.0000          .0000       .10000E+07
     2 'norm      '    13.078       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.1351       1.0000          .0000       .10000E+07
     4 'Prefactor '    .76042E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .30235E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .49687E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .13662E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    20.889       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.8787       1.0000          .0000       .10000E+07
    10 'Prefactor '    .59499E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    19.883       1.0000          .0000       .10000E+07
    12 'Prefactor '    53.066       1.0000          .0000       .10000E+07
    13 'Prefactor '    33.958       1.0000          .0000       .10000E+07
    14 'Prefactor '    .19529E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    16.972       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.0992       1.0000          .0000       .10000E+07
    17 'Prefactor '    .26523E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .23076E-06   1.0000          .0000       .10000E+07
    19 'norm      '    7.1905       1.0000          .0000       .10000E+07
    20 'Prefactor '    .82006       1.0000          .0000       .10000E+07
    21 'norm      '    .84029E-05   1.0000          .0000       .10000E+07
    22 'norm      '    .74810       1.0000          .0000       .10000E+07
    23 'Prefactor '    .55699E-02   1.0000          .0000       .10000E+07
    24 'norm      '    .92493       1.0000          .0000       .10000E+07
    25 'Prefactor '    .46857E-02   1.0000          .0000       .10000E+07
    26 'Normalizat'    .86865       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0765       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=   5619.285     FROM MIGRAD    STATUS=CONVERGED    186 CALLS     2399 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2752        5.1899       -.15457E-06    .79540E-03
   2  norm          13.098        2.3066        .70600E-07   -.64148E-02
   3  Prefactor     4.1436        3.2668        .13561E-07   -.10793E-02
   4  Prefactor     .47184E-08    10.302       -.48107E-06** at limit **
   5  norm           .0000        5.6280        .11258E-06** at limit **
   6  Prefactor      .0000        4.2392        .25073E-07** at limit **
   7  Prefactor     .87153E-08    41.617        .49195E-06** at limit **
   8  Prefactor     20.825        12.063       -.73999E-07    .26303E-02
   9  Prefactor     4.9339        9.7433       -.48981E-07    .41219E-03
  10  Prefactor     .55511E-10    7.4686       -.31958E-06** at limit **
  11  Prefactor     19.757        12.975       -.53310E-06   -.10520E-01
  12  Prefactor     55.995        69.354       -.83600E-06   -.23747E-01
  13  Prefactor     36.604        51.862        .13492E-05    .34595E-01
  14  Prefactor      .0000        17.148       -.24109E-06** at limit **
  15  Prefactor     16.951        1.4658        .33705E-07   -.13940E-01
  16  Prefactor     4.0397        12.273        .73785E-06    .15063E-02
  17  Prefactor      .0000        2.4609       -.32389E-07** at limit **
  18  norm           .0000        .51921        .23142E-07** at limit **
  19  norm          7.2069        3.3533       -.10613E-07   -.79019E-03
  20  Prefactor     .53488        57.142       -.32268E-05    .23220E-01
  21  norm           .0000        11.951       -.14302E-06** at limit **
  22  norm          .74835        .45698       -.44412E-07    .33695E-02
  23  Prefactor     .55511E-10    7.5931        .38752E-06** at limit **
  24  norm          .92600        1.3781        .77918E-08   -.86846E-03
  25  Prefactor     .74385E-08    8.0103        .90036E-07** at limit **
  26  Normalizat    .86885        .24259        .12739E-04   -.11976E-03
  27  Prefactor     1.0753        .19269       -.41905E-05   -.11428E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.27525
  norm       = 13.0981
  Prefactor  = 4.1436
  Prefactor  = 4.71845e-09
  norm       = 0
  Prefactor  = 0
  Prefactor  = 8.71525e-09
  Prefactor  = 20.8247
  Prefactor  = 4.93392
  Prefactor  = 5.55112e-11
  Prefactor  = 19.7574
  Prefactor  = 55.9953
  Prefactor  = 36.6038
  Prefactor  = 0
  Prefactor  = 16.9509
  Prefactor  = 4.03966
  Prefactor  = 0
  norm       = 0
  norm       = 7.20687
  Prefactor  = 0.534879
  norm       = 0
  norm       = 0.748348
  Prefactor  = 5.55112e-11
  norm       = 0.925998
  Prefactor  = 7.43849e-09
  Normalizat = 0.868845
  Prefactor  = 1.07526
 **********
 **   18 **HESSE 
 **********

 FCN=   5619.285     FROM HESSE     STATUS=OK           544 CALLS     2943 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2752        5.7226        .48388E-03   -1.5667    
   2  norm          13.098        21.014        .27672E-03   -1.5636    
   3  Prefactor     4.1436        3.2740        .49546E-03   -1.5667    
   4  Prefactor     .47184E-08    15.281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        5.6205        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        4.2044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .87153E-08    41.642        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     20.825        12.110        .21886E-03   -1.5617    
   9  Prefactor     4.9339        9.8045        .45516E-03   -1.5664    
  10  Prefactor     .55511E-10    7.4541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.757        19.952        .22434E-03   -1.5619    
  12  Prefactor     55.995        72.671        .13729E-03   -1.5558    
  13  Prefactor     36.604        59.316        .17163E-03   -1.5587    
  14  Prefactor      .0000        17.075        .17068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.951        16.240        .24284E-03   -1.5626    
  16  Prefactor     4.0397        22.614        .49769E-03   -1.5668    
  17  Prefactor      .0000        2.4558        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .51919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.2069        3.3695        .37384E-03   -1.5654    
  20  Prefactor     .53488        171.83        .51452E-03   -1.5693    
  21  norm           .0000        11.967        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .74835        .45951        .56887E-03   -1.5691    
  23  Prefactor     .55511E-10    7.5747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .92600        1.3880        .44052E-03   -1.5689    
  25  Prefactor     .74385E-08    15.688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .86885        .21390        .67189E-01   -.97564    
  27  Prefactor     1.0753        .16914        .38558E-01   -.90261    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.68304e-07
Minuit parameter uncertainties:
  1  5.72265
  2  21.0144
  3  3.27404
  4  0.000538601
  5  8.38715e-06
  6  1.94674e-06
  7  0.00120674
  8  12.1099
  9  9.80456
  10  4.76521e-05
  11  19.9518
  12  72.6724
  13  59.3165
  14  3.32402e-05
  15  16.2401
  16  19.1158
  17  2.17053e-06
  18  6.6408e-07
  19  3.36955
  20  19.1745
  21  1.69147e-05
  22  0.459506
  23  3.68044e-05
  24  1.38801
  25  0.000683558
  26  0.21411
  27  0.169224
Done.

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

Extracting fit parameters...

4FGL J1200.2+0201
   Spectrum: PowerLaw
285    Prefactor:  4.934e+00  9.805e+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

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.075e+00  1.692e-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.688e-01  2.141e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.33
Ra Dec: 180.055 2.017
Photon Flux Upper Limit: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.08e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/433390/likelihoodResults_697852801_698112001_4FGL_J1200.2+0201_daily_bin1769.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5618.56045653
delta logL = 0.72446788436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5618.51098806
delta logL = 0.773936352665

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40431       1.0000          .0000       .10000E+07
     2 'Index     '    3.8982       1.0000          .0000       10.000    
     3 'Normalizat'    .76326       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1314       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.

 FCN=   5618.511     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      316 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40313        4.1347        .79100E-03    .13505E-01
   2  Index         3.8997        1.9259        .10247        .16438E-03
   3  Normalizat    .76331        .46487E-01    .71210E-01    .16578E-04
   4  Prefactor     1.1313        .38586E-01    .36500E-01   -.10142E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.403132
  Index      = 3.89969
  Normalizat = 0.763313
  Prefactor  = 1.13134
 **********
 **   18 **HESSE 
 **********

 FCN=   5618.511     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      349 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40313        11.220        .35715E-05   -1.5695    
   2  Index         3.8997        3.7645        .35641E-02   -.22188    
   3  Normalizat    .76331        .21259        .31513E-03   -1.0144    
   4  Prefactor     1.1313        .17329        .21868E-03   -.88471    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.38933e-07
Minuit parameter uncertainties:
  1  4.25352
  2  4.3004
  3  0.212822
  4  0.173376
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433390': 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) = 5618.51098733
delta logL = 0.773937085016

Extracting fit parameters...

4FGL J1200.2+0201
   Spectrum: PowerLaw
285    Prefactor:  4.031e-01  4.254e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  3.900e+00  4.300e+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.131e+00  1.734e-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:  7.633e-01  2.128e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.09
Ra Dec: 180.055 2.017
Photon Index (Free Index): 3.90 +/- 4.30
Photon Flux (Free Index): 9.77e-08 +/- 8.15e-08
Energy Flux (Free Index): 1.49e-05 +/- 1.37e-05

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/433390/cmap_HighResolution_697852801_698112001_4FGL_J1200.2+0201_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.08e-03', comment='SUCCESS', energy_flux2='1.49e-05', dlogl='7.74e-01', photon_flux2='9.77e-08', job_status='DONE', time_completed='2023-02-15 00:52:06.071048', photon_index_error2='4.30', photon_index2='3.90', ts='0.33', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='1.07e-07', energy_flux_error2='1.37e-05', EG='0.87', time_epoch_completed='1676451126.07', return_code='0', job_id='433390', GAL2='1.13', EG2='0.76', return_code2='102', photon_flux_error2='8.15e-08', ts2='2.09', photon_index='2.11' WHERE bin_id='1769' AND source_name='4FGL J1200.2+0201' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 00:52:06 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 433390: <4FGL_J1200.2+0201_daily_bin1769> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.2+0201_daily_bin1769 180.055 2.0172 697852801 698112001 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 :                                   643.06 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             275.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            708 sec.

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

