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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1441
RA = 140.1, Dec = -4.7311
tmin = 612835201, tmax = 613094401
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='128127', job_status='RUN', time_executed='2021-08-31 06:50:24.031986', time_epoch_executed='1630417824.03' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1441'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/128127

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/128127/ft1_4FGL_J0920.3-0443_daily_bin1441.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/128127/ft2_4FGL_J0920.3-0443_daily_bin1441.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/128127/ft1_4FGL_J0920.3-0443_daily_bin1441.fits outfile=/scratch/kocevski/128127/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1441.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=612835201.0 tmax=613094401.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.70
user 2.67
sys 1.01

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/128127/ft2_4FGL_J0920.3-0443_daily_bin1441.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/128127/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1441.fits evtable="EVENTS" outfile="/scratch/kocevski/128127/ft1_filtered_4FGL_J0920.3-0443_daily_bin1441.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 1.32
user 0.32
sys 0.88

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/128127/ft1_filtered_4FGL_J0920.3-0443_daily_bin1441.fits" evtable="EVENTS" scfile=/scratch/kocevski/128127/ft2_4FGL_J0920.3-0443_daily_bin1441.fits sctable="SC_DATA" outfile=/scratch/kocevski/128127/ltcube_612835201_613094401_4FGL_J0920.3-0443_daily_bin1441.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/128127/ft2_4FGL_J0920.3-0443_daily_bin1441.fits
.....................!
real 13.31
user 11.92
sys 1.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/128127/ft1_filtered_4FGL_J0920.3-0443_daily_bin1441.fits evtable="EVENTS" scfile=/scratch/kocevski/128127/ft2_4FGL_J0920.3-0443_daily_bin1441.fits sctable="SC_DATA" expcube=/scratch/kocevski/128127/ltcube_612835201_613094401_4FGL_J0920.3-0443_daily_bin1441.fits outfile=/scratch/kocevski/128127/expmap_612835201_613094401_4FGL_J0920.3-0443_daily_bin1441.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/128127/ltcube_612835201_613094401_4FGL_J0920.3-0443_daily_bin1441.fits
.....................!
real 190.57
user 185.09
sys 5.08

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/128127/ft1_filtered_4FGL_J0920.3-0443_daily_bin1441.fits scfile=/scratch/kocevski/128127/ft2_4FGL_J0920.3-0443_daily_bin1441.fits outfile=/scratch/kocevski/128127/cmap_612835201_613094401_4FGL_J0920.3-0443_daily_bin1441.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 1.35
user 0.36
sys 0.97

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/128127/ft1_filtered_4FGL_J0920.3-0443_daily_bin1441.fits scfile=/scratch/kocevski/128127/ft2_4FGL_J0920.3-0443_daily_bin1441.fits outfile=/scratch/kocevski/128127/cmap_HighResolution_612835201_613094401_4FGL_J0920.3-0443_daily_bin1441.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 1.32
user 0.39
sys 0.86

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/128127/ft1_filtered_4FGL_J0920.3-0443_daily_bin1441.fits evtable="EVENTS" scfile=/scratch/kocevski/128127/ft2_4FGL_J0920.3-0443_daily_bin1441.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/128127/Model_4FGL_J0920.3-0443_daily_bin1441.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/128127/ft1_filtered_4FGL_J0920.3-0443_daily_bin1441.fits.....................!
real 72.74
user 69.89
sys 2.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/128127/ft1_filtered_4FGL_J0920.3-0443_daily_bin1441.fits', '/scratch/kocevski/128127/ft2_4FGL_J0920.3-0443_daily_bin1441.fits', expMap='/scratch/kocevski/128127/expmap_612835201_613094401_4FGL_J0920.3-0443_daily_bin1441.fits', expCube='/scratch/kocevski/128127/ltcube_612835201_613094401_4FGL_J0920.3-0443_daily_bin1441.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/128127/Model_4FGL_J0920.3-0443_daily_bin1441.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/128127/ft1_filtered_4FGL_J0920.3-0443_daily_bin1441.fits
Spacecraft file(s): /scratch/kocevski/128127/ft2_4FGL_J0920.3-0443_daily_bin1441.fits
Exposure map: /scratch/kocevski/128127/expmap_612835201_613094401_4FGL_J0920.3-0443_daily_bin1441.fits
Exposure cube: /scratch/kocevski/128127/ltcube_612835201_613094401_4FGL_J0920.3-0443_daily_bin1441.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/128127/Model_4FGL_J0920.3-0443_daily_bin1441.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) = 6861.69868558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.157       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10152E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.7664       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10328E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.1935       1.0000         .10000E-03   10000.    
     7 'norm      '    1.8610       1.0000         .10000E-03   10000.    
     8 'norm      '    10.409       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .36948E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.0193       1.0000         .10000E-03   10000.    
    15 'norm      '    3.8190       1.0000         .10000E-03   10000.    
    16 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .54173       1.0000         .10000E-03   10000.    
    18 'norm      '    .11048       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2910       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .84225       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=   6861.566     FROM MIGRAD    STATUS=CONVERGED    446 CALLS     1809 TOTAL
                     EDM=   .77E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.147        12.314        .15349E-05   -.45071E-05
   2  Prefactor     .10000E-03    18.536        .14397E-07** at limit **
   3  norm          .10000E-03    8.6970        .77678E-07** at limit **
   4  norm          1.7660        2.1401        .67143E-07    .12042E-04
   5  Prefactor     .10000E-03    6.4303        .67027E-07** at limit **
   6  Prefactor     9.1925        6.8166        .84731E-07   -.14066E-04
   7  norm          1.8601        2.9954        .15411E-06   -.14696E-04
   8  norm          10.405        6.5144        .23378E-07   -.25716E-04
   9  Prefactor     .10000E-03    9.8593        .12693E-06** at limit **
  10  Prefactor     .10000E-03    1.0661        .28728E-07** at limit **
  11  Prefactor     .10000E-03    42.262        .63874E-08** at limit **
  12  Prefactor     .10000E-03    5.4666        .42512E-07** at limit **
  13  Prefactor     .10070E-03    20.112       -.13323E-05** at limit **
  14  Prefactor     1.0171        19.128        .57550E-06   -.99138E-04
  15  norm          3.8200        5.7581        .25592E-05   -.63996E-06
  16  norm          .10000E-03    1.5271        .30982E-07** at limit **
  17  norm          .54100        .62234        .11355E-06    .24508E-03
  18  norm          .10802        .91851        .65194E-07   -.13196E-03
  19  Normalizat    1.2911        .18568       -.17712E-06   -.89632E-04
  20  Prefactor     .84239        .13351       -.74587E-06   -.15356E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.1466
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.76599
  Prefactor  = 0.0001
  Prefactor  = 9.19246
  norm       = 1.86015
  norm       = 10.4051
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001007
  Prefactor  = 1.01711
  norm       = 3.82001
  norm       = 0.0001
  norm       = 0.541005
  norm       = 0.108021
  Normalizat = 1.2911
  Prefactor  = 0.842395
 **********
 **   18 **HESSE 
 **********

 FCN=   6861.566     FROM HESSE     STATUS=OK           307 CALLS     2116 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.147        12.331        .12573E-03   -1.5071    
   2  Prefactor     .10000E-03    18.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    8.8373        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.7660        2.1284        .12913E-03   -1.5442    
   5  Prefactor     .10000E-03    6.4629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.1925        6.8131        .13218E-03   -1.5101    
   7  norm          1.8601        2.9753        .17415E-03   -1.5435    
   8  norm          10.405        6.5194        .12419E-03   -1.5063    
   9  Prefactor     .10000E-03    9.9207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.0738        .83504E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    42.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.4806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10070E-03    22.397        .10782       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.0171        95.060        .66385E-02   -1.5506    
  15  norm          3.8200        6.0981        .10327E-02   -1.5317    
  16  norm          .10000E-03    1.5441        .99921E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .54100        .60963        .63996E-04   -1.5561    
  18  norm          .10802        5.0409        .15229E-02   -1.5642    
  19  Normalizat    1.2911        .22001        .24732E-03   -.83832    
  20  Prefactor     .84239        .15909        .22286E-03   -.98184    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18075e-08
