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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1736
RA = 140.1, Dec = -4.7311
tmin = 689299201, tmax = 689558401
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 sourDone.


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1736
RA = 140.1, Dec = -4.7311
tmin = 689299201, tmax = 689558401
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='952969', job_status='RUN', time_executed='2022-11-08 00:12:29.571893', time_epoch_executed='1667895149.57' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/952969

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/952969/ft1_4FGL_J0920.3-0443_daily_bin1736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/952969/ft2_4FGL_J0920.3-0443_daily_bin1736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/952969/ft1_4FGL_J0920.3-0443_daily_bin1736.fits outfile=/scratch/kocevski/952969/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1736.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=689299201.0 tmax=689558401.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.59
user 3.38
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/952969/ft2_4FGL_J0920.3-0443_daily_bin1736.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/952969/ft2_4FGL_J0920.3-0443_daily_bin1736.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/952969/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1736.fits evtable="EVENTS" outfile="/scratch/kocevski/952969/ft1_filtered_4FGL_J0920.3-0443_daily_bin1736.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.51
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 465

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/952969/ft1_filtered_4FGL_J0920.3-0443_daily_bin1736.fits" evtable="EVENTS" scfile=/scratch/kocevski/952969/ft2_4FGL_J0920.3-0443_daily_bin1736.fits sctable="SC_DATA" outfile=/scratch/kocevski/952969/ltcube_689299201_689558401_4FGL_J0920.3-0443_daily_bin1736.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/952969/ft2_4FGL_J0920.3-0443_daily_bin1736.fits
.....................!
real 17.66
user 17.22
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/952969/ft1_filtered_4FGL_J0920.3-0443_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/952969/ft2_4FGL_J0920.3-0443_daily_bin1736.fits sctable="SC_DATA" expcube=/scratch/kocevski/952969/ltcube_689299201_689558401_4FGL_J0920.3-0443_daily_bin1736.fits outfile=/scratch/kocevski/952969/expmap_689299201_689558401_4FGL_J0920.3-0443_daily_bin1736.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/952969/ltcube_689299201_689558401_4FGL_J0920.3-0443_daily_bin1736.fits
.....................!
real 191.08
user 184.98
sys 5.66

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

