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


Performing analysis on: 4FGL_J0920.9+4441_daily_bin1772
RA = 140.229, Dec = 44.699
tmin = 698630401, tmax = 698889601
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='625353', job_status='RUN', time_executed='2023-02-24 01:10:37.333859', time_epoch_executed='1677229837.33' WHERE source_name='4FGL J0920.9+4441' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/625353

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/625353/ft1_4FGL_J0920.9+4441_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/625353/ft2_4FGL_J0920.9+4441_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/625353/ft1_4FGL_J0920.9+4441_daily_bin1772.fits outfile=/scratch/kocevski/625353/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin1772.fits ra=140.229 dec=44.699 rad=12.0 tmin=698630401.0 tmax=698889601.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.05
user 2.79
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/625353/ft2_4FGL_J0920.9+4441_daily_bin1772.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/625353/ft2_4FGL_J0920.9+4441_daily_bin1772.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/625353/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin1772.fits evtable="EVENTS" outfile="/scratch/kocevski/625353/ft1_filtered_4FGL_J0920.9+4441_daily_bin1772.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.33
sys 0.15

Number of photons that the gtmktime cut: 84

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/625353/ft1_filtered_4FGL_J0920.9+4441_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/625353/ft2_4FGL_J0920.9+4441_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/625353/ltcube_698630401_698889601_4FGL_J0920.9+4441_daily_bin1772.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/625353/ft2_4FGL_J0920.9+4441_daily_bin1772.fits
.....................!
real 13.26
user 12.84
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/625353/ft1_filtered_4FGL_J0920.9+4441_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/625353/ft2_4FGL_J0920.9+4441_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/625353/ltcube_698630401_698889601_4FGL_J0920.9+4441_daily_bin1772.fits outfile=/scratch/kocevski/625353/expmap_698630401_698889601_4FGL_J0920.9+4441_daily_bin1772.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/625353/ltcube_698630401_698889601_4FGL_J0920.9+4441_daily_bin1772.fits
.....................!
real 190.83
user 185.82
sys 4.23

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

