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


Performing analysis on: 4FGL_J1209.8+1810_daily_bin1778
RA = 182.466, Dec = 18.1776
tmin = 700185601, tmax = 700444801
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='960986', job_status='RUN', time_executed='2023-03-14 00:50:40.751908', time_epoch_executed='1678780240.75' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/960986

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/960986/ft1_4FGL_J1209.8+1810_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/960986/ft2_4FGL_J1209.8+1810_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/960986/ft1_4FGL_J1209.8+1810_daily_bin1778.fits outfile=/scratch/kocevski/960986/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1778.fits ra=182.466 dec=18.1776 rad=12.0 tmin=700185601.0 tmax=700444801.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.91
user 3.69
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/960986/ft2_4FGL_J1209.8+1810_daily_bin1778.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/960986/ft2_4FGL_J1209.8+1810_daily_bin1778.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/960986/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1778.fits evtable="EVENTS" outfile="/scratch/kocevski/960986/ft1_filtered_4FGL_J1209.8+1810_daily_bin1778.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.33
sys 0.14

Number of photons that the gtmktime cut: 581

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/960986/ft1_filtered_4FGL_J1209.8+1810_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/960986/ft2_4FGL_J1209.8+1810_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/960986/ltcube_700185601_700444801_4FGL_J1209.8+1810_daily_bin1778.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/960986/ft2_4FGL_J1209.8+1810_daily_bin1778.fits
.....................!
real 11.72
user 11.39
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/960986/ft1_filtered_4FGL_J1209.8+1810_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/960986/ft2_4FGL_J1209.8+1810_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/960986/ltcube_700185601_700444801_4FGL_J1209.8+1810_daily_bin1778.fits outfile=/scratch/kocevski/960986/expmap_700185601_700444801_4FGL_J1209.8+1810_daily_bin1778.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/960986/ltcube_700185601_700444801_4FGL_J1209.8+1810_daily_bin1778.fits
.....................!
real 189.24
user 184.44
sys 4.48

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 J1209.8+1810 @ 182.466 18.1776

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/960986/ft1_filtered_4FGL_J1209.8+1810_daily_bin1778.fits scfile=/scratch/kocevski/960986/ft2_4FGL_J1209.8+1810_daily_bin1778.fits outfile=/scratch/kocevski/960986/cmap_700185601_700444801_4FGL_J1209.8+1810_daily_bin1778.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=182.466 yref=18.1776 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/960986/ft1_filtered_4FGL_J1209.8+1810_daily_bin1778.fits scfile=/scratch/kocevski/960986/ft2_4FGL_J1209.8+1810_daily_bin1778.fits outfile=/scratch/kocevski/960986/cmap_HighResolution_700185601_700444801_4FGL_J1209.8+1810_daily_bin1778.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=182.466 yref=18.1776 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.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/960986/ft1_filtered_4FGL_J1209.8+1810_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/960986/ft2_4FGL_J1209.8+1810_daily_bin1778.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/960986/Model_4FGL_J1209.8+1810_daily_bin1778.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/960986/ft1_filtered_4FGL_J1209.8+1810_daily_bin1778.fits.....................!
real 59.98
user 58.77
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/960986/ft1_filtered_4FGL_J1209.8+1810_daily_bin1778.fits', '/scratch/kocevski/960986/ft2_4FGL_J1209.8+1810_daily_bin1778.fits', expMap='/scratch/kocevski/960986/expmap_700185601_700444801_4FGL_J1209.8+1810_daily_bin1778.fits', expCube='/scratch/kocevski/960986/ltcube_700185601_700444801_4FGL_J1209.8+1810_daily_bin1778.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/960986/Model_4FGL_J1209.8+1810_daily_bin1778.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1209.8+1810'

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.095e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  2.411e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  8.871e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/960986/ft1_filtered_4FGL_J1209.8+1810_daily_bin1778.fits
Spacecraft file(s): /scratch/kocevski/960986/ft2_4FGL_J1209.8+1810_daily_bin1778.fits
Exposure map: /scratch/kocevski/960986/expmap_700185601_700444801_4FGL_J1209.8+1810_daily_bin1778.fits
Exposure cube: /scratch/kocevski/960986/ltcube_700185601_700444801_4FGL_J1209.8+1810_daily_bin1778.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/960986/Model_4FGL_J1209.8+1810_daily_bin1778.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) = 6576.23400096

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86879E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .82939E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    13.418       1.0000          .0000       .10000E+07
     4 'Prefactor '    .32641E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .30008       1.0000          .0000       .10000E+07
     6 'Prefactor '    .95493E-04   1.0000          .0000       .10000E+07
     7 'norm      '    19.002       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.959       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.5903       1.0000          .0000       .10000E+07
    10 'Prefactor '    .55974E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .45162E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .34528E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.3350       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.0502       1.0000          .0000       .10000E+07
    15 'Prefactor '    11.738       1.0000          .0000       .10000E+07
    16 'norm      '    .85263E-01   1.0000          .0000       .10000E+07
    17 'norm      '    .14373E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    10.069       1.0000          .0000       .10000E+07
    19 'Prefactor '    .92384E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .25806E-03   1.0000          .0000       .10000E+07
    21 'Normalizat'    .94123       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2513       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6576.105     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1708 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    13.269        .19649E-06** at limit **
   2  Prefactor     .54812E-06    27.100       -.20888E-05** at limit **
   3  Prefactor     13.451        1.2472        .20729E-07   -.11858E-01
   4  Prefactor      .0000        .64070       -.23998E-06** at limit **
   5  Prefactor     .27452E-05    4.9578        .15492E-07** at limit **
   6  Prefactor      .0000        2.5707       -.51816E-07** at limit **
   7  norm          18.997        2.9188       -.54261E-08    .16822E-03
   8  Prefactor     10.117        5.0884       -.98103E-07   -.12390    
   9  Prefactor     2.5795        5.4151        .14223E-06    .37961E-03
  10  Prefactor     .53746E-06    2.9819        .28118E-06** at limit **
  11  Prefactor      .0000        3.1299       -.13666E-06** at limit **
  12  Prefactor      .0000        .72123       -.31837E-06** at limit **
  13  Prefactor     1.3345        1.4925        .78557E-07    .35798E-03
  14  Prefactor     2.0250        1.0821       -.17732E-07   -.11988E-03
  15  Prefactor     11.723        7.1050        .19013E-06   -.24186E-03
  16  norm          .84942E-01    .19351       -.69791E-08** at limit **
  17  norm          .27867E-07    3.5111       -.59959E-06** at limit **
  18  Prefactor     10.059        4.4557        .14954E-06    .22097E-01
  19  Prefactor     .34417E-08    7.9048        .60534E-06** at limit **
  20  Prefactor     .19207E-07    3.5644       -.58059E-07** at limit **
  21  Normalizat    .94344        .22898        .51913E-05    .18474E-04
  22  Prefactor     1.2504        .22016       -.82659E-05   -.13678E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 5.48117e-07
  Prefactor  = 13.4507
  Prefactor  = 0
  Prefactor  = 2.74525e-06
  Prefactor  = 0
  norm       = 18.9968
  Prefactor  = 10.117
  Prefactor  = 2.57948
  Prefactor  = 5.37459e-07
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.33449
  Prefactor  = 2.02504
  Prefactor  = 11.7232
  norm       = 0.0849424
  norm       = 2.78666e-08
  Prefactor  = 10.0595
  Prefactor  = 3.44169e-09
  Prefactor  = 1.92069e-08
  Normalizat = 0.943444
  Prefactor  = 1.25044
 **********
 **   18 **HESSE 
 **********

 FCN=   6576.105     FROM HESSE     STATUS=OK           386 CALLS     2094 TOTAL
                     EDM=   .83E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    14.050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .54812E-06    27.729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.451        12.272        .27319E-03   -1.5635    
   4  Prefactor      .0000        .64030        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .27452E-05    78.921        .10212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.5763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          18.997        2.9222        .22948E-03   -1.5621    
   8  Prefactor     10.117        21.182        .30239E-03   -1.5644    
   9  Prefactor     2.5795        5.5877        .63374E-03   -1.5676    
  10  Prefactor     .53746E-06    38.152        .15310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        3.1208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .72362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.3345        1.5011        .94927E-03   -1.5685    
  14  Prefactor     2.0250        34.285        .72170E-03   -1.5680    
  15  Prefactor     11.723        7.1659        .29215E-03   -1.5639    
  16  norm          .84942E-01    .19585        .11628E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .27867E-07    4.1517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.059        9.5441        .31553E-03   -1.5645    
  19  Prefactor     .34417E-08    7.9076        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .19207E-07    4.1040        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .94344        .19715        .66158E-01   -.94950    
  22  Prefactor     1.2504        .18393        .57502E-01   -.84793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.31188e-07
