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


Performing analysis on: 4FGL_J1209.8+1810_daily_bin1755
RA = 182.466, Dec = 18.1776
tmin = 694224001, tmax = 694483201
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='822165', job_status='RUN', time_executed='2023-01-04 00:59:52.782551', time_epoch_executed='1672822792.78' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/822165

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/822165/ft1_4FGL_J1209.8+1810_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/822165/ft2_4FGL_J1209.8+1810_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/822165/ft1_4FGL_J1209.8+1810_daily_bin1755.fits outfile=/scratch/kocevski/822165/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1755.fits ra=182.466 dec=18.1776 rad=12.0 tmin=694224001.0 tmax=694483201.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.08
user 2.83
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/822165/ft2_4FGL_J1209.8+1810_daily_bin1755.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/822165/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1755.fits evtable="EVENTS" outfile="/scratch/kocevski/822165/ft1_filtered_4FGL_J1209.8+1810_daily_bin1755.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.54
user 0.36
sys 0.16

Number of photons that the gtmktime cut: 604

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/822165/ft1_filtered_4FGL_J1209.8+1810_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/822165/ft2_4FGL_J1209.8+1810_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/822165/ltcube_694224001_694483201_4FGL_J1209.8+1810_daily_bin1755.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/822165/ft2_4FGL_J1209.8+1810_daily_bin1755.fits
.....................!
real 17.03
user 16.60
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/822165/ft1_filtered_4FGL_J1209.8+1810_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/822165/ft2_4FGL_J1209.8+1810_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/822165/ltcube_694224001_694483201_4FGL_J1209.8+1810_daily_bin1755.fits outfile=/scratch/kocevski/822165/expmap_694224001_694483201_4FGL_J1209.8+1810_daily_bin1755.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/822165/ltcube_694224001_694483201_4FGL_J1209.8+1810_daily_bin1755.fits
.....................!
real 193.13
user 187.72
sys 4.94

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/822165/ft1_filtered_4FGL_J1209.8+1810_daily_bin1755.fits scfile=/scratch/kocevski/822165/ft2_4FGL_J1209.8+1810_daily_bin1755.fits outfile=/scratch/kocevski/822165/cmap_694224001_694483201_4FGL_J1209.8+1810_daily_bin1755.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.58
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/822165/ft1_filtered_4FGL_J1209.8+1810_daily_bin1755.fits scfile=/scratch/kocevski/822165/ft2_4FGL_J1209.8+1810_daily_bin1755.fits outfile=/scratch/kocevski/822165/cmap_HighResolution_694224001_694483201_4FGL_J1209.8+1810_daily_bin1755.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.58
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/822165/ft1_filtered_4FGL_J1209.8+1810_daily_bin1755.fits', '/scratch/kocevski/822165/ft2_4FGL_J1209.8+1810_daily_bin1755.fits', expMap='/scratch/kocevski/822165/expmap_694224001_694483201_4FGL_J1209.8+1810_daily_bin1755.fits', expCube='/scratch/kocevski/822165/ltcube_694224001_694483201_4FGL_J1209.8+1810_daily_bin1755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/822165/Model_4FGL_J1209.8+1810_daily_bin1755.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/822165/ft1_filtered_4FGL_J1209.8+1810_daily_bin1755.fits
Spacecraft file(s): /scratch/kocevski/822165/ft2_4FGL_J1209.8+1810_daily_bin1755.fits
Exposure map: /scratch/kocevski/822165/expmap_694224001_694483201_4FGL_J1209.8+1810_daily_bin1755.fits
Exposure cube: /scratch/kocevski/822165/ltcube_694224001_694483201_4FGL_J1209.8+1810_daily_bin1755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/822165/Model_4FGL_J1209.8+1810_daily_bin1755.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) = 6287.41898559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19185E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36492E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    15.088       1.0000          .0000       .10000E+07
     4 'Prefactor '    .20822E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.3240       1.0000          .0000       .10000E+07
     6 'Prefactor '    .92062E-05   1.0000          .0000       .10000E+07
     7 'norm      '    55.223       1.0000          .0000       .10000E+07
     8 'Prefactor '    .19467E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    6.9089       1.0000          .0000       .10000E+07
    10 'Prefactor '    .87535E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.6093       1.0000          .0000       .10000E+07
    12 'Prefactor '    .27855E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.7445       1.0000          .0000       .10000E+07
    14 'Prefactor '    .94979       1.0000          .0000       .10000E+07
    15 'Prefactor '    .44048E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .75263E-01   1.0000          .0000       .10000E+07
    17 'norm      '    19.676       1.0000          .0000       .10000E+07
    18 'Prefactor '    8.7955       1.0000          .0000       .10000E+07
    19 'Prefactor '    .10920E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .18758E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    .90143       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90406       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=   6286.084     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1091 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .42688E-07    5.9936        .71825E-08** at limit **
   2  Prefactor     .82712E-07    3.6025       -.17618E-06** at limit **
   3  Prefactor     14.939        1.4352       -.14219E-07   -.13474E-02
   4  Prefactor      .0000        1.1721       -.39653E-06** at limit **
   5  Prefactor     .16653E-09    177.72       -.23822E-05** at limit **
   6  Prefactor     .46629E-07    4.5336        .22331E-06** at limit **
   7  norm          55.184        4.7478       -.97700E-07   -.19030E-02
   8  Prefactor     .29976E-07    7.2101        .77177E-06** at limit **
   9  Prefactor     6.9311        5.1127       -.35912E-06   -.88030E-04
  10  Prefactor     .17597E-07    1.1118        .10905E-06** at limit **
  11  Prefactor     1.6037        2.8501       -.35982E-07   -.17744E-03
  12  Prefactor      .0000        2.1813        .25543E-07** at limit **
  13  Prefactor     1.7423        1.7671        .19557E-06   -.23304E-03
  14  Prefactor     .11102E-09    169.94        .82722E-07** at limit **
  15  Prefactor      .0000        1.7543        .33636E-06** at limit **
  16  norm          .74901E-01    .22141       -.26261E-07** at limit **
  17  norm          19.757        6.1122       -.28875E-07    .84152E-04
  18  Prefactor     8.7313        9.9971       -.13741E-06   -.21592E-02
  19  Prefactor     .22204E-09    5.2266       -.25098E-06** at limit **
  20  Prefactor     .37192E-08    9.2152       -.29281E-06** at limit **
  21  Normalizat    .90107        .21675       -.10813E-04   -.17341E-04
  22  Prefactor     .90549        .20815        .17970E-04    .15045E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.26881e-08
  Prefactor  = 8.27116e-08
  Prefactor  = 14.9395
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 4.66294e-08
  norm       = 55.1837
  Prefactor  = 2.9976e-08
  Prefactor  = 6.93111
  Prefactor  = 1.7597e-08
  Prefactor  = 1.60371
  Prefactor  = 0
  Prefactor  = 1.74227
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  norm       = 0.0749013
  norm       = 19.7567
  Prefactor  = 8.7313
  Prefactor  = 2.22045e-10
  Prefactor  = 3.71925e-09
  Normalizat = 0.901066
  Prefactor  = 0.905491
 **********
 **   18 **HESSE 
 **********

 FCN=   6286.084     FROM HESSE     STATUS=OK           380 CALLS     1471 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .42688E-07    7.4004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .82712E-07    6.3123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.939        12.043        .25759E-03   -1.5631    
   4  Prefactor      .0000        1.1515        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    177.80        .95525E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .46629E-07    6.0948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          55.184        4.7512        .13458E-03   -1.5559    
   8  Prefactor     .29976E-07    8.1613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.9311        5.2199        .38145E-03   -1.5655    
  10  Prefactor     .17597E-07    69.212        .14277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.6037        2.8979        .83475E-03   -1.5683    
  12  Prefactor      .0000        2.1378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.7423        1.7685        .79382E-03   -1.5682    
  14  Prefactor     .11102E-09    168.61        .42377E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.7617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .74901E-01    .18387        .13514E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          19.757        6.1247        .22552E-03   -1.5619    
  18  Prefactor     8.7313        10.030        .33774E-03   -1.5649    
  19  Prefactor     .22204E-09    5.2443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .37192E-08    9.2885        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .90107        .19097        .44920E-01   -.96423    
  22  Prefactor     .90549        .18153        .45057E-01   -.95949    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16488e-08
