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


Performing analysis on: 4FGL_J1200.7+2008_daily_bin1751
RA = 180.187, Dec = 20.1354
tmin = 693187201, tmax = 693446401
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='76451', job_status='RUN', time_executed='2022-12-23 00:38:17.108518', time_epoch_executed='1671784697.11' WHERE source_name='4FGL J1200.7+2008' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/76451

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/76451/ft1_4FGL_J1200.7+2008_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/76451/ft2_4FGL_J1200.7+2008_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/76451/ft1_4FGL_J1200.7+2008_daily_bin1751.fits outfile=/scratch/kocevski/76451/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin1751.fits ra=180.187 dec=20.1354 rad=12.0 tmin=693187201.0 tmax=693446401.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.60
user 3.37
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/76451/ft2_4FGL_J1200.7+2008_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/76451/ft2_4FGL_J1200.7+2008_daily_bin1751.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/76451/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/76451/ft1_filtered_4FGL_J1200.7+2008_daily_bin1751.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.32
sys 0.16

Number of photons that the gtmktime cut: 666

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/76451/ft1_filtered_4FGL_J1200.7+2008_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/76451/ft2_4FGL_J1200.7+2008_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/76451/ltcube_693187201_693446401_4FGL_J1200.7+2008_daily_bin1751.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/76451/ft2_4FGL_J1200.7+2008_daily_bin1751.fits
.....................!
real 11.97
user 11.61
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/76451/ft1_filtered_4FGL_J1200.7+2008_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/76451/ft2_4FGL_J1200.7+2008_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/76451/ltcube_693187201_693446401_4FGL_J1200.7+2008_daily_bin1751.fits outfile=/scratch/kocevski/76451/expmap_693187201_693446401_4FGL_J1200.7+2008_daily_bin1751.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/76451/ltcube_693187201_693446401_4FGL_J1200.7+2008_daily_bin1751.fits
.....................!
real 191.41
user 186.31
sys 4.79

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

