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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1141
RA = 140.1, Dec = -4.7311
tmin = 535075201, tmax = 535334401
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='126661', job_status='RUN', time_executed='2021-08-31 06:44:38.422120', time_epoch_executed='1630417478.42' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1141'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126661

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126661/ft1_4FGL_J0920.3-0443_daily_bin1141.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126661/ft2_4FGL_J0920.3-0443_daily_bin1141.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126661/ft1_4FGL_J0920.3-0443_daily_bin1141.fits outfile=/scratch/kocevski/126661/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1141.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=535075201.0 tmax=535334401.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 10.95
user 4.67
sys 6.12

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126661/ft1_filtered_4FGL_J0920.3-0443_daily_bin1141.fits" evtable="EVENTS" scfile=/scratch/kocevski/126661/ft2_4FGL_J0920.3-0443_daily_bin1141.fits sctable="SC_DATA" outfile=/scratch/kocevski/126661/ltcube_535075201_535334401_4FGL_J0920.3-0443_daily_bin1141.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/126661/ft2_4FGL_J0920.3-0443_daily_bin1141.fits
.....................!
real 18.38
user 11.58
sys 6.73

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126661/ft1_filtered_4FGL_J0920.3-0443_daily_bin1141.fits evtable="EVENTS" scfile=/scratch/kocevski/126661/ft2_4FGL_J0920.3-0443_daily_bin1141.fits sctable="SC_DATA" expcube=/scratch/kocevski/126661/ltcube_535075201_535334401_4FGL_J0920.3-0443_daily_bin1141.fits outfile=/scratch/kocevski/126661/expmap_535075201_535334401_4FGL_J0920.3-0443_daily_bin1141.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/126661/ltcube_535075201_535334401_4FGL_J0920.3-0443_daily_bin1141.fits
.....................!
real 200.46
user 188.00
sys 11.54

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/126661/ft1_filtered_4FGL_J0920.3-0443_daily_bin1141.fits scfile=/scratch/kocevski/126661/ft2_4FGL_J0920.3-0443_daily_bin1141.fits outfile=/scratch/kocevski/126661/cmap_535075201_535334401_4FGL_J0920.3-0443_daily_bin1141.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 10.99
user 0.36
sys 5.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126661/ft1_filtered_4FGL_J0920.3-0443_daily_bin1141.fits scfile=/scratch/kocevski/126661/ft2_4FGL_J0920.3-0443_daily_bin1141.fits outfile=/scratch/kocevski/126661/cmap_HighResolution_535075201_535334401_4FGL_J0920.3-0443_daily_bin1141.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 6.32
user 0.37
sys 5.74

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126661/ft1_filtered_4FGL_J0920.3-0443_daily_bin1141.fits evtable="EVENTS" scfile=/scratch/kocevski/126661/ft2_4FGL_J0920.3-0443_daily_bin1141.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126661/Model_4FGL_J0920.3-0443_daily_bin1141.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/126661/ft1_filtered_4FGL_J0920.3-0443_daily_bin1141.fits.....................!
real 63.83
user 53.54
sys 8.61

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.3121       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.737       1.0000         .10000E-03   10000.    
     7 'norm      '    .35088E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.8235       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11534E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.938       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.5560       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    62.479       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10758E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.0167       1.0000         .10000E-03   10000.    
    18 'norm      '    1.9033       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1328       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .73588       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=   4932.842     FROM MIGRAD    STATUS=CONVERGED    431 CALLS     1743 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.5871        .23373E-07** at limit **
   2  Prefactor     .10000E-03    11.402        .12995E-05** at limit **
   3  norm          4.3108        7.7277        .20920E-07   -.56487E-04
   4  norm          .10000E-03    1.5612        .11423E-07** at limit **
   5  Prefactor     .10000E-03    3.2029        .10951E-07** at limit **
   6  Prefactor     11.735        9.5752        .19337E-06   -.31303E-03
   7  norm          .10007E-03    2.5803        .13418E-05** at limit **
   8  norm          6.8242        6.2442        .35290E-06   -.11966E-02
   9  Prefactor     .10000E-03    21.972        .92055E-06** at limit **
  10  Prefactor     14.939        5.2509       -.23930E-06   -.64158E-03
  11  Prefactor     2.3876        58.712        .62606E-05   -.20777E-03
  12  Prefactor     .10000E-03    10.028       -.12102E-05** at limit **
  13  Prefactor     62.460        36.432       -.48487E-05   -.59885E-03
  14  Prefactor     .10000E-03    19.950       -.12883E-05** at limit **
  15  norm          .10000E-03    7.2685       -.61308E-07** at limit **
  16  norm          .10000E-03    1.2892        .41312E-07** at limit **
  17  norm          1.0163        .72843       -.91334E-08   -.29168E-03
  18  norm          1.9034        2.4225        .67697E-07   -.12917E-03
  19  Normalizat    1.1329        .20819        .29962E-06   -.30582E-03
  20  Prefactor     .73593        .15005       -.93562E-07   -.23740E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.31081
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.7346
  norm       = 0.000100067
  norm       = 6.82418
  Prefactor  = 0.0001
  Prefactor  = 14.9389
  Prefactor  = 2.38759
  Prefactor  = 0.0001
  Prefactor  = 62.4604
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.01632
  norm       = 1.90338
  Normalizat = 1.13286
  Prefactor  = 0.73593
 **********
 **   18 **HESSE 
 **********

 FCN=   4932.842     FROM HESSE     STATUS=OK           287 CALLS     2030 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.5917        .11033E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.3108        7.7279        .19400E-03   -1.5293    
   4  norm          .10000E-03    1.5751        .85633E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.2044        .12276E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.735        9.6839        .58467E-03   -1.5023    
   7  norm          .10007E-03    11.583        .19954E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.8242        6.9050        .76798E-03   -1.5185    
   9  Prefactor     .10000E-03    22.181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.939        5.2822        .90833E-04   -1.4935    
  11  Prefactor     2.3876        93.941        .12769E-02   -1.5399    
  12  Prefactor     .10000E-03    10.088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     62.460        37.982        .50766E-04   -1.4126    
  14  Prefactor     .10000E-03    19.986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    7.3511        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.2917        .77878E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.0163        .71151        .47623E-04   -1.5506    
  18  norm          1.9034        2.4121        .11828E-03   -1.5432    
  19  Normalizat    1.1329        .24834        .24854E-03   -.88704    
  20  Prefactor     .73593        .17795        .22264E-03   -1.0214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.10696e-09
