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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1324
RA = 140.1, Dec = -4.7311
tmin = 582508801, tmax = 582768001
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='126972', job_status='RUN', time_executed='2021-08-31 06:44:29.280290', time_epoch_executed='1630417469.28' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1324'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126972

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126972/ft1_4FGL_J0920.3-0443_daily_bin1324.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126972/ft2_4FGL_J0920.3-0443_daily_bin1324.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126972/ft1_4FGL_J0920.3-0443_daily_bin1324.fits outfile=/scratch/kocevski/126972/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1324.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=582508801.0 tmax=582768001.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.30
user 3.43
sys 0.49

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126972/ft1_filtered_4FGL_J0920.3-0443_daily_bin1324.fits" evtable="EVENTS" scfile=/scratch/kocevski/126972/ft2_4FGL_J0920.3-0443_daily_bin1324.fits sctable="SC_DATA" outfile=/scratch/kocevski/126972/ltcube_582508801_582768001_4FGL_J0920.3-0443_daily_bin1324.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/126972/ft2_4FGL_J0920.3-0443_daily_bin1324.fits
.....................!
real 12.68
user 11.67
sys 0.63

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126972/ft1_filtered_4FGL_J0920.3-0443_daily_bin1324.fits evtable="EVENTS" scfile=/scratch/kocevski/126972/ft2_4FGL_J0920.3-0443_daily_bin1324.fits sctable="SC_DATA" expcube=/scratch/kocevski/126972/ltcube_582508801_582768001_4FGL_J0920.3-0443_daily_bin1324.fits outfile=/scratch/kocevski/126972/expmap_582508801_582768001_4FGL_J0920.3-0443_daily_bin1324.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/126972/ltcube_582508801_582768001_4FGL_J0920.3-0443_daily_bin1324.fits
.....................!
real 195.25
user 186.92
sys 4.98

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/126972/ft1_filtered_4FGL_J0920.3-0443_daily_bin1324.fits scfile=/scratch/kocevski/126972/ft2_4FGL_J0920.3-0443_daily_bin1324.fits outfile=/scratch/kocevski/126972/cmap_582508801_582768001_4FGL_J0920.3-0443_daily_bin1324.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.78
user 0.37
sys 0.40

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126972/ft1_filtered_4FGL_J0920.3-0443_daily_bin1324.fits scfile=/scratch/kocevski/126972/ft2_4FGL_J0920.3-0443_daily_bin1324.fits outfile=/scratch/kocevski/126972/cmap_HighResolution_582508801_582768001_4FGL_J0920.3-0443_daily_bin1324.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.85
user 0.38
sys 0.41

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126972/ft1_filtered_4FGL_J0920.3-0443_daily_bin1324.fits evtable="EVENTS" scfile=/scratch/kocevski/126972/ft2_4FGL_J0920.3-0443_daily_bin1324.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126972/Model_4FGL_J0920.3-0443_daily_bin1324.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/126972/ft1_filtered_4FGL_J0920.3-0443_daily_bin1324.fits.....................!
real 75.56
user 72.47
sys 1.51

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9309       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.939       1.0000         .10000E-03   10000.    
     3 'norm      '    .22721E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    4.0950       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13310E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10126E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.826       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.0962       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.112       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    7.1697       1.0000         .10000E-03   10000.    
    16 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .64417       1.0000         .10000E-03   10000.    
    18 'norm      '    .47929       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .91087       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0695       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=   7244.513     FROM MIGRAD    STATUS=CONVERGED     95 CALLS     2051 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9271        9.2659        .62755E-07    .40423E-02
   2  Prefactor     12.943        1.2702        .16297E-06   -.10869E-02
   3  norm          .10671E-03    589.79       -.34947E-04** at limit **
   4  norm          4.0972        2.2840       -.92289E-07   -.14612E-03
   5  Prefactor     .10000E-03    4.6331        .37013E-06** at limit **
   6  Prefactor     .10001E-03    6.7069        .26918E-06** at limit **
   7  norm          .10000E-03    1.2251        .39348E-07** at limit **
   8  norm          .10000E-03    1.8779       -.86526E-08** at limit **
   9  Prefactor     22.809        6.1405       -.25483E-06   -.15297E-01
  10  Prefactor     1.0938        3.2788       -.13605E-05   -.22324E-03
  11  Prefactor     .10000E-03    9.8778        .19329E-05** at limit **
  12  Prefactor     .10001E-03    7.3785       -.20496E-06** at limit **
  13  Prefactor     16.102        3.1642       -.21175E-06   -.66846E-02
  14  Prefactor     .10000E-03    6.0836        .30159E-05** at limit **
  15  norm          7.1683        1.0581        .81203E-08   -.17888E-02
  16  norm          .10000E-03    .87542       -.81855E-06** at limit **
  17  norm          .64378        .49402       -.42170E-07   -.45223E-03
  18  norm          .47772        1.2110       -.36846E-06   -.20379E-03
  19  Normalizat    .91107        .20390       -.17264E-05   -.24507E-03
  20  Prefactor     1.0696        .15406       -.18353E-07   -.29086E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.92708
  Prefactor  = 12.9432
  norm       = 0.000106708
  norm       = 4.09718
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 22.8088
  Prefactor  = 1.09375
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 16.1017
  Prefactor  = 0.000100002
  norm       = 7.16831
  norm       = 0.0001
  norm       = 0.643782
  norm       = 0.47772
  Normalizat = 0.911073
  Prefactor  = 1.06963
 **********
 **   18 **HESSE 
 **********

 FCN=   7244.513     FROM HESSE     STATUS=OK           341 CALLS     2392 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9271        9.7005        .59317E-02   -1.5366    
   2  Prefactor     12.943        27.395        .27840E-02   -1.4988    
   3  norm          .10671E-03    5.3884        .91361E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.0972        2.3258        .49806E-02   -1.5303    
   5  Prefactor     .10000E-03    4.6225        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    2.5520        .49150E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.1980        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.8525        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     22.809        17.410        .20960E-02   -1.4752    
  10  Prefactor     1.0938        3.3067        .11379E-01   -1.5499    
  11  Prefactor     .10000E-03    9.8990        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    7.3665        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.102        18.938        .24945E-02   -1.4905    
  14  Prefactor     .10000E-03    6.1191        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.1683        4.8751        .37452E-02   -1.5172    
  16  norm          .10000E-03    .87358        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .64378        .51803        .11318E-01   -1.5548    
  18  norm          .47772        1.2083        .33830E-01   -1.5570    
  19  Normalizat    .91107        .18141        .45040E-01   -.96072    
  20  Prefactor     1.0696        .13249        .38881E-01   -.90443    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.61465e-07