Setting source of interest to:
4FGL J1200.7+2008 @ 180.187 20.1354

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/76451/ft1_filtered_4FGL_J1200.7+2008_daily_bin1751.fits scfile=/scratch/kocevski/76451/ft2_4FGL_J1200.7+2008_daily_bin1751.fits outfile=/scratch/kocevski/76451/cmap_693187201_693446401_4FGL_J1200.7+2008_daily_bin1751.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.187 yref=20.1354 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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/76451/ft1_filtered_4FGL_J1200.7+2008_daily_bin1751.fits scfile=/scratch/kocevski/76451/ft2_4FGL_J1200.7+2008_daily_bin1751.fits outfile=/scratch/kocevski/76451/cmap_HighResolution_693187201_693446401_4FGL_J1200.7+2008_daily_bin1751.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.187 yref=20.1354 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/76451/ft1_filtered_4FGL_J1200.7+2008_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/76451/ft2_4FGL_J1200.7+2008_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/76451/Model_4FGL_J1200.7+2008_daily_bin1751.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/76451/ft1_filtered_4FGL_J1200.7+2008_daily_bin1751.fits.....................!
real 62.44
user 61.04
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/76451/ft1_filtered_4FGL_J1200.7+2008_daily_bin1751.fits', '/scratch/kocevski/76451/ft2_4FGL_J1200.7+2008_daily_bin1751.fits', expMap='/scratch/kocevski/76451/expmap_693187201_693446401_4FGL_J1200.7+2008_daily_bin1751.fits', expCube='/scratch/kocevski/76451/ltcube_693187201_693446401_4FGL_J1200.7+2008_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/76451/Model_4FGL_J1200.7+2008_daily_bin1751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1200.7+2008'

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  1.085e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
282        Index:  2.520e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  7.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/76451/ft1_filtered_4FGL_J1200.7+2008_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/76451/ft2_4FGL_J1200.7+2008_daily_bin1751.fits
Exposure map: /scratch/kocevski/76451/expmap_693187201_693446401_4FGL_J1200.7+2008_daily_bin1751.fits
Exposure cube: /scratch/kocevski/76451/ltcube_693187201_693446401_4FGL_J1200.7+2008_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/76451/Model_4FGL_J1200.7+2008_daily_bin1751.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) = 7049.08363759

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72530E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .33044E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    18.828       1.0000          .0000       .10000E+07
     4 'Prefactor '    .57271E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.3178       1.0000          .0000       .10000E+07
     6 'Prefactor '    .54901E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .18178E-02   1.0000          .0000       .10000E+07
     8 'norm      '    25.197       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.2502       1.0000          .0000       .10000E+07
    10 'Prefactor '    .21702E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .33246E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .29164E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .25813E-07   1.0000          .0000       .10000E+07
    14 'norm      '    4.6590       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.0058       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.2064       1.0000          .0000       .10000E+07
    17 'Prefactor '    .71923       1.0000          .0000       .10000E+07
    18 'norm      '    .24986       1.0000          .0000       .10000E+07
    19 'norm      '    14.072       1.0000          .0000       .10000E+07
    20 'Prefactor '    7.6543       1.0000          .0000       .10000E+07
    21 'Prefactor '    10.664       1.0000          .0000       .10000E+07
    22 'Normalizat'    .96079       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .96109       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7049.079     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     1817 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.5397       -.90279E-08** at limit **
   2  Prefactor     .16653E-09    5.0503        .21753E-06** at limit **
   3  Prefactor     18.828        1.5330       -.98428E-07    .69023E-01
   4  Prefactor     .61062E-09    7.2400       -.24584E-06** at limit **
   5  Prefactor     3.3281        1.0641        .20142E-07    .40185E-03
   6  Prefactor      .0000        .53776       -.92942E-07** at limit **
   7  Prefactor     .55511E-10    3.2967       -.37047E-06** at limit **
   8  norm          25.198        2.6935        .89035E-07    .26585E-02
   9  Prefactor     4.2501        1.0120        .84569E-08   -.76543E-03
  10  Prefactor      .0000        1.7902       -.46749E-06** at limit **
  11  Prefactor     .49960E-09    21.091        .36474E-05** at limit **
  12  Prefactor      .0000        .80840        .22917E-06** at limit **
  13  Prefactor      .0000        .83184        .82367E-07** at limit **
  14  norm          4.6607        2.2781        .23928E-06    .17241E-01
  15  Prefactor     1.0079        .76228       -.85288E-07   -.32202E-01
  16  Prefactor     2.2090        1.4763       -.89831E-07    .15546E-03
  17  Prefactor     .71538        .69350       -.99464E-07    .15773E-02
  18  norm          .25010        .18695       -.13191E-07   -.27276E-02
  19  norm          14.047        4.9717       -.20137E-06    .33191E-02
  20  Prefactor     7.6520        1.0352       -.12617E-07    .44961E-02
  21  Prefactor     10.659        1.0401       -.14657E-07    .16808E-03
  22  Normalizat    .96097        .19200        .85398E-05    .29539E-04
  23  Prefactor     .96099        .19401       -.78865E-05    .23882E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 18.8279
  Prefactor  = 6.10623e-10
  Prefactor  = 3.32807
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 25.1979
  Prefactor  = 4.25005
  Prefactor  = 0
  Prefactor  = 4.996e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 4.66068
  Prefactor  = 1.0079
  Prefactor  = 2.20901
  Prefactor  = 0.715375
  norm       = 0.250103
  norm       = 14.0468
  Prefactor  = 7.65197
  Prefactor  = 10.6587
  Normalizat = 0.96097
  Prefactor  = 0.960989
 **********
 **   18 **HESSE 
 **********

 FCN=   7049.079     FROM HESSE     STATUS=OK           416 CALLS     2233 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.5420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16653E-09    5.0551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.828        16.865        .23055E-03   -1.5621    
   4  Prefactor     .61062E-09    7.2484        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.3281        8.5158        .55550E-03   -1.5671    
   6  Prefactor      .0000        .53603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    3.3041        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          25.198        2.6966        .19926E-03   -1.5608    
   9  Prefactor     4.2501        10.626        .48850E-03   -1.5667    
  10  Prefactor      .0000        1.7854        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .49960E-09    21.940        .16284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .80723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .83078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.6607        3.0363        .46601E-03   -1.5665    
  15  Prefactor     1.0079        1.7238        .43971E-03   -1.5688    
  16  Prefactor     2.2090        1.4805        .69228E-03   -1.5678    
  17  Prefactor     .71538        7.1809        .59161E-03   -1.5691    
  18  norm          .25010        .19645        .67790E-03   -1.5698    
  19  norm          14.047        5.3387        .26675E-03   -1.5633    
  20  Prefactor     7.6520        9.3758        .36223E-03   -1.5653    
  21  Prefactor     10.659        8.2995        .30657E-03   -1.5643    
  22  Normalizat    .96097        .17109        .45674E-01   -.94350    
  23  Prefactor     .96099        .17119        .45779E-01   -.94041    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02795e-07
