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 202 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7719
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0844.2+5312_daily_bin1751
RA = 131.051, Dec = 53.2141
tmin = 693187201, tmax = 693446401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='73767', job_status='RUN', time_executed='2022-12-23 00:28:51.775418', time_epoch_executed='1671784131.78' WHERE source_name='4FGL J0844.2+5312' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/73767

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/73767/ft1_4FGL_J0844.2+5312_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/73767/ft2_4FGL_J0844.2+5312_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/73767/ft1_4FGL_J0844.2+5312_daily_bin1751.fits outfile=/scratch/kocevski/73767/ft1_filteredMKT_4FGL_J0844.2+5312_daily_bin1751.fits ra=131.051 dec=53.2141 rad=12.0 tmin=693187201.0 tmax=693446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.80
user 2.57
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/73767/ft2_4FGL_J0844.2+5312_daily_bin1751.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/73767/ft1_filteredMKT_4FGL_J0844.2+5312_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/73767/ft1_filtered_4FGL_J0844.2+5312_daily_bin1751.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.41
user 0.25
sys 0.15

Number of photons that the gtmktime cut: 758

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/73767/ft1_filtered_4FGL_J0844.2+5312_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/73767/ft2_4FGL_J0844.2+5312_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/73767/ltcube_693187201_693446401_4FGL_J0844.2+5312_daily_bin1751.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/73767/ft2_4FGL_J0844.2+5312_daily_bin1751.fits
.....................!
real 9.14
user 8.84
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/73767/ft1_filtered_4FGL_J0844.2+5312_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/73767/ft2_4FGL_J0844.2+5312_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/73767/ltcube_693187201_693446401_4FGL_J0844.2+5312_daily_bin1751.fits outfile=/scratch/kocevski/73767/expmap_693187201_693446401_4FGL_J0844.2+5312_daily_bin1751.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/73767/ltcube_693187201_693446401_4FGL_J0844.2+5312_daily_bin1751.fits
.....................!
real 145.77
user 141.41
sys 4.13

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/73767/ft1_filtered_4FGL_J0844.2+5312_daily_bin1751.fits scfile=/scratch/kocevski/73767/ft2_4FGL_J0844.2+5312_daily_bin1751.fits outfile=/scratch/kocevski/73767/cmap_693187201_693446401_4FGL_J0844.2+5312_daily_bin1751.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.45
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/73767/ft1_filtered_4FGL_J0844.2+5312_daily_bin1751.fits scfile=/scratch/kocevski/73767/ft2_4FGL_J0844.2+5312_daily_bin1751.fits outfile=/scratch/kocevski/73767/cmap_HighResolution_693187201_693446401_4FGL_J0844.2+5312_daily_bin1751.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.44
user 0.29
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/73767/ft1_filtered_4FGL_J0844.2+5312_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/73767/ft2_4FGL_J0844.2+5312_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/73767/Model_4FGL_J0844.2+5312_daily_bin1751.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/73767/ft1_filtered_4FGL_J0844.2+5312_daily_bin1751.fits.....................!
real 57.96
user 56.84
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/73767/ft1_filtered_4FGL_J0844.2+5312_daily_bin1751.fits', '/scratch/kocevski/73767/ft2_4FGL_J0844.2+5312_daily_bin1751.fits', expMap='/scratch/kocevski/73767/expmap_693187201_693446401_4FGL_J0844.2+5312_daily_bin1751.fits', expCube='/scratch/kocevski/73767/ltcube_693187201_693446401_4FGL_J0844.2+5312_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/73767/Model_4FGL_J0844.2+5312_daily_bin1751.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/73767/ft1_filtered_4FGL_J0844.2+5312_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/73767/ft2_4FGL_J0844.2+5312_daily_bin1751.fits
Exposure map: /scratch/kocevski/73767/expmap_693187201_693446401_4FGL_J0844.2+5312_daily_bin1751.fits
Exposure cube: /scratch/kocevski/73767/ltcube_693187201_693446401_4FGL_J0844.2+5312_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/73767/Model_4FGL_J0844.2+5312_daily_bin1751.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 8076.38174485

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.560       1.0000          .0000       .10000E+07
     2 'Prefactor '    .17081E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .31443       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.456       1.0000          .0000       .10000E+07
     5 'norm      '    4.6422       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13806E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .29776       1.0000          .0000       .10000E+07
     8 'Prefactor '    .25195E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .63537E-04   1.0000          .0000       .10000E+07
    10 'norm      '    5.5134       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.5296       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.3941       1.0000          .0000       .10000E+07
    13 'norm      '    .39111       1.0000          .0000       .10000E+07
    14 'Prefactor '    .44663E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    9.8286       1.0000          .0000       .10000E+07
    16 'Prefactor '    .54956E-08   1.0000          .0000       .10000E+07
    17 'Prefactor '    .96756E-07   1.0000          .0000       .10000E+07
    18 'norm      '    .25499E-04   1.0000          .0000       .10000E+07
    19 'norm      '    5.4228       1.0000          .0000       .10000E+07
    20 'Prefactor '    7.9079       1.0000          .0000       .10000E+07
    21 'Prefactor '    3.0959       1.0000          .0000       .10000E+07
    22 'norm      '    .39537       1.0000          .0000       .10000E+07
    23 'norm      '    1.3163       1.0000          .0000       .10000E+07
    24 'Prefactor '    .11789E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    .96989E-03   1.0000          .0000       .10000E+07
    26 'Prefactor '    .17597E-07   1.0000          .0000       .10000E+07
    27 'Prefactor '    18.206       1.0000          .0000       .10000E+07
    28 'Prefactor '    .21536E-04   1.0000          .0000       .10000E+07
    29 'Prefactor '    12.326       1.0000          .0000       .10000E+07
    30 'norm      '    .10126E-03   1.0000          .0000       .10000E+07
    31 'Prefactor '    17.128       1.0000          .0000       .10000E+07
    32 'norm      '    1.5445       1.0000          .0000       .10000E+07
    33 'Prefactor '    2.3659       1.0000          .0000       .10000E+07
    34 'Normalizat'    .97678       1.0000         .10000E-01   10.000    
    35 'Prefactor '    1.0421       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=   8073.654     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     2081 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.642        3.0675       -.53729E-07   -.57023E-01
   2  Prefactor     .16653E-09    21.313       -.11010E-06** at limit **
   3  norm          .31405        .67381        .57547E-07    .26814E-02
   4  Prefactor     12.555        4.0182        .14862E-07    .96045E-01
   5  norm          4.6343        2.9841       -.65844E-08   -.45342E-02
   6  Prefactor     .21372E-07    2.3112        .72716E-07** at limit **
   7  norm          .28867        5.0318        .27153E-06    .21221E-02
   8  Prefactor     .55511E-10    18.472        .40698E-07** at limit **
   9  norm           .0000        2.1398        .54835E-07** at limit **
  10  norm          5.5127        2.0548        .68037E-08    .11409E-02
  11  Prefactor     1.5315        1.5623       -.90378E-07   -.24757E-02
  12  Prefactor     3.5433        2.2441        .56794E-09   -.42116E-02
  13  norm          .39134        .34724        .18172E-07    .46939E-02
  14  Prefactor     .84932E-08    4.7768        .81103E-07** at limit **
  15  Prefactor     9.7342        1.3143        .77964E-08    .94737E-02
  16  Prefactor     .10658E-07    2.7191        .94543E-07** at limit **
  17  Prefactor      .0000        1.7129        .17230E-07** at limit **
  18  norm          .47296E-07    2.7376        .90922E-07** at limit **
  19  norm          5.4290        4.3449       -.24101E-07   -.63661E-03
  20  Prefactor     7.9239        1.9127       -.98844E-08    .17036E-01
  21  Prefactor     3.1006        2.0575        .21194E-08    .19204E-01
  22  norm          .39534        .35322       -.22035E-07   -.26765E-02
  23  norm          1.3166        .83531       -.27833E-07   -.32636E-02
  24  Prefactor     .27228E-06    52.022       -.12851E-05** at limit **
  25  Prefactor     .38858E-09    7.9428        .16213E-06** at limit **
  26  Prefactor      .0000        .83372       -.57855E-07** at limit **
  27  Prefactor     18.060        1.5170       -.21609E-09   -.93204E-02
  28  Prefactor     .52847E-07    22.465        .25656E-06** at limit **
  29  Prefactor     12.430        6.3073        .24514E-07    .41242E-01
  30  norm          .11102E-09    2.1974        .11008E-06** at limit **
  31  Prefactor     17.177        1.3702       -.83088E-08   -.25214E-01
  32  norm          1.5445        .50970       -.35422E-08   -.78345E-03
  33  Prefactor     2.3556        4.3444        .55698E-07   -.30086E-02
  34  Normalizat    .97638        .18276        .10239E-05    .46215E-04
  35  Prefactor     1.0420        .15937       -.53740E-06    .43670E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.6422
  Prefactor  = 1.66533e-10
  norm       = 0.314052
  Prefactor  = 12.5547
  norm       = 4.63425
  Prefactor  = 2.13718e-08
  norm       = 0.288675
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 5.51272
  Prefactor  = 1.53152
  Prefactor  = 3.54332
  norm       = 0.391342
  Prefactor  = 8.49321e-09
  Prefactor  = 9.73424
  Prefactor  = 1.06581e-08
  Prefactor  = 0
  norm       = 4.72955e-08
  norm       = 5.42895
  Prefactor  = 7.92386
  Prefactor  = 3.10061
  norm       = 0.395337
  norm       = 1.31661
  Prefactor  = 2.72282e-07
  Prefactor  = 3.88578e-10
  Prefactor  = 0
  Prefactor  = 18.06
  Prefactor  = 5.28466e-08
  Prefactor  = 12.4303
  norm       = 1.11022e-10
  Prefactor  = 17.1768
  norm       = 1.5445
  Prefactor  = 2.35562
  Normalizat = 0.976376
  Prefactor  = 1.04204
 **********
 **   18 **HESSE 
 **********

 FCN=   8073.654     FROM HESSE     STATUS=OK           856 CALLS     2937 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.642        23.318        .22618E-03   -1.5619    
   2  Prefactor     .16653E-09    21.108        .17237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .31405        .69749        .10016E-02   -1.5697    
   4  Prefactor     12.555        14.871        .28358E-03   -1.5637    
   5  norm          4.6343        3.1965        .46688E-03   -1.5665    
   6  Prefactor     .21372E-07    3.6341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .28867        1.1956        .53973E-02   -1.5697    
   8  Prefactor     .55511E-10    18.408        .16716E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        4.1301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.5127        2.0598        .42766E-03   -1.5661    
  11  Prefactor     1.5315        1.5816        .86275E-03   -1.5683    
  12  Prefactor     3.5433        8.7593        .54893E-03   -1.5670    
  13  norm          .39134        .33775        .90524E-03   -1.5695    
  14  Prefactor     .84932E-08    4.7965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.7342        19.220        .31939E-03   -1.5646    
  16  Prefactor     .10658E-07    2.9698        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.7199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .47296E-07    3.2700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.4290        4.3660        .43128E-03   -1.5661    
  20  Prefactor     7.9239        7.4950        .35632E-03   -1.5652    
  21  Prefactor     3.1006        14.430        .57611E-03   -1.5673    
  22  norm          .39534        .38780        .90025E-03   -1.5695    
  23  norm          1.3166        .84775        .95954E-03   -1.5685    
  24  Prefactor     .27228E-06    2.4850        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .38858E-09    7.9476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        .83575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     18.060        18.236        .23446E-03   -1.5623    
  28  Prefactor     .52847E-07    22.467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     12.430        6.7458        .28507E-03   -1.5637    
  30  norm          .11102E-09    2.2068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     17.177        16.763        .24173E-03   -1.5625    
  32  norm          1.5445        .51171        .81279E-03   -1.5683    
  33  Prefactor     2.3556        4.3989        .66592E-03   -1.5677    
  34  Normalizat    .97638        .17165        .45875E-01   -.93826    
  35  Prefactor     1.0420        .14297        .40395E-01   -.91341    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.57049e-07