Minuit parameter uncertainties:
  1  12.3339
  2  1.68694e-05
  3  1.99084e-05
  4  2.12845
  5  8.39227e-06
  6  6.81371
  7  2.97559
  8  6.51983
  9  1.50998e-05
  10  1.94218e-06
  11  7.83955e-05
  12  5.85637e-06
  13  0.00792033
  14  19.6972
  15  6.09913
  16  2.59618e-06
  17  0.609634
  18  1.47529
  19  0.22017
  20  0.159173
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  1.510e-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:  8.424e-01  1.592e-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.291e+00  2.202e-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: 7.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/128127/likelihoodResults_612835201_613094401_4FGL_J0920.3-0443_daily_bin1441.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) = 6861.56609839
delta logL = -0.000480391472593

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6861.56561777
delta logL = 2.29080796998e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5527       1.0000          .0000       10.000    
     3 'Normalizat'    1.2911       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84239       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=   6861.566     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      250 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10549E-03    6.8301        .18142E-01** at limit **
   2  Index         2.4319        8.5790        .50000        .22414E-04
   3  Normalizat    1.2911        .34620E-02    .24732E-03   -.38705E-04
   4  Prefactor     .84239        .25944E-02    .22286E-03   -.16701E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010549
  Index      = 2.43191
  Normalizat = 1.2911
  Prefactor  = 0.842394
 **********
 **   18 **HESSE 
 **********

 FCN=   6861.566     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      279 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10549E-03    81.353        .27862E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4319        5.4846        .50000       -.53940    
   3  Normalizat    1.2911        .11894E-01    .98926E-05   -.83832    
   4  Prefactor     .84239        .89137E-02    .89145E-05   -.98184    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.20296e-09
Minuit parameter uncertainties:
  1  0.0423254
  2  331.258
  3  0.0118944
  4  0.0089137
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/128127': 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) = 6861.5656173
delta logL = 6.98643816577e-07

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.055e-04  4.233e-02  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.432e+00  3.313e+02  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:  8.424e-01  8.914e-03  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.291e+00  1.189e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/128127/cmap_HighResolution_612835201_613094401_4FGL_J0920.3-0443_daily_bin1441.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-03', job_status='DONE', photon_flux_upper_limit='7.03e-08', time_completed='2021-08-31 07:00:22.550249', job_id='128127', GAL2='0.84', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1630418422.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='6.99e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1441' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:00:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 128127: <4FGL_J0920.3-0443_daily_bin1441> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1441> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 06:46:24 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:46:25 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:46:25 2021
Terminated at Tue Aug 31 07:00:23 2021
Results reported at Tue Aug 31 07:00:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1441 140.1 -4.7311 612835201 613094401 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 :                                   595.42 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             245.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            839 sec.

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