Minuit parameter uncertainties:
  1  0.00112446
  2  0.00144489
  3  12.0429
  4  1.16255e-06
  5  0.000337511
  6  0.00106614
  7  4.75117
  8  0.000988961
  9  5.21995
  10  0.00220705
  11  2.89794
  12  2.72631e-06
  13  1.76848
  14  0.000262511
  15  3.84749e-06
  16  0.183865
  17  6.12471
  18  10.0299
  19  6.76195e-05
  20  0.000372991
  21  0.191112
  22  0.18165
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.604e+00  2.898e+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

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  9.055e-01  1.816e-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.011e-01  1.911e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.39
Ra Dec: 182.466 18.178
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/822165/likelihoodResults_694224001_694483201_4FGL_J1209.8+1810_daily_bin1755.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) = 6285.9612895
delta logL = 0.123017154474

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6285.95176876
delta logL = 0.132537890065

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1051       1.0000          .0000       .10000E+07
     2 'Index     '    1.7203       1.0000          .0000       10.000    
     3 'Normalizat'    .91442       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89627       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6285.952     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      275 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1030        3.7252        .16881E-04    .17914E-03
   2  Index         1.7195        1.0537        .12581E-01   -.24530E-03
   3  Normalizat    .91421        .20880        .27975E-03    .12191E-05
   4  Prefactor     .89641        .20623        .27754E-03   -.21300E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.10303
  Index      = 1.71946
  Normalizat = 0.914208
  Prefactor  = 0.896407
 **********
 **   18 **HESSE 
 **********

 FCN=   6285.952     FROM HESSE     STATUS=OK            27 CALLS      302 TOTAL
                     EDM=   .82E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1030        3.8874        .33763E-05   -1.5679    
   2  Index         1.7195        1.0992        .25161E-02   -.71565    
   3  Normalizat    .91421        .20906        .11190E-04   -.95963    
   4  Prefactor     .89641        .20647        .11102E-04   -.96267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.19568e-12