Minuit parameter uncertainties:
  1  5.09315e-05
  2  0.00779717
  3  12.2724
  4  2.29121e-06
  5  0.0294391
  6  6.27198e-06
  7  2.92218
  8  21.1821
  9  5.58769
  10  0.00905664
  11  8.6445e-06
  12  2.56465e-06
  13  1.5011
  14  16.6649
  15  7.16592
  16  0.195851
  17  0.000680201
  18  9.54411
  19  0.000330827
  20  0.000561386
  21  0.197303
  22  0.184025
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  0.000e+00  8.645e-06  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  2.411e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  8.871e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.250e+00  1.840e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  9.434e-01  1.973e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 182.466 18.178
Photon Flux Upper Limit: 8.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/960986/likelihoodResults_700185601_700444801_4FGL_J1209.8+1810_daily_bin1778.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) = 6576.10886848
delta logL = -0.00344572836366

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6576.10542291
delta logL = -1.58150214702e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.6430       1.0000          .0000       10.000    
     3 'Normalizat'    .94342       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2505       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6576.105     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      252 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.2604        .42118E-03** at limit **
   2  Index         2.6716        1.2380        .95432E-05     .0000    
   3  Normalizat    .94344        1.2766       -.13761E-04    .97876E-04
   4  Prefactor     1.2504        1.0885        .87213E-05    .33519E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.67161
  Normalizat = 0.943445
  Prefactor  = 1.25044
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6576.105     FROM HESSE     STATUS=FAILED         9 CALLS      261 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.2604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .80784        1.9568        .95432E-05   -.48440    
   3  Normalizat    .94344        1.2766       -.13761E-04   -.94950    
   4  Prefactor     1.2504        1.0885        .87213E-05   -.84793    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.17273e-11