Minuit parameter uncertainties:
  1  9.70568
  2  27.4214
  3  0.0120257
  4  2.32586
  5  1.15467e-05
  6  0.000275099
  7  7.91246e-07
  8  3.45809e-07
  9  17.4137
  10  3.30728
  11  0.00010913
  12  0.000435128
  13  18.9446
  14  0.000245574
  15  4.87534
  16  1.09795e-05
  17  0.518038
  18  1.20836
  19  0.181535
  20  0.132528
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  2.281e+01  1.741e+01  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:  1.070e+00  1.325e-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:  9.111e-01  1.815e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.30
Ra Dec: 140.100 -4.731
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 5.43e-08 +/- 4.14e-08
Energy Flux (Fixed Index): 1.44e-05 +/- 1.10e-05

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

Saving results to:
/scratch/kocevski/126972/likelihoodResults_582508801_582768001_4FGL_J0920.3-0443_daily_bin1324.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7244.04479926
delta logL = 0.468373439237

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7244.03831102
delta logL = 0.474861682286

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3837       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3564       1.0000          .0000       10.000    
     3 'Normalizat'    .87215       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0912       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7244.038     FROM MIGRAD    STATUS=FAILED        98 CALLS      293 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.3699        851.22        .69227E-03   -.32664E-04
   2  Index         3.3571        5.3345        .46454E-02    .64896E-03
   3  Normalizat    .87217        .25868        .27958E-03   -.56115E-05
   4  Prefactor     1.0912        .21498        .19512E-03   -.13401E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7244.038     FROM SIMPLEX   STATUS=UNCHANGED     97 CALLS      390 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.3699        851.22        .31361E-03   -1.5129    
   2  Index         3.3571        5.3345        .13460E-02   -.33479    
   3  Normalizat    .87217        .25868        .87077E-04   -.97445    
   4  Prefactor     1.0912        .21498        .74321E-04   -.89748    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7244.038     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      420 TOTAL
                     EDM=   .65E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.3699        15.112        .27691E-04   -.44340E-04
   2  Index         3.3571        .96145        .92908E-03   -.10646E-04
   3  Normalizat    .87217        .20628        .11183E-04   -.56928E-05
   4  Prefactor     1.0912        .15610        .78049E-05   -.11653E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.36989
  Index      = 3.35713
  Normalizat = 0.872171
  Prefactor  = 1.09122
 **********
 **   18 **HESSE 
 **********

 FCN=   7244.038     FROM HESSE     STATUS=OK            23 CALLS      443 TOTAL
                     EDM=   .70E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.3699        14.021        .11076E-05   -1.5129    
   2  Index         3.3571        .89289        .37163E-04   -.33479    
   3  Normalizat    .87217        .20598        .22367E-05   -.97445    
   4  Prefactor     1.0912        .15584        .15610E-05   -.89748    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98975e-13
Minuit parameter uncertainties:
  1  14.0265
  2  0.898293
  3  0.206169
  4  0.155904
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126972': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7244.03831052
delta logL = 0.474862179565

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  8.370e+00  1.403e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  3.357e+00  8.983e-01  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:  1.091e+00  1.559e-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.722e-01  2.062e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.37
Ra Dec: 140.100 -4.731
Photon Index (Free Index): 3.36 +/- 0.90
Photon Flux (Free Index): 7.86e-08 +/- 5.13e-08
Energy Flux (Free Index): 1.36e-05 +/- 8.97e-06

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/126972/cmap_HighResolution_582508801_582768001_4FGL_J0920.3-0443_daily_bin1324.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', comment='SUCCESS', photon_flux='5.43e-08', energy_flux2='1.36e-05', photon_flux_error='4.14e-08', dlogl='4.75e-01', energy_flux='1.44e-05', photon_flux2='7.86e-08', job_status='DONE', time_completed='2021-08-31 06:55:01.852438', photon_index_error2='0.90', photon_index2='3.36', ts='2.30', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.35e-07', energy_flux_error2='8.97e-06', EG='0.91', time_epoch_completed='1630418101.85', return_code='0', job_id='126972', GAL2='1.09', EG2='0.87', return_code2='0', energy_flux_error='1.10e-05', photon_flux_error2='5.13e-08', ts2='3.37', photon_index='2.59' WHERE bin_id='1324' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:55:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 126972: <4FGL_J0920.3-0443_daily_bin1324> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1324 140.1 -4.7311 582508801 582768001 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 :                                   623.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            764 sec.

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

