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


Performing analysis on: 4FGL_J1104.4+3812_daily_bin1780
RA = 166.119, Dec = 38.207
tmin = 700704001, tmax = 700963201
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='59991', job_status='RUN', time_executed='2023-03-20 00:44:23.673384', time_epoch_executed='1679298263.67' WHERE source_name='4FGL J1104.4+3812' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/59991

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/59991/ft1_4FGL_J1104.4+3812_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/59991/ft2_4FGL_J1104.4+3812_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/59991/ft1_4FGL_J1104.4+3812_daily_bin1780.fits outfile=/scratch/kocevski/59991/ft1_filteredMKT_4FGL_J1104.4+3812_daily_bin1780.fits ra=166.119 dec=38.207 rad=12.0 tmin=700704001.0 tmax=700963201.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.08
user 3.86
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/59991/ft2_4FGL_J1104.4+3812_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/59991/ft2_4FGL_J1104.4+3812_daily_bin1780.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/59991/ft1_filteredMKT_4FGL_J1104.4+3812_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/59991/ft1_filtered_4FGL_J1104.4+3812_daily_bin1780.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.32
sys 0.15

Number of photons that the gtmktime cut: 662

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/59991/ft1_filtered_4FGL_J1104.4+3812_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/59991/ft2_4FGL_J1104.4+3812_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/59991/ltcube_700704001_700963201_4FGL_J1104.4+3812_daily_bin1780.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/59991/ft2_4FGL_J1104.4+3812_daily_bin1780.fits
.....................!
real 11.96
user 11.60
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/59991/ft1_filtered_4FGL_J1104.4+3812_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/59991/ft2_4FGL_J1104.4+3812_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/59991/ltcube_700704001_700963201_4FGL_J1104.4+3812_daily_bin1780.fits outfile=/scratch/kocevski/59991/expmap_700704001_700963201_4FGL_J1104.4+3812_daily_bin1780.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/59991/ltcube_700704001_700963201_4FGL_J1104.4+3812_daily_bin1780.fits
.....................!
real 191.25
user 185.57
sys 5.36

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

Setting source of interest to:
4FGL J1104.4+3812 @ 166.119 38.207

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/59991/ft1_filtered_4FGL_J1104.4+3812_daily_bin1780.fits scfile=/scratch/kocevski/59991/ft2_4FGL_J1104.4+3812_daily_bin1780.fits outfile=/scratch/kocevski/59991/cmap_700704001_700963201_4FGL_J1104.4+3812_daily_bin1780.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=166.119 yref=38.207 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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/59991/ft1_filtered_4FGL_J1104.4+3812_daily_bin1780.fits scfile=/scratch/kocevski/59991/ft2_4FGL_J1104.4+3812_daily_bin1780.fits outfile=/scratch/kocevski/59991/cmap_HighResolution_700704001_700963201_4FGL_J1104.4+3812_daily_bin1780.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=166.119 yref=38.207 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/59991/ft1_filtered_4FGL_J1104.4+3812_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/59991/ft2_4FGL_J1104.4+3812_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/59991/Model_4FGL_J1104.4+3812_daily_bin1780.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/59991/ft1_filtered_4FGL_J1104.4+3812_daily_bin1780.fits.....................!
real 60.42
user 59.13
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/59991/ft1_filtered_4FGL_J1104.4+3812_daily_bin1780.fits', '/scratch/kocevski/59991/ft2_4FGL_J1104.4+3812_daily_bin1780.fits', expMap='/scratch/kocevski/59991/expmap_700704001_700963201_4FGL_J1104.4+3812_daily_bin1780.fits', expCube='/scratch/kocevski/59991/ltcube_700704001_700963201_4FGL_J1104.4+3812_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/59991/Model_4FGL_J1104.4+3812_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1104.4+3812'

4FGL J1104.4+3812
   Spectrum: LogParabola