Minuit parameter uncertainties:
  1  1.29931e-06
  2  1.25479
  3  1.3216
  4  1.10917
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/960986': 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) = 6576.10542275
delta logL = -2.45563569479e-11

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  0.000e+00  1.299e-06  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  2.672e+00  1.255e+00  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  8.871e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.250e+00  1.109e+00  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  9.434e-01  1.322e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 182.466 18.178

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/960986/cmap_HighResolution_700185601_700444801_4FGL_J1209.8+1810_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.96e-03', job_status='DONE', photon_flux_upper_limit='8.99e-08', time_completed='2023-03-14 01:00:44.295571', job_id='960986', GAL2='1.25', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1678780844.3', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='-2.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1778' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 01:00:44 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0012>
Subject: Job 960986: <4FGL_J1209.8+1810_daily_bin1778> in cluster <slac> Done

Job <4FGL_J1209.8+1810_daily_bin1778> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Mar 14 00:50:23 2023
Job was executed on host(s) <bullet0012>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 00:50:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 00:50:24 2023
Terminated at Tue Mar 14 01:00:45 2023
Results reported at Tue Mar 14 01:00:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin1778 182.466 18.1776 700185601 700444801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1209.8+1810 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   605.36 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             336.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   620 sec.
    Turnaround time :                            622 sec.

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