Setting source of interest to:
4FGL J0920.9+4441 @ 140.229 44.699

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/625353/ft1_filtered_4FGL_J0920.9+4441_daily_bin1772.fits scfile=/scratch/kocevski/625353/ft2_4FGL_J0920.9+4441_daily_bin1772.fits outfile=/scratch/kocevski/625353/cmap_698630401_698889601_4FGL_J0920.9+4441_daily_bin1772.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=140.229 yref=44.699 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/625353/ft1_filtered_4FGL_J0920.9+4441_daily_bin1772.fits scfile=/scratch/kocevski/625353/ft2_4FGL_J0920.9+4441_daily_bin1772.fits outfile=/scratch/kocevski/625353/cmap_HighResolution_698630401_698889601_4FGL_J0920.9+4441_daily_bin1772.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=140.229 yref=44.699 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/625353/ft1_filtered_4FGL_J0920.9+4441_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/625353/ft2_4FGL_J0920.9+4441_daily_bin1772.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/625353/Model_4FGL_J0920.9+4441_daily_bin1772.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/625353/ft1_filtered_4FGL_J0920.9+4441_daily_bin1772.fits.....................!
real 22.46
user 21.15
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/625353/ft1_filtered_4FGL_J0920.9+4441_daily_bin1772.fits', '/scratch/kocevski/625353/ft2_4FGL_J0920.9+4441_daily_bin1772.fits', expMap='/scratch/kocevski/625353/expmap_698630401_698889601_4FGL_J0920.9+4441_daily_bin1772.fits', expCube='/scratch/kocevski/625353/ltcube_698630401_698889601_4FGL_J0920.9+4441_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/625353/Model_4FGL_J0920.9+4441_daily_bin1772.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0920.9+4441'

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  1.124e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
317        alpha:  2.267e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  1.363e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  8.119e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/625353/ft1_filtered_4FGL_J0920.9+4441_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/625353/ft2_4FGL_J0920.9+4441_daily_bin1772.fits
Exposure map: /scratch/kocevski/625353/expmap_698630401_698889601_4FGL_J0920.9+4441_daily_bin1772.fits
Exposure cube: /scratch/kocevski/625353/ltcube_698630401_698889601_4FGL_J0920.9+4441_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/625353/Model_4FGL_J0920.9+4441_daily_bin1772.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) = 978.645999073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4050       1.0000          .0000       .10000E+07
     2 'Prefactor '    .24757E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.0239       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.3641       1.0000          .0000       .10000E+07
     5 'Prefactor '    18.453       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.4044       1.0000          .0000       .10000E+07
     7 'norm      '    .11203E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .21217E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10994E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .74640       1.0000          .0000       .10000E+07
    11 'Prefactor '    .27065       1.0000          .0000       .10000E+07
    12 'Prefactor '    .38935E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    89.116       1.0000          .0000       .10000E+07
    14 'norm      '    3.5722       1.0000          .0000       .10000E+07
    15 'Prefactor '    .91763E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .23240E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .85472E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .33390E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .77461E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .96232E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .61221       1.0000          .0000       .10000E+07
    22 'Prefactor '    .78958       1.0000          .0000       .10000E+07
    23 'Prefactor '    .48300E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .14942E-01   1.0000          .0000       .10000E+07
    25 'norm      '    .38399       1.0000          .0000       .10000E+07
    26 'Prefactor '    .12633E-03   1.0000          .0000       .10000E+07
    27 'norm      '    .77134E-04   1.0000          .0000       .10000E+07
    28 'Normalizat'    1.1349       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .74440       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   978.6430     FROM MIGRAD    STATUS=CONVERGED    215 CALLS     2706 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4046        1.2244        .41961E-06   -.10783E-03
   2  Prefactor     .92094E-05    21.547       -.81689E-05** at limit **
   3  Prefactor     4.1140        9.4833       -.48313E-06   -.69848E-03
   4  Prefactor     4.1758        4.5135       -.22510E-05    .11250E-01
   5  Prefactor     18.253        4.8180        .95450E-06    .91239E-02
   6  Prefactor     4.4410        8.6323       -.72956E-06   -.30255E-03
   7  norm           .0000        6.1462       -.79258E-06** at limit **
   8  norm           .0000        4.4429        .51781E-06** at limit **
   9  Prefactor      .0000        9.4076       -.20756E-05** at limit **
  10  Prefactor     .14406E-03    183.21       -.16416E-04** at limit **
  11  Prefactor     .67651E-06    88.192        .76247E-05** at limit **
  12  Prefactor      .0000        5.1255       -.11408E-05** at limit **
  13  Prefactor     87.686        33.321       -.32534E-05    .97579E-01
  14  norm          3.5799        2.2738        .17779E-06   -.18473E-03
  15  Prefactor     .35805E-07    20.631       -.93308E-06** at limit **
  16  norm          .46071E-05    60.670        .87872E-06** at limit **
  17  Prefactor      .0000        6.0720       -.75534E-06** at limit **
  18  Prefactor     .77716E-08    11.968        .28333E-05** at limit **
  19  Prefactor     .22204E-09    9.6633       -.18409E-05** at limit **
  20  Prefactor     .73869E-05    28.640        .91103E-06** at limit **
  21  norm          .11514E-03    129.76       -.13707E-04** at limit **
  22  Prefactor     .45232E-05    296.85       -.25329E-04** at limit **
  23  Prefactor     .21205E-07    12.410        .68319E-06** at limit **
  24  Prefactor      .0000        3.4505        .22054E-05** at limit **
  25  norm          .21302E-04    26.544        .60261E-05** at limit **
  26  Prefactor     .10592E-06    22.683       -.47418E-06** at limit **
  27  norm          .39080E-05    132.28        .64122E-05** at limit **
  28  Normalizat    1.1371        .52225       -.89706E-06   -.15285E-05
  29  Prefactor     .74426        .45634        .14255E-04   -.47722E-07
                               ERR DEF=  .500    
Final values: 
  norm       = 1.4046
  Prefactor  = 9.20941e-06
  Prefactor  = 4.11404
  Prefactor  = 4.17577
  Prefactor  = 18.2527
  Prefactor  = 4.441
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0.000144059
  Prefactor  = 6.76514e-07
  Prefactor  = 0
  Prefactor  = 87.6863
  norm       = 3.57993
  Prefactor  = 3.58047e-08
  norm       = 4.60709e-06
  Prefactor  = 0
  Prefactor  = 7.77156e-09
  Prefactor  = 2.22045e-10
  Prefactor  = 7.38687e-06
  norm       = 0.000115144
  Prefactor  = 4.52316e-06
  Prefactor  = 2.12053e-08
  Prefactor  = 0
  norm       = 2.13022e-05
  Prefactor  = 1.05915e-07
  norm       = 3.90804e-06
  Normalizat = 1.13711
  Prefactor  = 0.744263
 **********
 **   18 **HESSE 
 **********

 FCN=   978.6430     FROM HESSE     STATUS=OK           595 CALLS     3301 TOTAL
                     EDM=   .36E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4046        1.2380        .69745E-03   -1.5684    
   2  Prefactor     .92094E-05    31.596        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.1140        10.778        .50247E-03   -1.5667    
   4  Prefactor     4.1758        3050.6        .48191E-03   -1.5667    
   5  Prefactor     18.253        84.477        .23288E-03   -1.5623    
   6  Prefactor     4.4410        8.6477        .47964E-03   -1.5666    
   7  norm           .0000        6.1443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        4.4449        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        9.4079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .14406E-03    562.77        .57019E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .67651E-06    88.653        .10633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        5.1270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     87.686        95.321        .10594E-03   -1.5521    
  14  norm          3.5799        2.2750        .53446E-03   -1.5670    
  15  Prefactor     .35805E-07    20.741        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .46071E-05    64.488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        6.0720        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .77716E-08    11.980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .22204E-09    9.6544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .73869E-05    35.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .11514E-03    232.06        .68142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .45232E-05    532.34        .53715E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .21205E-07    12.429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        957.35        .17395E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .21302E-04    118.34        .91366E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10592E-06    27.303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .39080E-05    142.20        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.1371        .45875        .56832E-01   -.88569    
  29  Prefactor     .74426        .39636        .42989E-01   -1.0182    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60722e-06