Setting source of interest to:
4FGL J0920.3-0443 @ 140.1 -4.7311

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/952969/ft1_filtered_4FGL_J0920.3-0443_daily_bin1736.fits scfile=/scratch/kocevski/952969/ft2_4FGL_J0920.3-0443_daily_bin1736.fits outfile=/scratch/kocevski/952969/cmap_689299201_689558401_4FGL_J0920.3-0443_daily_bin1736.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.1 yref=-4.7311 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/952969/ft1_filtered_4FGL_J0920.3-0443_daily_bin1736.fits scfile=/scratch/kocevski/952969/ft2_4FGL_J0920.3-0443_daily_bin1736.fits outfile=/scratch/kocevski/952969/cmap_HighResolution_689299201_689558401_4FGL_J0920.3-0443_daily_bin1736.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.1 yref=-4.7311 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/952969/ft1_filtered_4FGL_J0920.3-0443_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/952969/ft2_4FGL_J0920.3-0443_daily_bin1736.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/952969/Model_4FGL_J0920.3-0443_daily_bin1736.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/952969/ft1_filtered_4FGL_J0920.3-0443_daily_bin1736.fits.....................!
real 56.47
user 54.99
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/952969/ft1_filtered_4FGL_J0920.3-0443_daily_bin1736.fits', '/scratch/kocevski/952969/ft2_4FGL_J0920.3-0443_daily_bin1736.fits', expMap='/scratch/kocevski/952969/expmap_689299201_689558401_4FGL_J0920.3-0443_daily_bin1736.fits', expCube='/scratch/kocevski/952969/ltcube_689299201_689558401_4FGL_J0920.3-0443_daily_bin1736.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/952969/Model_4FGL_J0920.3-0443_daily_bin1736.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0920.3-0443'

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.854e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
251        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
252        Scale:  9.913e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/952969/ft1_filtered_4FGL_J0920.3-0443_daily_bin1736.fits
Spacecraft file(s): /scratch/kocevski/952969/ft2_4FGL_J0920.3-0443_daily_bin1736.fits
Exposure map: /scratch/kocevski/952969/expmap_689299201_689558401_4FGL_J0920.3-0443_daily_bin1736.fits
Exposure cube: /scratch/kocevski/952969/ltcube_689299201_689558401_4FGL_J0920.3-0443_daily_bin1736.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/952969/Model_4FGL_J0920.3-0443_daily_bin1736.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) = 5280.18436547

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13327E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .53547E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .40818E-05   1.0000          .0000       .10000E+07
     4 'norm      '    2.5113       1.0000          .0000       .10000E+07
     5 'Prefactor '    .15095E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.707       1.0000          .0000       .10000E+07
     7 'norm      '    .19136E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .10606E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    29.843       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10908E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.5674       1.0000          .0000       .10000E+07
    12 'Prefactor '    21.398       1.0000          .0000       .10000E+07
    13 'Prefactor '    .29192E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .43125       1.0000          .0000       .10000E+07
    15 'norm      '    .46134E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .97092       1.0000          .0000       .10000E+07
    17 'norm      '    2.9172       1.0000          .0000       .10000E+07
    18 'Normalizat'    .82418       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .88030       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5280.170     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1416 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.6986       -.17786E-06** at limit **
   2  Prefactor     .11702E-05    49.109        .63769E-06** at limit **
   3  norm          .29976E-08    4.7850       -.29772E-06** at limit **
   4  norm          2.5094        2.7315       -.21733E-07   -.32525E-04
   5  Prefactor     .49405E-08    5.0492       -.47223E-06** at limit **
   6  Prefactor     10.713        7.8201       -.10691E-06    .53926E-03
   7  norm          .19440E-06    17.013       -.11374E-05** at limit **
   8  norm          .77716E-09    6.0917        .11819E-06** at limit **
   9  Prefactor     29.905        1.3042        .13372E-07    .56927E-02
  10  Prefactor      .0000        1.3227       -.45583E-07** at limit **
  11  Prefactor     7.6727        1.0388        .10258E-07   -.36308E-02
  12  Prefactor     22.212        8.5560       -.55769E-07    .15435    
  13  Prefactor     .35860E-07    6.2739       -.27549E-06** at limit **
  14  norm          .41996        18.282        .43479E-06    .25029E-01
  15  norm           .0000        1.7382       -.45931E-07** at limit **
  16  norm          .97239        .67660        .10358E-07    .19842E-02
  17  norm          2.9164        1.9758        .26340E-07    .86016E-03
  18  Normalizat    .82377        .21160       -.25555E-05   -.47175E-04
  19  Prefactor     .88012        .16163        .14660E-05   -.44706E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 1.17023e-06
  norm       = 2.9976e-09
  norm       = 2.50943
  Prefactor  = 4.94049e-09
  Prefactor  = 10.7126
  norm       = 1.944e-07
  norm       = 7.77156e-10
  Prefactor  = 29.9049
  Prefactor  = 0
  Prefactor  = 7.67268
  Prefactor  = 22.2116
  Prefactor  = 3.58602e-08
  norm       = 0.419963
  norm       = 0
  norm       = 0.972387
  norm       = 2.91639
  Normalizat = 0.823775
  Prefactor  = 0.880118
 **********
 **   18 **HESSE 
 **********

 FCN=   5280.170     FROM HESSE     STATUS=OK           308 CALLS     1724 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.6931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11702E-05    49.994        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .29976E-08    11.282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.5094        2.7398        .64450E-03   -1.5676    
   5  Prefactor     .49405E-08    5.0611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.713        7.8257        .30594E-03   -1.5643    
   7  norm          .19440E-06    16.409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .77716E-09    6.0585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     29.905        25.637        .18308E-03   -1.5599    
  10  Prefactor      .0000        1.3151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.6727        57.940        .36432E-03   -1.5653    
  12  Prefactor     22.212        31.170        .21624E-03   -1.5614    
  13  Prefactor     .35860E-07    10.690        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .41996        5.1460        .57157E-02   -1.5695    
  15  norm           .0000        1.7379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .97239        .68192        .42733E-03   -1.5688    
  17  norm          2.9164        1.9761        .59457E-03   -1.5674    
  18  Normalizat    .82377        .18619        .43925E-01   -.99193    
  19  Prefactor     .88012        .13759        .44753E-01   -.96839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09e-06