334         norm:  1.879e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
335        alpha:  1.736e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
336         beta:  2.035e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
337           Eb:  1.264e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/59991/ft1_filtered_4FGL_J1104.4+3812_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/59991/ft2_4FGL_J1104.4+3812_daily_bin1780.fits
Exposure map: /scratch/kocevski/59991/expmap_700704001_700963201_4FGL_J1104.4+3812_daily_bin1780.fits
Exposure cube: /scratch/kocevski/59991/ltcube_700704001_700963201_4FGL_J1104.4+3812_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/59991/Model_4FGL_J1104.4+3812_daily_bin1780.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) = 7450.74332734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27672E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    8.8398       1.0000          .0000       .10000E+07
     3 'norm      '    1.9757       1.0000          .0000       .10000E+07
     4 'Prefactor '    62.519       1.0000          .0000       .10000E+07
     5 'Prefactor '    .79409E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    5.9085       1.0000          .0000       .10000E+07
     7 'Prefactor '    .41969E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    51.234       1.0000          .0000       .10000E+07
     9 'Prefactor '    .37942E-03   1.0000          .0000       .10000E+07
    10 'norm      '    1.9299       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.1261       1.0000          .0000       .10000E+07
    12 'Prefactor '    .68465E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.5298       1.0000          .0000       .10000E+07
    14 'Prefactor '    .11772E-01   1.0000          .0000       .10000E+07
    15 'norm      '    .23552E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .11534E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .55027E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    21.601       1.0000          .0000       .10000E+07
    19 'Prefactor '    .58924E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .75318       1.0000          .0000       .10000E+07
    21 'Prefactor '    3.5115       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.6113       1.0000          .0000       .10000E+07
    23 'Prefactor '    40.831       1.0000          .0000       .10000E+07
    24 'norm      '    .53189       1.0000          .0000       .10000E+07
    25 'norm      '    4.4043       1.0000          .0000       .10000E+07
    26 'Prefactor '    .15144E-01   1.0000          .0000       .10000E+07
    27 'Normalizat'    .95353       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .92456       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7450.738     FROM MIGRAD    STATUS=CONVERGED    204 CALLS     2561 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3142        .21135E-06** at limit **
   2  Prefactor     8.8314        4.3982       -.19378E-06   -.36131E-03
   3  norm          1.9791        6.7606        .57249E-06   -.15328E-02
   4  Prefactor     62.489        2.9773        .21421E-07   -.12901E-03
   5  Prefactor     .46074E-08    10.893        .88750E-07** at limit **
   6  Prefactor     5.9588        4.2036       -.82942E-07   -.19247E-02
   7  Prefactor     .50404E-07    14.522        .77365E-06** at limit **
   8  Prefactor     50.430        57.595        .52523E-06    .25296E-01
   9  Prefactor     .85765E-07    5.6434        .90755E-06** at limit **
  10  norm          1.9297        .35413       -.69499E-08   -.14642E-02
  11  Prefactor     4.1310        3.4462        .93338E-08   -.48765E-03
  12  Prefactor     .15876E-07    5.4735        .62275E-06** at limit **
  13  Prefactor     1.5252        20.695        .73886E-06   -.22694E-01
  14  Prefactor     .97478E-07    24.168       -.21615E-06** at limit **
  15  norm          .55511E-10    3.9207        .43361E-06** at limit **
  16  norm          .11530E-06    20.063        .27985E-06** at limit **
  17  Prefactor     .55511E-10    2.5788       -.22610E-06** at limit **
  18  Prefactor     21.604        7.3665        .20510E-07   -.31158E-01
  19  Prefactor     .30329E-05    89.556        .19469E-05** at limit **
  20  norm          .75963        1.8093       -.18283E-06    .10683E-02
  21  Prefactor     3.4881        5.8284        .49067E-07   -.10067    
  22  Prefactor     1.6197        3.9377        .12128E-06    .96863E-03
  23  Prefactor     40.707        2.2691        .26978E-07    .12745E-01
  24  norm          .53315        .80605       -.31411E-07   -.47035E-03
  25  norm          4.4098        7.3352        .45653E-06   -.20862E-02
  26  Prefactor      .0000        25.186        .16438E-06** at limit **
  27  Normalizat    .95354        .17575       -.13385E-05   -.10431E-03
  28  Prefactor     .92454        .20093        .61290E-05   -.11222E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 8.83145
  norm       = 1.97913
  Prefactor  = 62.4887
  Prefactor  = 4.60743e-09
  Prefactor  = 5.95882
  Prefactor  = 5.04041e-08
  Prefactor  = 50.4299
  Prefactor  = 8.57647e-08
  norm       = 1.92973
  Prefactor  = 4.13103
  Prefactor  = 1.58762e-08
  Prefactor  = 1.5252
  Prefactor  = 9.74776e-08
  norm       = 5.55112e-11
  norm       = 1.15297e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 21.6038
  Prefactor  = 3.03285e-06
  norm       = 0.759627
  Prefactor  = 3.48814
  Prefactor  = 1.61974
  Prefactor  = 40.7067
  norm       = 0.533155
  norm       = 4.40981
  Prefactor  = 0
  Normalizat = 0.953536
  Prefactor  = 0.924544
 **********
 **   18 **HESSE 
 **********

 FCN=   7450.738     FROM HESSE     STATUS=OK           579 CALLS     3140 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.8314        4.3971        .33688E-03   -1.5649    
   3  norm          1.9791        6.7974        .73724E-03   -1.5680    
   4  Prefactor     62.489        46.045        .12648E-03   -1.5550    
   5  Prefactor     .46074E-08    10.906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.9588        4.2164        .41289E-03   -1.5659    
   7  Prefactor     .50404E-07    14.622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     50.430        59.579        .13972E-03   -1.5566    
   9  Prefactor     .85765E-07    5.8297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.9297        .35530        .45463E-03   -1.5680    
  11  Prefactor     4.1310        3.4546        .49601E-03   -1.5667    
  12  Prefactor     .15876E-07    5.4978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.5252        22.648        .86267E-03   -1.5683    
  14  Prefactor     .97478E-07    24.357        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    3.9245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .11530E-06    20.298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    2.5459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.604        40.613        .21522E-03   -1.5615    
  19  Prefactor     .30329E-05    93.205        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .75963        2.2601        .56492E-03   -1.5691    
  21  Prefactor     3.4881        11.747        .53926E-03   -1.5671    
  22  Prefactor     1.6197        3.9930        .83409E-03   -1.5683    
  23  Prefactor     40.707        42.223        .15651E-03   -1.5580    
  24  norm          .53315        .94257        .75564E-03   -1.5693    
  25  norm          4.4098        7.3522        .47964E-03   -1.5666    
  26  Prefactor      .0000        25.146        .17380E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .95354        .15303        .45582E-01   -.94604    
  28  Prefactor     .92454        .17451        .45317E-01   -.95289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02027e-06
