/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 51 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1240
RA = 140.1, Dec = -4.7311
tmin = 560736001, tmax = 560995201
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='126834', job_status='RUN', time_executed='2021-08-31 06:43:52.066048', time_epoch_executed='1630417432.07' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1240'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126834

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126834/ft1_4FGL_J0920.3-0443_daily_bin1240.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126834/ft2_4FGL_J0920.3-0443_daily_bin1240.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126834/ft1_4FGL_J0920.3-0443_daily_bin1240.fits outfile=/scratch/kocevski/126834/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1240.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=560736001.0 tmax=560995201.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 4.05
user 3.56
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/126834/ft2_4FGL_J0920.3-0443_daily_bin1240.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/126834/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1240.fits evtable="EVENTS" outfile="/scratch/kocevski/126834/ft1_filtered_4FGL_J0920.3-0443_daily_bin1240.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126834/ft1_filtered_4FGL_J0920.3-0443_daily_bin1240.fits" evtable="EVENTS" scfile=/scratch/kocevski/126834/ft2_4FGL_J0920.3-0443_daily_bin1240.fits sctable="SC_DATA" outfile=/scratch/kocevski/126834/ltcube_560736001_560995201_4FGL_J0920.3-0443_daily_bin1240.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/126834/ft2_4FGL_J0920.3-0443_daily_bin1240.fits
.....................!
real 11.73
user 11.23
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126834/ft1_filtered_4FGL_J0920.3-0443_daily_bin1240.fits evtable="EVENTS" scfile=/scratch/kocevski/126834/ft2_4FGL_J0920.3-0443_daily_bin1240.fits sctable="SC_DATA" expcube=/scratch/kocevski/126834/ltcube_560736001_560995201_4FGL_J0920.3-0443_daily_bin1240.fits outfile=/scratch/kocevski/126834/expmap_560736001_560995201_4FGL_J0920.3-0443_daily_bin1240.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/126834/ltcube_560736001_560995201_4FGL_J0920.3-0443_daily_bin1240.fits
.....................!
real 193.69
user 187.21
sys 4.27

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/126834/ft1_filtered_4FGL_J0920.3-0443_daily_bin1240.fits scfile=/scratch/kocevski/126834/ft2_4FGL_J0920.3-0443_daily_bin1240.fits outfile=/scratch/kocevski/126834/cmap_560736001_560995201_4FGL_J0920.3-0443_daily_bin1240.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.71
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126834/ft1_filtered_4FGL_J0920.3-0443_daily_bin1240.fits scfile=/scratch/kocevski/126834/ft2_4FGL_J0920.3-0443_daily_bin1240.fits outfile=/scratch/kocevski/126834/cmap_HighResolution_560736001_560995201_4FGL_J0920.3-0443_daily_bin1240.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.59
user 0.37
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126834/ft1_filtered_4FGL_J0920.3-0443_daily_bin1240.fits evtable="EVENTS" scfile=/scratch/kocevski/126834/ft2_4FGL_J0920.3-0443_daily_bin1240.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126834/Model_4FGL_J0920.3-0443_daily_bin1240.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/126834/ft1_filtered_4FGL_J0920.3-0443_daily_bin1240.fits.....................!
real 90.42
user 87.95
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/126834/ft1_filtered_4FGL_J0920.3-0443_daily_bin1240.fits', '/scratch/kocevski/126834/ft2_4FGL_J0920.3-0443_daily_bin1240.fits', expMap='/scratch/kocevski/126834/expmap_560736001_560995201_4FGL_J0920.3-0443_daily_bin1240.fits', expCube='/scratch/kocevski/126834/ltcube_560736001_560995201_4FGL_J0920.3-0443_daily_bin1240.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/126834/Model_4FGL_J0920.3-0443_daily_bin1240.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  1.000e-04  1.000e+04 ( 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/126834/ft1_filtered_4FGL_J0920.3-0443_daily_bin1240.fits
Spacecraft file(s): /scratch/kocevski/126834/ft2_4FGL_J0920.3-0443_daily_bin1240.fits
Exposure map: /scratch/kocevski/126834/expmap_560736001_560995201_4FGL_J0920.3-0443_daily_bin1240.fits
Exposure cube: /scratch/kocevski/126834/ltcube_560736001_560995201_4FGL_J0920.3-0443_daily_bin1240.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/126834/Model_4FGL_J0920.3-0443_daily_bin1240.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) = 8828.28250038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.907       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.4272       1.0000         .10000E-03   10000.    
     3 'norm      '    1.6830       1.0000         .10000E-03   10000.    
     4 'norm      '    1.5925       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.4925       1.0000         .10000E-03   10000.    
     7 'norm      '    .12498E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .50977       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.3660       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.6793       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.826       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.8897       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.1770       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0758       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97695       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8828.221     FROM MIGRAD    STATUS=CONVERGED    414 CALLS     1791 TOTAL
                     EDM=   .91E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.907        8.4449       -.28152E-06    .12758E-04
   2  Prefactor     5.4261        16.822       -.38614E-05    .12046E-05
   3  norm          1.6838        .89569        .66316E-07   -.72284E-03
   4  norm          1.5928        1.6271       -.80082E-07   -.47571E-05
   5  Prefactor     .10000E-03    4.0472       -.40655E-07** at limit **
   6  Prefactor     6.4928        5.3755       -.14022E-06    .33974E-04
   7  norm          .10000E-03    1.6260       -.31938E-07** at limit **
   8  norm          .50954        2.5784        .34447E-07   -.20647E-04
   9  Prefactor     .10000E-03    8.3252        .52806E-07** at limit **
  10  Prefactor     6.3658        4.3164       -.29347E-06    .53716E-04
  11  Prefactor     4.6734        47.749       -.20914E-04    .65048E-05
  12  Prefactor     11.823        15.639       -.26596E-05    .39081E-04
  13  Prefactor     5.8892        23.039       -.22405E-05    .11642E-04
  14  Prefactor     .10000E-03    6.6048        .73804E-07** at limit **
  15  norm          3.1771        5.2117       -.32087E-06   -.60280E-05
  16  norm          .10000E-03    1.3855       -.11149E-07** at limit **
  17  norm          .10000E-03    .22071        .22771E-07** at limit **
  18  norm          .10000E-03    .41543        .24576E-08** at limit **
  19  Normalizat    1.0758        .16836        .24883E-05   -.33887E-04
  20  Prefactor     .97695        .11593       -.14530E-06    .23777E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.9067
  Prefactor  = 5.42611
  norm       = 1.68381
  norm       = 1.59284
  Prefactor  = 0.0001
  Prefactor  = 6.49283
  norm       = 0.0001
  norm       = 0.509544
  Prefactor  = 0.0001
  Prefactor  = 6.36577
  Prefactor  = 4.67344
  Prefactor  = 11.8234
  Prefactor  = 5.88922
  Prefactor  = 0.0001
  norm       = 3.17708
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.07583
  Prefactor  = 0.976951
 **********
 **   18 **HESSE 
 **********

 FCN=   8828.221     FROM HESSE     STATUS=OK           299 CALLS     2090 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.907        8.4465        .11150E-03   -1.4989    
   2  Prefactor     5.4261        16.806        .17249E-03   -1.5242    
   3  norm          1.6838        4.8486        .16233E-02   -1.5448    
   4  norm          1.5928        1.6330        .11683E-03   -1.5456    
   5  Prefactor     .10000E-03    4.0685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.4928        5.3715        .15751E-03   -1.5198    
   7  norm          .10000E-03    10.632        .22816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .50954        2.4754        .29354E-03   -1.5565    
   9  Prefactor     .10000E-03    8.3925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.3658        4.3085        .15222E-03   -1.5203    
  11  Prefactor     4.6734        47.767        .18604E-03   -1.5276    
  12  Prefactor     11.823        15.558        .11649E-03   -1.5020    
  13  Prefactor     5.8892        23.010        .16547E-03   -1.5223    
  14  Prefactor     .10000E-03    6.6096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.1771        5.1993        .22736E-03   -1.5351    
  16  norm          .10000E-03    1.4117        .10796E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .32651        .84780E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .41969        .59129E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0758        .19759        .26644E-03   -.90532    
  20  Prefactor     .97695        .13954        .20606E-03   -.93502    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.0369e-10
