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


Performing analysis on: 4FGL_J0844.2+5312_daily_bin1757
RA = 131.051, Dec = 53.2141
tmin = 694742401, tmax = 695001601
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='190434', job_status='RUN', time_executed='2023-01-10 00:33:21.397822', time_epoch_executed='1673339601.4' WHERE source_name='4FGL J0844.2+5312' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/190434

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/190434/ft1_4FGL_J0844.2+5312_daily_bin1757.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/190434/ft2_4FGL_J0844.2+5312_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/190434/ft1_4FGL_J0844.2+5312_daily_bin1757.fits outfile=/scratch/kocevski/190434/ft1_filteredMKT_4FGL_J0844.2+5312_daily_bin1757.fits ra=131.051 dec=53.2141 rad=12.0 tmin=694742401.0 tmax=695001601.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 2.92
user 2.69
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/190434/ft2_4FGL_J0844.2+5312_daily_bin1757.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/190434/ft2_4FGL_J0844.2+5312_daily_bin1757.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/190434/ft1_filteredMKT_4FGL_J0844.2+5312_daily_bin1757.fits evtable="EVENTS" outfile="/scratch/kocevski/190434/ft1_filtered_4FGL_J0844.2+5312_daily_bin1757.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.35
sys 0.15

Number of photons that the gtmktime cut: 181

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/190434/ft1_filtered_4FGL_J0844.2+5312_daily_bin1757.fits" evtable="EVENTS" scfile=/scratch/kocevski/190434/ft2_4FGL_J0844.2+5312_daily_bin1757.fits sctable="SC_DATA" outfile=/scratch/kocevski/190434/ltcube_694742401_695001601_4FGL_J0844.2+5312_daily_bin1757.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/190434/ft2_4FGL_J0844.2+5312_daily_bin1757.fits
.....................!
real 16.16
user 15.77
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/190434/ft1_filtered_4FGL_J0844.2+5312_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/190434/ft2_4FGL_J0844.2+5312_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/190434/ltcube_694742401_695001601_4FGL_J0844.2+5312_daily_bin1757.fits outfile=/scratch/kocevski/190434/expmap_694742401_695001601_4FGL_J0844.2+5312_daily_bin1757.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/190434/ltcube_694742401_695001601_4FGL_J0844.2+5312_daily_bin1757.fits
.....................!
real 192.90
user 186.63
sys 5.40

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

Setting source of interest to:
4FGL J0844.2+5312 @ 131.051 53.2141

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/190434/ft1_filtered_4FGL_J0844.2+5312_daily_bin1757.fits scfile=/scratch/kocevski/190434/ft2_4FGL_J0844.2+5312_daily_bin1757.fits outfile=/scratch/kocevski/190434/cmap_694742401_695001601_4FGL_J0844.2+5312_daily_bin1757.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=131.051 yref=53.2141 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/190434/ft1_filtered_4FGL_J0844.2+5312_daily_bin1757.fits scfile=/scratch/kocevski/190434/ft2_4FGL_J0844.2+5312_daily_bin1757.fits outfile=/scratch/kocevski/190434/cmap_HighResolution_694742401_695001601_4FGL_J0844.2+5312_daily_bin1757.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=131.051 yref=53.2141 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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/190434/ft1_filtered_4FGL_J0844.2+5312_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/190434/ft2_4FGL_J0844.2+5312_daily_bin1757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/190434/Model_4FGL_J0844.2+5312_daily_bin1757.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/190434/ft1_filtered_4FGL_J0844.2+5312_daily_bin1757.fits.....................!
real 29.88
user 28.58
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/190434/ft1_filtered_4FGL_J0844.2+5312_daily_bin1757.fits', '/scratch/kocevski/190434/ft2_4FGL_J0844.2+5312_daily_bin1757.fits', expMap='/scratch/kocevski/190434/expmap_694742401_695001601_4FGL_J0844.2+5312_daily_bin1757.fits', expCube='/scratch/kocevski/190434/ltcube_694742401_695001601_4FGL_J0844.2+5312_daily_bin1757.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/190434/Model_4FGL_J0844.2+5312_daily_bin1757.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0844.2+5312'