Minuit parameter uncertainties:
  1  1.23801
  2  0.0341165
  3  10.7781
  4  225.847
  5  78.5365
  6  8.64776
  7  8.90861e-06
  8  1.84082e-05
  9  1.31242e-05
  10  0.569518
  11  0.0154892
  12  9.13535e-06
  13  95.3223
  14  2.27496
  15  0.00172373
  16  0.0344736
  17  1.03471e-05
  18  0.000609627
  19  9.18851e-05
  20  0.0321823
  21  0.326939
  22  0.0981488
  23  0.00102634
  24  0.00011014
  25  0.100418
  26  0.00340142
  27  0.047148
  28  0.460379
  29  0.397886
Done.

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

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  3.580e+00  2.275e+00  0.000e+00  1.000e+06 ( 1.000e-11)
317        alpha:  2.267e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  1.363e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  8.119e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
681    Prefactor:  7.443e-01  3.979e-01  0.000e+00  1.000e+01 ( 1.000e+00)
682        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
683        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
680   Normalization:  1.137e+00  4.604e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.65
Ra Dec: 140.229 44.699
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.42e-07 +/- 1.54e-07
Energy Flux (Fixed Index): 9.28e-05 +/- 5.90e-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) = 978.6415528
delta logL = 0.00140063527283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 978.641189492
delta logL = 0.0017639433687

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   978.6412     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      195 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5172        8.3069        .53881E-03   -.67678E-02
   2  alpha         2.3108        2.0374        .17889       -.60191E-05
   3  Normalizat    1.1332        .46806        .56909E-01    .18131E-04
   4  Prefactor     .74632        .39963        .43015E-01   -.90725E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.51716
  alpha      = 2.31078
  Normalizat = 1.13318
  Prefactor  = 0.746323
 **********
 **   18 **HESSE 
 **********

 FCN=   978.6412     FROM HESSE     STATUS=OK            31 CALLS      226 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5172        2.5057        .35932E-05   -1.5670    
   2  alpha         2.3108        .72926        .76668E-02   -.75759E-01
   3  Normalizat    1.1332        .51835        .25166E-03   -.88694    
   4  Prefactor     .74632        .45274        .26638E-03   -1.0174    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.91414e-11
Minuit parameter uncertainties:
  1  2.50569
  2  0.74008
  3  0.520711
  4  0.455012
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/625353': 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) = 978.641189491
delta logL = 0.0017639447135

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  3.517e+00  2.506e+00  0.000e+00  1.000e+06 ( 1.000e-11)
317        alpha:  2.311e+00  7.401e-01  0.000e+00  5.000e+00 ( 1.000e+00)
318         beta:  1.363e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  8.119e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
681    Prefactor:  7.463e-01  4.550e-01  0.000e+00  1.000e+01 ( 1.000e+00)
682        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
683        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
680   Normalization:  1.133e+00  5.207e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.61
Ra Dec: 140.229 44.699
Photon Index (Free Index): 2.31 +/- 0.74
Photon Flux (Free Index): 2.51e-07 +/- 2.16e-07
Energy Flux (Free Index): 9.17e-05 +/- 6.09e-05

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/625353/cmap_HighResolution_698630401_698889601_4FGL_J0920.9+4441_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.42e-07', energy_flux2='9.17e-05', photon_flux_error='1.54e-07', dlogl='1.76e-03', energy_flux='9.28e-05', photon_flux2='2.51e-07', job_status='DONE', time_completed='2023-02-24 01:17:05.148256', photon_index_error2='0.74', photon_index2='2.31', ts='9.65', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', energy_flux_error2='6.09e-05', EG='1.14', time_epoch_completed='1677230225.15', return_code='0', job_id='625353', GAL2='0.75', EG2='1.13', return_code2='0', energy_flux_error='5.90e-05', photon_flux_error2='2.16e-07', ts2='9.61', photon_index='2.27' WHERE bin_id='1772' AND source_name='4FGL J0920.9+4441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:17:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 625353: <4FGL_J0920.9+4441_daily_bin1772> in cluster <slac> Done

Job <4FGL_J0920.9+4441_daily_bin1772> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Feb 24 01:10:13 2023
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:10:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:10:14 2023
Terminated at Fri Feb 24 01:17:05 2023
Results reported at Fri Feb 24 01:17:05 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.9+4441_daily_bin1772 140.229 44.699 698630401 698889601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0920.9+4441 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   389.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             399.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   411 sec.
    Turnaround time :                            412 sec.

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