Minuit parameter uncertainties:
  1  23.3181
  2  0.000113558
  3  0.697494
  4  14.871
  5  3.19647
  6  0.000557459
  7  1.17499
  8  4.62681e-05
  9  1.5897e-05
  10  2.05981
  11  1.58159
  12  8.7593
  13  0.337746
  14  0.000404309
  15  19.2206
  16  0.000355442
  17  1.37446e-05
  18  0.000786698
  19  4.36597
  20  7.49498
  21  13.3777
  22  0.387802
  23  0.847754
  24  0.00164519
  25  0.000114582
  26  4.44403e-06
  27  18.2357
  28  0.00217956
  29  6.74576
  30  3.25812e-05
  31  16.7631
  32  0.511711
  33  4.39895
  34  0.17175
  35  0.143026
Done.

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

Extracting fit parameters...

4FGL J0844.2+5312
   Spectrum: PowerLaw
340    Prefactor:  0.000e+00  1.374e-05  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:  1.042e+00  1.430e-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:  9.764e-01  1.718e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/73767/likelihoodResults_693187201_693446401_4FGL_J0844.2+5312_daily_bin1751.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8073.65465408
delta logL = -0.000593526237026

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8073.65406074
delta logL = -1.86401848623e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66280E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .83216       1.0000          .0000       10.000    
     3 'Normalizat'    .97629       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0421       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8073.654     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      221 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.0603        .42118E-03** at limit **
   2  Index         1.6920        1.6015       -.61485E-04     .0000    
   3  Normalizat    .97638        1.3075       -.36559E-04   -.50607E-04
   4  Prefactor     1.0420        1.2009       -.22688E-04   -.40810E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.69204
  Normalizat = 0.976375
  Prefactor  = 1.04204
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8073.654     FROM HESSE     STATUS=FAILED         9 CALLS      230 TOTAL
                     EDM=   .30E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.0603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .28266        1.7264       -.61485E-04   -.72294    
   3  Normalizat    .97638        1.3075       -.36559E-04   -.93826    
   4  Prefactor     1.0420        1.2009       -.22688E-04   -.91341    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.03616e-12