Minuit parameter uncertainties:
  1  8.95792e-06
  2  5.63205e-05
  3  16.8652
  4  0.000135111
  5  8.51579
  6  3.20027e-06
  7  3.28374e-05
  8  2.69664
  9  10.6259
  10  3.3599e-07
  11  0.000210773
  12  6.23186e-06
  13  4.43342e-06
  14  3.03628
  15  1.72375
  16  1.48049
  17  4.533
  18  0.196449
  19  5.33866
  20  9.37579
  21  8.29949
  22  0.171184
  23  0.171289
Done.

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

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  0.000e+00  3.360e-07  0.000e+00  1.000e+06 ( 1.000e-12)
282        Index:  2.520e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  7.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  9.610e-01  1.713e-01  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  9.610e-01  1.712e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 180.187 20.135
Photon Flux Upper Limit: 6.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/76451/likelihoodResults_693187201_693446401_4FGL_J1200.7+2008_daily_bin1751.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) = 7049.08621008
delta logL = -0.00728638326837

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7049.07893202
delta logL = -8.32195928524e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7049.079     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      263 TOTAL
                     EDM=   .25E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .97891E-03    .42118E-03** at limit **
   2  Index         3.5949        6.6965        .46228        .22134E-09
   3  Normalizat    .96097        .16085E-03    .45685E-01    .53983E-04
   4  Prefactor     .96099        .16632E-03    .45770E-01    .21155E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 3.59491
  Normalizat = 0.960969
  Prefactor  = 0.960991
 **********
 **   18 **HESSE 
 **********

 FCN=   7049.079     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      296 TOTAL
                     EDM=   .63E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .23718E-01    .67982E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.5949        6.4057        .50000       -.28485    
   3  Normalizat    .96097        .78264E-03    .26676E-03   -.94350    
   4  Prefactor     .96099        .80930E-03    .27438E-03   -.94041    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.26406e-12
Minuit parameter uncertainties:
  1  2.21694e-06
  2  19534.4
  3  0.000782643
  4  0.000809305
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/76451': 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) = 7049.0789237
delta logL = -1.00044417195e-10

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  5.551e-11  2.217e-06  0.000e+00  1.000e+06 ( 1.000e-12)
282        Index:  3.595e+00  1.953e+04  0.000e+00  1.000e+01 (-1.000e+00)
283        Scale:  7.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  9.610e-01  8.093e-04  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  9.610e-01  7.826e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 180.187 20.135

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/76451/cmap_HighResolution_693187201_693446401_4FGL_J1200.7+2008_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.06e-03', job_status='DONE', photon_flux_upper_limit='6.49e-08', time_completed='2022-12-23 00:49:17.740342', job_id='76451', GAL2='0.96', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1671785357.74', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-1.00e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1751' AND source_name='4FGL J1200.7+2008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:49:17 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 76451: <4FGL_J1200.7+2008_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1200.7+2008_daily_bin1751> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Dec 23 00:35:19 2022
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:35:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:35:20 2022
Terminated at Fri Dec 23 00:49:18 2022
Results reported at Fri Dec 23 00:49:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.7+2008_daily_bin1751 180.187 20.1354 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1200.7+2008 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   663.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             312.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            839 sec.

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