Minuit parameter uncertainties:
  1  3.5306e-06
  2  4.39707
  3  6.79742
  4  46.0451
  5  0.000448947
  6  4.21643
  7  0.00171714
  8  59.58
  9  0.00141419
  10  0.355301
  11  3.45461
  12  0.000591371
  13  11.7548
  14  0.00308209
  15  2.86986e-05
  16  0.00305952
  17  1.88606e-05
  18  40.6137
  19  0.0336265
  20  2.26011
  21  11.7472
  22  3.99299
  23  42.2231
  24  0.942575
  25  7.35218
  26  3.3837e-05
  27  0.153095
  28  0.174611
Done.

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

Extracting fit parameters...

4FGL J1104.4+3812
   Spectrum: LogParabola
334         norm:  1.930e+00  3.553e-01  0.000e+00  1.000e+06 ( 1.000e-11)
335        alpha:  1.736e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
336         beta:  2.035e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
337           Eb:  1.264e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
655    Prefactor:  9.245e-01  1.746e-01  0.000e+00  1.000e+01 ( 1.000e+00)
656        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
657        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
654   Normalization:  9.535e-01  1.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 152.31
Ra Dec: 166.119 38.207
Photon Index (Fixed Index): 1.74 +/- 0.00
Photon Flux (Fixed Index): 2.00e-07 +/- 3.69e-08
Energy Flux (Fixed Index): 2.71e-04 +/- 4.99e-05

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) = 7450.73791882
delta logL = 2.57888195847e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7450.73790318
delta logL = 4.14327760154e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9298       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7343       1.0000          .0000       5.0000    
     3 'Normalizat'    .95373       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92447       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7450.738     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      183 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9301        .39663        .45481E-03   -.95346E-03
   2  alpha         1.7343        .15577        .10464        .24276E-04
   3  Normalizat    .95378        .14721        .45585E-01    .12769E-04
   4  Prefactor     .92441        .17333        .45316E-01    .15989E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.93013
  alpha      = 1.73427
  Normalizat = 0.953777
  Prefactor  = 0.924407
 **********
 **   18 **HESSE 
 **********

 FCN=   7450.738     FROM HESSE     STATUS=OK            31 CALLS      214 TOTAL
                     EDM=   .32E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9301        .33816        .20089E-05   -1.5680    
   2  alpha         1.7343        .13526        .45392E-03   -.31129    
   3  Normalizat    .95378        .16951        .23604E-03   -.94595    
   4  Prefactor     .92441        .19959        .28381E-03   -.95293    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18477e-15