Minuit parameter uncertainties:
  1  5.69658e-06
  2  1.65474
  3  1.35452
  4  1.23415
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/73767': 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) = 8073.65406056
delta logL = 0.0

Extracting fit parameters...

4FGL J0844.2+5312
   Spectrum: PowerLaw
340    Prefactor:  0.000e+00  5.697e-06  0.000e+00  1.000e+06 ( 1.000e-13)
341        Index:  1.692e+00  1.655e+00  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:  1.042e+00  1.234e+00  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:  9.764e-01  1.355e+00  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/73767/cmap_HighResolution_693187201_693446401_4FGL_J0844.2+5312_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.27e-03', job_status='DONE', photon_flux_upper_limit='3.01e-08', time_completed='2022-12-23 00:40:58.662152', job_id='73767', GAL2='1.04', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1671784858.66', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='1751' AND source_name='4FGL J0844.2+5312' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:40:58 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 73767: <4FGL_J0844.2+5312_daily_bin1751> in cluster <slac> Done

Job <4FGL_J0844.2+5312_daily_bin1751> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Dec 23 00:25:22 2022
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:25:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:25:23 2022
Terminated at Fri Dec 23 00:40:59 2022
Results reported at Fri Dec 23 00:40:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0844.2+5312_daily_bin1751 131.051 53.2141 693187201 693446401 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 :                                   727.38 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             313.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            937 sec.

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