Minuit parameter uncertainties:
  1  8.44723
  2  16.8205
  3  4.84977
  4  1.63301
  5  8.34805e-06
  6  5.37194
  7  6.73667e-05
  8  2.24612
  9  7.95922e-05
  10  4.30874
  11  29.9127
  12  15.5633
  13  23.0443
  14  1.79203e-06
  15  5.20002
  16  5.52825e-08
  17  1.40262e-06
  18  5.71123e-07
  19  0.197727
  20  0.139586
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  7.959e-05  1.000e-04  1.000e+04 ( 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:  9.770e-01  1.396e-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:  1.076e+00  1.977e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 140.100 -4.731
Photon Flux Upper Limit: 5.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/126834/likelihoodResults_560736001_560995201_4FGL_J0920.3-0443_daily_bin1240.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) = 8828.22127511
delta logL = -0.000567963143112

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8828.22070711
delta logL = 4.50181687484e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5706       1.0000          .0000       10.000    
     3 'Normalizat'    1.0758       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97696       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8828.221     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      243 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10147E-03    113.27        .18142E-02** at limit **
   2  Index         2.4984        6.0813        .50000        .13148E-04
   3  Normalizat    1.0758        .14516E-01    .26644E-03   -.23331E-03
   4  Prefactor     .97695        .10813E-01    .20606E-03   -.46676E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101466
  Index      = 2.49838
  Normalizat = 1.07583
  Prefactor  = 0.976951
 **********
 **   18 **HESSE 
 **********

 FCN=   8828.221     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10147E-03    473.83        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4984        6.7204        .50000       -.52397    
   3  Normalizat    1.0758        .31399E-01    .10658E-04   -.90532    
   4  Prefactor     .97695        .23389E-01    .82423E-05   -.93502    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.26895e-08
Minuit parameter uncertainties:
  1  0.0531387
  2  1003.35
  3  0.0313996
  4  0.0233889
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126834': 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) = 8828.22070693
delta logL = 2.24908944801e-07

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.015e-04  5.314e-02  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.498e+00  1.003e+03  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.770e-01  2.339e-02  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:  1.076e+00  3.140e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 140.100 -4.731

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/126834/cmap_HighResolution_560736001_560995201_4FGL_J0920.3-0443_daily_bin1240.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-03', job_status='DONE', photon_flux_upper_limit='5.84e-08', time_completed='2021-08-31 06:54:48.761869', job_id='126834', GAL2='0.98', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1630418088.76', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.25e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1240' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:54:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0140>
Subject: Job 126834: <4FGL_J0920.3-0443_daily_bin1240> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1240> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 06:42:10 2021
Job was executed on host(s) <bullet0140>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:42:11 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 06:42:11 2021
Terminated at Tue Aug 31 06:54:50 2021
Results reported at Tue Aug 31 06:54:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1240 140.1 -4.7311 560736001 560995201 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 :                                   633.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             304.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            760 sec.

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