Minuit parameter uncertainties:
  1  0.338165
  2  0.135336
  3  0.169604
  4  0.19975
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/59991': 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) = 7450.73790274
delta logL = 4.18731506215e-05

Extracting fit parameters...

4FGL J1104.4+3812
   Spectrum: LogParabola
334         norm:  1.930e+00  3.382e-01  0.000e+00  1.000e+06 ( 1.000e-11)
335        alpha:  1.734e+00  1.353e-01  0.000e+00  5.000e+00 ( 1.000e+00)
336         beta:  2.035e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
337           Eb:  1.264e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
655    Prefactor:  9.244e-01  1.998e-01  0.000e+00  1.000e+01 ( 1.000e+00)
656        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
657        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
654   Normalization:  9.538e-01  1.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 151.82
Ra Dec: 166.119 38.207
Photon Index (Free Index): 1.73 +/- 0.14
Photon Flux (Free Index): 2.00e-07 +/- 4.46e-08
Energy Flux (Free Index): 2.72e-04 +/- 8.45e-05

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/59991/cmap_HighResolution_700704001_700963201_4FGL_J1104.4+3812_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.00e-07', energy_flux2='2.72e-04', photon_flux_error='3.69e-08', dlogl='4.19e-05', energy_flux='2.71e-04', photon_flux2='2.00e-07', job_status='DONE', time_completed='2023-03-20 00:56:40.144006', photon_index_error2='0.14', photon_index2='1.73', ts='152.31', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='8.45e-05', EG='0.95', time_epoch_completed='1679299000.14', return_code='0', job_id='59991', GAL2='0.92', EG2='0.95', return_code2='0', energy_flux_error='4.99e-05', photon_flux_error2='4.46e-08', ts2='151.82', photon_index='1.74' WHERE bin_id='1780' AND source_name='4FGL J1104.4+3812' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:56:40 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 59991: <4FGL_J1104.4+3812_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1104.4+3812_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:40:17 2023
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:40:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:40:17 2023
Terminated at Mon Mar 20 00:56:40 2023
Results reported at Mon Mar 20 00:56:40 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1104.4+3812_daily_bin1780 166.119 38.207 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1104.4+3812 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   738.33 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             237.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   983 sec.
    Turnaround time :                            983 sec.

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