Minuit parameter uncertainties:
  1  2.07133e-07
  2  0.000120959
  3  7.72971
  4  2.1166e-07
  5  5.31203e-07
  6  9.68524
  7  0.00176137
  8  6.90577
  9  0.000119893
  10  5.28232
  11  30.0028
  12  0.000112761
  13  37.9968
  14  0.000151995
  15  1.44803e-05
  16  2.67422e-06
  17  0.711519
  18  2.41227
  19  0.2486
  20  0.178088
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  1.199e-04  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:  7.359e-01  1.781e-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.133e+00  2.486e-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: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.18e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/126661/likelihoodResults_535075201_535334401_4FGL_J0920.3-0443_daily_bin1141.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) = 4932.84196446
delta logL = -0.000214812356717

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4932.84175143
delta logL = -1.78145182872e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12501E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8401       1.0000          .0000       10.000    
     3 'Normalizat'    1.1329       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73593       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=   4932.842     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      275 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10324E-03    5.4859        .18142E-01** at limit **
   2  Index         2.7543        6.1367        .50000        .19917E-04
   3  Normalizat    1.1329        .28996E-02    .24854E-03   -.31634E-03
   4  Prefactor     .73593        .21499E-02    .22264E-03   -.24496E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103236
  Index      = 2.7543
  Normalizat = 1.13286
  Prefactor  = 0.73593
 **********
 **   18 **HESSE 
 **********

 FCN=   4932.842     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      304 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10324E-03    311.59        .56584E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7543        8.3283        .50000       -.46580    
   3  Normalizat    1.1329        .21875E-01    .49708E-04   -.88704    
   4  Prefactor     .73593        .16219E-01    .44529E-04   -1.0214    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.21053e-08
Minuit parameter uncertainties:
  1  0.0638434
  2  437.814
  3  0.0218749
  4  0.0162186
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126661': 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) = 4932.8417503
delta logL = -6.49601133773e-07

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.032e-04  6.384e-02  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.754e+00  4.378e+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:  7.359e-01  1.622e-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.133e+00  2.187e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/126661/cmap_HighResolution_535075201_535334401_4FGL_J0920.3-0443_daily_bin1141.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.18e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-08-31 06:55:03.811256', job_id='126661', GAL2='0.74', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1630418103.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='-6.50e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1141' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:55:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 126661: <4FGL_J0920.3-0443_daily_bin1141> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1141> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 06:42:01 2021
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:42:03 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:03 2021
Terminated at Tue Aug 31 06:55:05 2021
Results reported at Tue Aug 31 06:55:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1141 140.1 -4.7311 535075201 535334401 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 :                                   674.26 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             228.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            784 sec.

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