4FGL J0844.2+5312
   Spectrum: PowerLaw
340    Prefactor:  2.666e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
341        Index:  2.035e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  1.737e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/190434/ft1_filtered_4FGL_J0844.2+5312_daily_bin1757.fits
Spacecraft file(s): /scratch/kocevski/190434/ft2_4FGL_J0844.2+5312_daily_bin1757.fits
Exposure map: /scratch/kocevski/190434/expmap_694742401_695001601_4FGL_J0844.2+5312_daily_bin1757.fits
Exposure cube: /scratch/kocevski/190434/ltcube_694742401_695001601_4FGL_J0844.2+5312_daily_bin1757.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/190434/Model_4FGL_J0844.2+5312_daily_bin1757.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) = 1877.67809815

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.720       1.0000          .0000       .10000E+07
     2 'Prefactor '    .99994E+06   1.0000          .0000       .10000E+07
     3 'norm      '    6672.1       1.0000          .0000       .10000E+07
     4 'Prefactor '    38122.       1.0000          .0000       .10000E+07
     5 'norm      '    1.5928       1.0000          .0000       .10000E+07
     6 'Prefactor '    1519.0       1.0000          .0000       .10000E+07
     7 'norm      '    .14639E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13453E-01   1.0000          .0000       .10000E+07
     9 'norm      '    13.759       1.0000          .0000       .10000E+07
    10 'norm      '    .85003E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .46246E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .88032E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .41049E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .13923E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    4.6805       1.0000          .0000       .10000E+07
    16 'Prefactor '    .30510E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .27138E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .84167E-04   1.0000          .0000       .10000E+07
    19 'norm      '    .53663E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    .17823E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .11250E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .64699E-03   1.0000          .0000       .10000E+07
    23 'norm      '    2.7017       1.0000          .0000       .10000E+07
    24 'Prefactor '    2.6675       1.0000          .0000       .10000E+07
    25 'Prefactor '    .66956E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    1.9637       1.0000          .0000       .10000E+07
    27 'Prefactor '    .47689E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    .24171E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    2.9766       1.0000          .0000       .10000E+07
    30 'norm      '    10.058       1.0000          .0000       .10000E+07
    31 'Prefactor '    29.990       1.0000          .0000       .10000E+07
    32 'norm      '    .94823       1.0000          .0000       .10000E+07
    33 'Prefactor '    .23260E-02   1.0000          .0000       .10000E+07
    34 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    35 'Prefactor '    .55086       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1877.643     FROM MIGRAD    STATUS=CONVERGED    324 CALLS     4675 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8271        5494.7        .46767E-04   -.17843    
   2  Prefactor     .99998E+06    1324.3       -.21913E-04   -.20670    
   3  norm          6712.7        398.42       -.14522E-05   -2.1313    
   4  Prefactor     38122.        4.4462       -.69046E-08   -.27681E-01
   5  norm          .66613E-09    835.68       -.74407E-06** at limit **
   6  Prefactor     1530.7        114.90       -.88248E-06   -.34872    
   7  norm           .0000        1.9994       -.72127E-08** at limit **
   8  Prefactor     .68305E-05    1252.0        .11341E-04** at limit **
   9  norm          13.251        37.262       -.50051E-06   -.43972E-03
  10  norm           .0000        13.355       -.18369E-08** at limit **
  11  Prefactor      .0000        .37442        .66431E-08** at limit **
  12  Prefactor      .0000        18.187       -.66491E-09** at limit **
  13  norm           .0000        5.5292        .37147E-07** at limit **
  14  Prefactor      .0000        10.361       -.24583E-07** at limit **
  15  Prefactor     5.3429        2101.0       -.19950E-04   -.21078E-01
  16  Prefactor      .0000        50.636       -.17225E-06** at limit **
  17  Prefactor      .0000        6.0107        .84821E-08** at limit **
  18  norm           .0000        6.3527        .13111E-07** at limit **
  19  norm           .0000        4.6574        .14515E-07** at limit **
  20  Prefactor      .0000        5.7697       -.32962E-07** at limit **
  21  Prefactor      .0000        10.196        .11537E-07** at limit **
  22  norm          .10547E-08    6.2635        .45056E-06** at limit **
  23  norm          2.7007        .94698        .40950E-10   -.73080E-03
  24  Prefactor     2.6680        4.6475       -.36674E-06   -.48776E-02
  25  Prefactor      .0000        42.771        .85855E-07** at limit **
  26  Prefactor     1.9861        3.8740       -.21771E-07   -.30047E-03
  27  Prefactor      .0000        15.406       -.79348E-08** at limit **
  28  Prefactor      .0000        8.2308       -.14314E-07** at limit **
  29  Prefactor     2.9131        6.7310       -.95012E-09   -.16868E-03
  30  norm          9.8767        12.087        .46048E-07   -.12501E-03
  31  Prefactor     31.167        37.245       -.24895E-06   -.72561E-03
  32  norm          .94733        .49586       -.42137E-09   -.86612E-03
  33  Prefactor      .0000        16.608        .48070E-07** at limit **
  34  Normalizat    .10000E-01    .39086E-01   -.84508E-06** at limit **
  35  Prefactor     .54963        .14241        .14472E-05   -.61188E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.82712
  Prefactor  = 999984
  norm       = 6712.72
  Prefactor  = 38122.1
  norm       = 6.66134e-10
  Prefactor  = 1530.66
  norm       = 0
  Prefactor  = 6.83048e-06
  norm       = 13.2507
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 5.34288
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.05471e-09
  norm       = 2.70073
  Prefactor  = 2.66798
  Prefactor  = 0
  Prefactor  = 1.98607
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.91311
  norm       = 9.87668
  Prefactor  = 31.1667
  norm       = 0.947327
  Prefactor  = 0
  Normalizat = 0.01
  Prefactor  = 0.549634
 **********
 **   18 **HESSE 
 **********

 FCN=   1877.643     FROM HESSE     STATUS=OK           834 CALLS     5509 TOTAL
                     EDM=   .79E-02    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8271        6749.1        .19349E-03   -1.5756    
   2  Prefactor     .99998E+06    9762.2        .12879E-03    1.5627    
   3  norm          6712.7        2781.9        .12283E-04   -1.4068    
   4  Prefactor     38122.        67771.        .56161E-05   -1.1778    
   5  norm          .66613E-09    830.41        .84027E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1530.7        3049.9        .25678E-04   -1.4925    
   7  norm           .0000        1.9971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .68305E-05    1251.6        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          13.251        37.914        .26978E-03   -1.5635    
  10  norm           .0000        13.361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        .37507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        18.183        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        5.5297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        10.351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.3429        2379.0        .46492E-03   -1.5662    
  16  Prefactor      .0000        50.498        .16424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        6.0091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        6.3544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        4.6549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        5.7691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        10.187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10547E-08    .99388        .24970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.7007        .94614        .53924E-03   -1.5675    
  24  Prefactor     2.6680        5.6974        .62376E-03   -1.5675    
  25  Prefactor      .0000        42.487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.9861        3.9304        .73986E-03   -1.5680    
  27  Prefactor      .0000        15.417        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor      .0000        8.2110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     2.9131        6.8364        .58823E-03   -1.5674    
  30  norm          9.8767        12.089        .31570E-03   -1.5645    
  31  Prefactor     31.167        37.330        .18263E-03   -1.5596    
  32  norm          .94733        .49539        .42481E-03   -1.5688    
  33  Prefactor      .0000        16.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .10000E-01    .38566E-01    .11937       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Prefactor     .54963        .14876        .40380E-01   -1.0975    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.00785657
