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


Performing analysis on: 4FGL_J0920.9+4441_weekly_bin754
RA = 140.229, Dec = 44.699
tmin = 695001601, tmax = 695606401
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='949731', job_status='RUN', time_executed='2023-01-17 00:52:47.250731', time_epoch_executed='1673945567.25' WHERE source_name='4FGL J0920.9+4441' and cadence='weekly' and bin_id='754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/949731

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/949731/ft1_4FGL_J0920.9+4441_weekly_bin754.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/949731/ft2_4FGL_J0920.9+4441_weekly_bin754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/949731/ft1_4FGL_J0920.9+4441_weekly_bin754.fits outfile=/scratch/kocevski/949731/ft1_filteredMKT_4FGL_J0920.9+4441_weekly_bin754.fits ra=140.229 dec=44.699 rad=12.0 tmin=695001601.0 tmax=695606401.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 5.63
user 5.34
sys 0.22

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

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

Number of photons that the gtmktime cut: 310

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/949731/ft1_filtered_4FGL_J0920.9+4441_weekly_bin754.fits" evtable="EVENTS" scfile=/scratch/kocevski/949731/ft2_4FGL_J0920.9+4441_weekly_bin754.fits sctable="SC_DATA" outfile=/scratch/kocevski/949731/ltcube_695001601_695606401_4FGL_J0920.9+4441_weekly_bin754.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/949731/ft2_4FGL_J0920.9+4441_weekly_bin754.fits
.....................!
real 34.46
user 33.86
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/949731/ft1_filtered_4FGL_J0920.9+4441_weekly_bin754.fits evtable="EVENTS" scfile=/scratch/kocevski/949731/ft2_4FGL_J0920.9+4441_weekly_bin754.fits sctable="SC_DATA" expcube=/scratch/kocevski/949731/ltcube_695001601_695606401_4FGL_J0920.9+4441_weekly_bin754.fits outfile=/scratch/kocevski/949731/expmap_695001601_695606401_4FGL_J0920.9+4441_weekly_bin754.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/949731/ltcube_695001601_695606401_4FGL_J0920.9+4441_weekly_bin754.fits
.....................!
real 192.07
user 186.45
sys 4.14

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/949731/ft1_filtered_4FGL_J0920.9+4441_weekly_bin754.fits scfile=/scratch/kocevski/949731/ft2_4FGL_J0920.9+4441_weekly_bin754.fits outfile=/scratch/kocevski/949731/cmap_695001601_695606401_4FGL_J0920.9+4441_weekly_bin754.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.59
user 0.43
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/949731/ft1_filtered_4FGL_J0920.9+4441_weekly_bin754.fits scfile=/scratch/kocevski/949731/ft2_4FGL_J0920.9+4441_weekly_bin754.fits outfile=/scratch/kocevski/949731/cmap_HighResolution_695001601_695606401_4FGL_J0920.9+4441_weekly_bin754.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.59
user 0.43
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/949731/ft1_filtered_4FGL_J0920.9+4441_weekly_bin754.fits', '/scratch/kocevski/949731/ft2_4FGL_J0920.9+4441_weekly_bin754.fits', expMap='/scratch/kocevski/949731/expmap_695001601_695606401_4FGL_J0920.9+4441_weekly_bin754.fits', expCube='/scratch/kocevski/949731/ltcube_695001601_695606401_4FGL_J0920.9+4441_weekly_bin754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/949731/Model_4FGL_J0920.9+4441_weekly_bin754.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/949731/ft1_filtered_4FGL_J0920.9+4441_weekly_bin754.fits
Spacecraft file(s): /scratch/kocevski/949731/ft2_4FGL_J0920.9+4441_weekly_bin754.fits
Exposure map: /scratch/kocevski/949731/expmap_695001601_695606401_4FGL_J0920.9+4441_weekly_bin754.fits
Exposure cube: /scratch/kocevski/949731/ltcube_695001601_695606401_4FGL_J0920.9+4441_weekly_bin754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/949731/Model_4FGL_J0920.9+4441_weekly_bin754.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) = 3719.32404422

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28732       1.0000          .0000       .10000E+07
     2 'Prefactor '    .19606       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11868E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .15057E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11938E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .14423E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .66674E-06   1.0000          .0000       .10000E+07
     8 'norm      '    12.893       1.0000          .0000       .10000E+07
     9 'Prefactor '    .31154E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.3361       1.0000          .0000       .10000E+07
    11 'Prefactor '    .39030E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    28.276       1.0000          .0000       .10000E+07
    13 'Prefactor '    13.133       1.0000          .0000       .10000E+07
    14 'norm      '    .19841       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.9069       1.0000          .0000       .10000E+07
    16 'norm      '    .16037E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .65922       1.0000          .0000       .10000E+07
    18 'Prefactor '    8.3138       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.7697       1.0000          .0000       .10000E+07
    20 'Prefactor '    10.132       1.0000          .0000       .10000E+07
    21 'norm      '    .51985E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .15156E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    4.2704       1.0000          .0000       .10000E+07
    24 'Prefactor '    .50895E-03   1.0000          .0000       .10000E+07
    25 'norm      '    36.931       1.0000          .0000       .10000E+07
    26 'Prefactor '    .25401E-05   1.0000          .0000       .10000E+07
    27 'norm      '    2.7352       1.0000          .0000       .10000E+07
    28 'Normalizat'    .62027       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0986       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=   3719.272     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     2154 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .34810        9.9501       -.61558E-07    .91412E-05
   2  Prefactor     .23204E-07    1.4964        .22369E-07** at limit **
   3  Prefactor     .16653E-09    9.6512       -.53926E-07** at limit **
   4  Prefactor      .0000        44.225       -.14503E-06** at limit **
   5  Prefactor     .79381E-08    5.3327        .17084E-07** at limit **
   6  Prefactor     .66835E-06    13.322       -.11347E-06** at limit **
   7  norm          .16653E-09    7.5332        .55670E-08** at limit **
   8  norm          13.091        7.1051        .13509E-07   -.98903E-02
   9  Prefactor     .70610E-07    4.4297       -.31413E-07** at limit **
  10  Prefactor     4.6485        54.269       -.16860E-06    .13741E-01
  11  Prefactor     .22412E-05    21.204        .79888E-07** at limit **
  12  Prefactor     28.248        10.951       -.34006E-07   -.43977E-02
  13  Prefactor     12.969        4.3035        .34832E-08    .66626E-02
  14  norm          .19060        1.7100       -.26570E-07** at limit **
  15  Prefactor     2.9910        7.9529        .98029E-07   -.94098E-04
  16  norm          .39579E-07    5.1420        .30269E-07** at limit **
  17  Prefactor     .61932        6.9155        .11688E-06    .37106E-03
  18  Prefactor     8.3423        8.2992       -.13590E-07    .11443E-02
  19  Prefactor     1.7653        3.2781        .27519E-06   -.15671E-02
  20  Prefactor     10.044        2.0726       -.76576E-08   -.17276E-02
  21  norm          .13933E-07    9.1634        .12746E-06** at limit **
  22  Prefactor     .22082E-06    13.848       -.86775E-07** at limit **
  23  Prefactor     4.3496        7.4772       -.10442E-06   -.19098E-03
  24  Prefactor     .27601E-05    27.476        .39452E-07** at limit **
  25  norm          36.962        2.8395        .37440E-08    .52163E-02
  26  Prefactor     .16653E-09    6.6684       -.14397E-06** at limit **
  27  norm          2.7343        1.9377       -.52046E-07    .13057E-02
  28  Normalizat    .62005        .25616       -.56492E-05    .25121E-05
  29  Prefactor     1.0988        .29825        .47464E-05   -.13537E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.348103
  Prefactor  = 2.32037e-08
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 7.93809e-09
  Prefactor  = 6.68354e-07
  norm       = 1.66533e-10
  norm       = 13.0907
  Prefactor  = 7.06102e-08
  Prefactor  = 4.64849
  Prefactor  = 2.24115e-06
  Prefactor  = 28.2482
  Prefactor  = 12.9691
  norm       = 0.190595
  Prefactor  = 2.99096
  norm       = 3.95795e-08
  Prefactor  = 0.61932
  Prefactor  = 8.34232
  Prefactor  = 1.76526
  Prefactor  = 10.0435
  norm       = 1.39333e-08
  Prefactor  = 2.20823e-07
  Prefactor  = 4.34957
  Prefactor  = 2.76013e-06
  norm       = 36.9622
  Prefactor  = 1.66533e-10
  norm       = 2.73434
  Normalizat = 0.62005
  Prefactor  = 1.09879
 **********
 **   18 **HESSE 
 **********

 FCN=   3719.272     FROM HESSE     STATUS=OK           619 CALLS     2773 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .34810        4.3784        .43151E-02   -1.5696    
   2  Prefactor     .23204E-07    86.499        .11846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16653E-09    13.632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        44.323        .17386E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .79381E-08    11.507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .66835E-06    25.492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .16653E-09    7.7755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          13.091        15.619        .27871E-03   -1.5636    
   9  Prefactor     .70610E-07    12.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.6485        78.689        .43483E-03   -1.5665    
  11  Prefactor     .22412E-05    36.161        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     28.248        11.513        .18809E-03   -1.5602    
  13  Prefactor     12.969        33.763        .27614E-03   -1.5636    
  14  norm          .19060        1.9063        .19071E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.9910        9.7672        .59568E-03   -1.5673    
  16  norm          .39579E-07    11.349        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .61932        7.3529        .64082E-03   -1.5692    
  18  Prefactor     8.3423        8.9680        .34745E-03   -1.5650    
  19  Prefactor     1.7653        3.3482        .78693E-03   -1.5681    
  20  Prefactor     10.044        17.323        .31455E-03   -1.5645    
  21  norm          .13933E-07    9.4786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .22082E-06    26.785        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.3496        7.7087        .48731E-03   -1.5666    
  24  Prefactor     .27601E-05    41.541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          36.962        17.250        .16457E-03   -1.5586    
  26  Prefactor     .16653E-09    6.6355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.7343        1.9418        .61540E-03   -1.5675    
  28  Normalizat    .62005        .22087        .64610E-01   -1.0714    
  29  Prefactor     1.0988        .25185        .59555E-01   -.89505    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24346e-07