Minuit parameter uncertainties:
  1  3.88743
  2  1.11533
  3  0.209247
  4  0.206648
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/822165': 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): 0
logL (Free Index) = 6285.95176777
delta logL = 0.132538883215

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  2.103e+00  3.887e+00  0.000e+00  1.000e+06 ( 1.000e-12)
285        Index:  1.719e+00  1.115e+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:  8.964e-01  2.066e-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.142e-01  2.092e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.39
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/822165/cmap_HighResolution_694224001_694483201_4FGL_J1209.8+1810_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.43e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2023-01-04 01:09:31.129002', job_id='822165', GAL2='0.90', fit_tolerance='1e-08', EG2='0.91', EG='0.90', time_epoch_completed='1672823371.13', return_code2='0', ts='0.39', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.33e-01', ts2='0.65', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1755' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 01:09:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 822165: <4FGL_J1209.8+1810_daily_bin1755> in cluster <slac> Done

Job <4FGL_J1209.8+1810_daily_bin1755> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan  4 00:55:18 2023
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 00:55:47 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 00:55:47 2023
Terminated at Wed Jan  4 01:09:31 2023
Results reported at Wed Jan  4 01:09:31 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin1755 182.466 18.1776 694224001 694483201 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 :                                   580.53 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             222.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            853 sec.

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