Minuit parameter uncertainties:
  1  397.074
  2  801.409
  3  2782.46
  4  69271.8
  5  0.00146596
  6  3053.03
  7  7.88361e-07
  8  0.184963
  9  37.9143
  10  2.22291e-06
  11  3.05113e-07
  12  6.34871e-06
  13  4.18325e-06
  14  3.37623e-07
  15  225.573
  16  6.60139e-05
  17  1.47548e-06
  18  2.0878e-06
  19  2.62198e-06
  20  5.37817e-06
  21  1.15405e-06
  22  6.4404e-05
  23  0.946144
  24  5.69745
  25  5.66645e-05
  26  3.93045
  27  2.69953e-06
  28  1.99027e-06
  29  6.83642
  30  12.0894
  31  37.3305
  32  0.495394
  33  2.47803e-05
  34  4.09495e-08
  35  0.148868
Done.

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

Extracting fit parameters...

4FGL J0844.2+5312
   Spectrum: PowerLaw
340    Prefactor:  0.000e+00  1.475e-06  0.000e+00  1.000e+06 ( 1.000e-13)
341        Index:  2.035e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  1.737e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
702    Prefactor:  5.496e-01  1.489e-01  0.000e+00  1.000e+01 ( 1.000e+00)
703        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
704        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
701   Normalization:  1.000e-02  4.095e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 131.051 53.214
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/190434/likelihoodResults_694742401_695001601_4FGL_J0844.2+5312_daily_bin1757.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) = 1877.65617335
delta logL = -0.0135029165128

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1877.64267081
delta logL = -3.78456888939e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1877.643     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      267 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .61742        .42118E-03** at limit **
   2  Index         .60289        5.2547        .50000       -.48885E-10
   3  Normalizat    .10000E-01    .14402E-04    .11937    ** at limit **
   4  Prefactor     .54963        .24215E-02    .40363E-01    .11382E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 0.602889
  Normalizat = 0.01
  Prefactor  = 0.549635
 **********
 **   18 **HESSE 
 **********

 FCN=   1877.643     FROM HESSE     STATUS=NOT POSDEF    25 CALLS      292 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    3.4397        .75451E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .60289        7.4880        .50000       -1.0746    
   3  Normalizat    .10000E-01    .84356E-04    .51588E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .54963        .57172E-02    .22826E-03   -1.0975    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.13996e-11