Minuit parameter uncertainties:
  1  2.46911
  2  0.002835
  3  9.24917e-05
  4  6.87567e-05
  5  0.000604017
  6  0.00825554
  7  7.37245e-05
  8  15.6194
  9  0.00191185
  10  38.2515
  11  0.0180048
  12  11.5134
  13  33.7631
  14  1.20554
  15  9.76729
  16  0.00134028
  17  4.26792
  18  8.96805
  19  3.34816
  20  17.3234
  21  0.000726489
  22  0.00486441
  23  7.70872
  24  0.021416
  25  17.2505
  26  6.30554e-05
  27  1.94179
  28  0.221185
  29  0.252128
Done.

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

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  1.906e-01  1.206e+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:  1.099e+00  2.521e-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:  6.200e-01  2.212e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 140.229 44.699
Photon Flux Upper Limit: 1.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.75e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/949731/likelihoodResults_695001601_695606401_4FGL_J0920.9+4441_weekly_bin754.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3719.26155871
delta logL = 0.0104203062606

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3719.26124007
delta logL = 0.0107389509562

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18079       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5419       1.0000          .0000       5.0000    
     3 'Normalizat'    .61690       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1006       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=   3719.261     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      239 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18139        16.493        .12128E-02** at limit **
   2  alpha         2.5446        3.2869        .41159        .32475E-05
   3  Normalizat    .61679        .35940E-01    .64756E-01    .16275E-05
   4  Prefactor     1.1007        .44189E-01    .59503E-01   -.88874E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.181393
  alpha      = 2.54459
  Normalizat = 0.616794
  Prefactor  = 1.10067
 **********
 **   18 **HESSE 
 **********

 FCN=   3719.261     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18139        .74645        .72752E-04   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5446        1.9918        .34617E-01    .17838E-01
   3  Normalizat    .61679        .23844        .28654E-03   -1.0728    
   4  Prefactor     1.1007        .28809        .26313E-03   -.89445    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.73803e-11