Minuit parameter uncertainties:
  1  7.4538Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  2.990e+01  2.564e+01  0.000e+00  1.000e+06 ( 1.000e-13)
251        Index:  2.587e+00  0.000e+00  0.000e+00  1.0Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  2.990e+01  2.564e+01  0.000e+00  1.000e+06 ( 1.000e-13)
251        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
252        Scale:  9.913e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  8.801e-01  1.376e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  8.238e-01  1.863e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.38
Ra Dec: 140.100 -4.731
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 7.12e-08 +/- 6.10e-08
Energy Flux (Fixed Index): 1.89e-05 +/- 1.62e-05

TS (Fixed Index): 2.38
Ra Dec: 140.100 -4.731
Photon Flux Upper Limit: 1.78e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.39e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/952969/likelihoodResults_689299201_689558401_4FGL_J0920.3-0443_daily_bin1736.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) = 5277.91490323
delta logL = 2.25460974208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5277.73855782
delta logL = 2.43095515325

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5277.739     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      351 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23720E-01    .17499        .11728E-03** at limit **
   2  Index         6.5288        2.2905        .72149E-01    .84417E-04
   3  Normalizat    .71238        .65950E-01    .63280E-01   -.79027E-05
   4  Prefactor     .95306        .50157E-01    .45678E-01   -.40815E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0237202
  Index      = 6.52877
  Normalizat = 0.712382
  Prefactor  = 0.953059
 **********
 **   18 **HESSE 
 **********

 FCN=   5277.739     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      382 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23720E-01    .27190        .51057E-06   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.5288        2.9217        .30619E-02    .31073    
   3  Normalizat    .71238        .19770        .27995E-03   -1.0341    
   4  Prefactor     .95306        .14803        .18648E-03   -.94311    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.19141e-10
Minuit parameter uncertainties:
  1  0.160617
  2  3.14563
  3  0.197903
  4  0.148093
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/952969': 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) = 5277.73855662
delta logL = 2.43095634629

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  2.372e-02  1.606e-01  0.000e+00  1.000e+06 ( 1.000e-13)
251        Index:  6.529e+00  3.146e+00  0.000e+00  1.000e+01 (-1.000e+00)
252        Scale:  9.913e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  9.531e-01  1.481e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  7.124e-01  1.979e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.85
Ra Dec: 140.100 -4.731
Photon Index (Free Index): 6.53 +/- 3.15
Photon Flux (Free Index): 1.39e-07 +/- 6.65e-08
Energy Flux (Free Index): 1.69e-05 +/- 8.83e-06

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/952969/cmap_HighResolution_689299201_689558401_4FGL_J0920.3-0443_daily_bin1736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-02', comment='SUCCESS', photon_flux='7.12e-08', energy_flux2='1.69e-05', photon_flux_error='6.10e-08', dlogl='2.43e+00', energy_flux='1.89e-05', photon_flux2='1.39e-07', job_status='DONE', time_completed='2022-11-08 00:20:32.599522', photon_index_error2='3.15', photon_index2='6.53', ts='2.38', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.78e-07', energy_flux_error2='8.83e-06', EG='0.82', time_epoch_completed='1667895632.6', return_code='0', job_id='952969', GAL2='0.95', EG2='0.71', return_code2='102', energy_flux_error='1.62e-05', photon_flux_error2='6.65e-08', ts2='7.85', photon_index='2.59' WHERE bin_id='1736' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov  8 00:20:32 PST 2022

r <slac> at Tue Nov  8 00:06:28 2022
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 00:08:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 00:08:20 2022
Terminated at Tue Nov  8 00:20:32 2022
Results reported at Tue Nov  8 00:20:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1736 140.1 -4.7311 689299201 689558401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0920.3-0443 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   483.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             216.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   731 sec.
    Turnaround time :                            844 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 952969: <4FGL_J0920.3-0443_daily_bin1736> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1736> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Nov  8 00:06:25 2022
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 00:08:10 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 00:08:10 2022
Terminated at Tue Nov  8 00:20:33 2022
Results reported at Tue Nov  8 00:20:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1736 140.1 -4.7311 689299201 689558401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0920.3-0443 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   483.15 sec.
    Max Memory :                                 1030 MB
    Average Memory :                             244.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   742 sec.
    Turnaround time :                            848 sec.

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