Minuit parameter uncertainties:
  1  3.32547e-05
  2  210598
  3  1.55744e-08
  4  0.00571718
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/190434': 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) = 1877.64267044
delta logL = -2.13731254917e-11

Extracting fit parameters...

4FGL J0844.2+5312
   Spectrum: PowerLaw
340    Prefactor:  5.551e-11  3.325e-05  0.000e+00  1.000e+06 ( 1.000e-13)
341        Index:  6.029e-01  2.106e+05  0.000e+00  1.000e+01 (-1.000e+00)
342        Scale:  1.737e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
702    Prefactor:  5.496e-01  5.717e-03  0.000e+00  1.000e+01 ( 1.000e+00)
703        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
704        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
701   Normalization:  1.000e-02  1.557e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 131.051 53.214

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/190434/cmap_HighResolution_694742401_695001601_4FGL_J0844.2+5312_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.94e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2023-01-10 00:43:03.702961', job_id='190434', GAL2='0.55', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1673340183.7', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.55', dlogl='-2.14e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1757' AND source_name='4FGL J0844.2+5312' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 00:43:03 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 190434: <4FGL_J0844.2+5312_daily_bin1757> in cluster <slac> Done

Job <4FGL_J0844.2+5312_daily_bin1757> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jan 10 00:30:22 2023
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 00:32:48 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 00:32:48 2023
Terminated at Tue Jan 10 00:43:04 2023
Results reported at Tue Jan 10 00:43:04 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0844.2+5312_daily_bin1757 131.051 53.2141 694742401 695001601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0844.2+5312 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   583.46 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             311.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   616 sec.
    Turnaround time :                            762 sec.

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