Minuit parameter uncertainties:
  1  0.735935
  2  2.30481
  3  0.238835
  4  0.288498
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/949731': 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) = 3719.26123772
delta logL = 0.0107413011128

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  1.814e-01  7.359e-01  0.000e+00  1.000e+06 ( 1.000e-11)
317        alpha:  2.545e+00  2.305e+00  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:  1.101e+00  2.885e-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:  6.168e-01  2.388e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
Ra Dec: 140.229 44.699

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/949731/cmap_HighResolution_695001601_695606401_4FGL_J0920.9+4441_weekly_bin754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.75e-05', job_status='DONE', photon_flux_upper_limit='1.24e-07', time_completed='2023-01-17 01:02:49.963697', job_id='949731', GAL2='1.10', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1673946169.96', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.07e-02', ts2='0.11', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='754' AND source_name='4FGL J0920.9+4441' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 17 01:02:49 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 949731: <4FGL_J0920.9+4441_weekly_bin754> in cluster <slac> Done

Job <4FGL_J0920.9+4441_weekly_bin754> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Jan 17 00:50:19 2023
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 17 00:51:06 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 17 00:51:06 2023
Terminated at Tue Jan 17 01:02:50 2023
Results reported at Tue Jan 17 01:02:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.9+4441_weekly_bin754 140.229 44.699 695001601 695606401 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 :                                   602.22 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             267.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   704 sec.
    Turnaround time :                            751 sec.

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

