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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1433
RA = 140.1, Dec = -4.7311
tmin = 610761601, tmax = 611020801
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='128114', job_status='RUN', time_executed='2021-08-31 06:51:17.244135', time_epoch_executed='1630417877.24' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1433'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/128114

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/128114/ft1_4FGL_J0920.3-0443_daily_bin1433.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/128114/ft2_4FGL_J0920.3-0443_daily_bin1433.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/128114/ft1_4FGL_J0920.3-0443_daily_bin1433.fits outfile=/scratch/kocevski/128114/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1433.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=610761601.0 tmax=611020801.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 6.94
user 3.29
sys 3.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/128114/ft1_filtered_4FGL_J0920.3-0443_daily_bin1433.fits" evtable="EVENTS" scfile=/scratch/kocevski/128114/ft2_4FGL_J0920.3-0443_daily_bin1433.fits sctable="SC_DATA" outfile=/scratch/kocevski/128114/ltcube_610761601_611020801_4FGL_J0920.3-0443_daily_bin1433.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/128114/ft2_4FGL_J0920.3-0443_daily_bin1433.fits
.....................!
real 16.68
user 11.42
sys 4.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/128114/ft1_filtered_4FGL_J0920.3-0443_daily_bin1433.fits evtable="EVENTS" scfile=/scratch/kocevski/128114/ft2_4FGL_J0920.3-0443_daily_bin1433.fits sctable="SC_DATA" expcube=/scratch/kocevski/128114/ltcube_610761601_611020801_4FGL_J0920.3-0443_daily_bin1433.fits outfile=/scratch/kocevski/128114/expmap_610761601_611020801_4FGL_J0920.3-0443_daily_bin1433.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/128114/ltcube_610761601_611020801_4FGL_J0920.3-0443_daily_bin1433.fits
.....................!
real 198.98
user 186.35
sys 9.20

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/128114/ft1_filtered_4FGL_J0920.3-0443_daily_bin1433.fits scfile=/scratch/kocevski/128114/ft2_4FGL_J0920.3-0443_daily_bin1433.fits outfile=/scratch/kocevski/128114/cmap_610761601_611020801_4FGL_J0920.3-0443_daily_bin1433.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 5.84
user 0.37
sys 3.03

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/128114/ft1_filtered_4FGL_J0920.3-0443_daily_bin1433.fits scfile=/scratch/kocevski/128114/ft2_4FGL_J0920.3-0443_daily_bin1433.fits outfile=/scratch/kocevski/128114/cmap_HighResolution_610761601_611020801_4FGL_J0920.3-0443_daily_bin1433.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 7.64
user 0.39
sys 3.03

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/128114/ft1_filtered_4FGL_J0920.3-0443_daily_bin1433.fits evtable="EVENTS" scfile=/scratch/kocevski/128114/ft2_4FGL_J0920.3-0443_daily_bin1433.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/128114/Model_4FGL_J0920.3-0443_daily_bin1433.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/128114/ft1_filtered_4FGL_J0920.3-0443_daily_bin1433.fits.....................!
real 90.10
user 65.29
sys 5.45

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.831       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .80528       1.0000         .10000E-03   10000.    
     4 'norm      '    1.4286       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .51440       1.0000         .10000E-03   10000.    
     7 'norm      '    10.553       1.0000         .10000E-03   10000.    
     8 'norm      '    7.4612       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.9008       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.7243       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10361E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.138       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.7327       1.0000         .10000E-03   10000.    
    16 'norm      '    .10222E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .26581       1.0000         .10000E-03   10000.    
    18 'norm      '    1.4894       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .52815       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3126       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=   6356.940     FROM MIGRAD    STATUS=CONVERGED    444 CALLS     1844 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.832        12.826       -.41748E-06   -.22205E-03
   2  Prefactor     .10000E-03    18.988       -.45405E-06** at limit **
   3  norm          .80939        10.016       -.33891E-05    .69380E-03
   4  norm          1.4286        1.7574        .12344E-06    .50515E-03
   5  Prefactor     .10000E-03    7.1593        .34583E-06** at limit **
   6  Prefactor     .50486        4.4826        .42671E-06   -.11075E-03
   7  norm          10.552        5.3360       -.80821E-06   -.12176E-02
   8  norm          7.4623        6.9778       -.22644E-06   -.24034E-03
   9  Prefactor     3.9266        25.188       -.60881E-06   -.32811E-04
  10  Prefactor     8.7246        3.7198        .58839E-06   -.70884E-03
  11  Prefactor     .10000E-03    65.989        .27960E-05** at limit **
  12  Prefactor     16.143        17.349        .93398E-07    .11730E-03
  13  Prefactor     .10000E-03    87.460       -.17813E-05** at limit **
  14  Prefactor     .10000E-03    9.7924       -.13325E-06** at limit **
  15  norm          2.7319        5.5785       -.17001E-05   -.71093E-03
  16  norm          .10000E-03    1.4371       -.53230E-07** at limit **
  17  norm          .26597        .51279        .35549E-07   -.22989E-03
  18  norm          1.4895        1.9472       -.31334E-07   -.14518E-03
  19  Normalizat    .52808        .21184        .53702E-06    .15803E-03
  20  Prefactor     1.3126        .15598        .32637E-06    .29883E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 21.8321
  Prefactor  = 0.0001
  norm       = 0.80939
  norm       = 1.42865
  Prefactor  = 0.0001
  Prefactor  = 0.504863
  norm       = 10.5518
  norm       = 7.46227
  Prefactor  = 3.92657
  Prefactor  = 8.72462
  Prefactor  = 0.000100004
  Prefactor  = 16.1426
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 2.7319
  norm       = 0.0001
  norm       = 0.265969
  norm       = 1.48952
  Normalizat = 0.528077
  Prefactor  = 1.31265
 **********
 **   18 **HESSE 
 **********

 FCN=   6356.940     FROM HESSE     STATUS=OK           305 CALLS     2149 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.832        12.885        .85726E-04   -1.4773    
   2  Prefactor     .10000E-03    19.092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .80939        23.630        .32461E-02   -1.5528    
   4  norm          1.4286        1.7408        .11213E-03   -1.5469    
   5  Prefactor     .10000E-03    7.2066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .50486        29.550        .31490E-02   -1.5566    
   7  norm          10.552        5.4539        .12333E-03   -1.5058    
   8  norm          7.4623        6.9780        .14683E-03   -1.5162    
   9  Prefactor     3.9266        25.298        .20428E-03   -1.5312    
  10  Prefactor     8.7246        5.4179        .67640E-03   -1.5117    
  11  Prefactor     .10000E-03    66.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.143        17.347        .99700E-04   -1.4904    
  13  Prefactor     .10000E-03    91.643        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.7909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.7319        5.9448        .24632E-03   -1.5377    
  16  norm          .10000E-03    2.3952        .18582E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .26597        .48286        .74743E-03   -1.5605    
  18  norm          1.4895        1.9390        .12279E-03   -1.5464    
  19  Normalizat    .52808        .23201        .36539E-03   -1.1113    
  20  Prefactor     1.3126        .17368        .18779E-03   -.82932    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11913e-08
Minuit parameter uncertainties:
  1  12.8864
  2  7.60981e-05
  3  8.74998
  4  1.74088
  5  5.67561e-05
  6  7.72814
  7  5.45412
  8  6.97874
  9  19.9455
  10  5.41817
  11  0.00100027
  12  17.3528
  13  0.000753239
  14  6.49513e-06
  15  5.94611
  16  4.45555e-06
  17  0.482868
  18  1.93904
  19  0.232437
  20  0.173752
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  3.927e+00  1.995e+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.313e+00  1.738e-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:  5.281e-01  2.324e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 140.100 -4.731
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/128114/likelihoodResults_610761601_611020801_4FGL_J0920.3-0443_daily_bin1433.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) = 6356.92510085
delta logL = 0.014603379318

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6356.50907759
delta logL = 0.4306266393

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6356.509     FROM MIGRAD    STATUS=CONVERGED    146 CALLS      403 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .34974E-02    .36642E-03** at limit **
   2  Index         8.5371        2.7692        .25633        .10068E-03
   3  Normalizat    .47233        .38599E-01    .87047E-01    .47327E-04
   4  Prefactor     1.3453        .29917E-01    .31864E-01    .78988E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.53709
  Normalizat = 0.472326
  Prefactor  = 1.34525
 **********
 **   18 **HESSE 
 **********

 FCN=   6356.509     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      444 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .23782E-01    .20442E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.5371        9.0430        .91618E-02    .78584    
   3  Normalizat    .47233        .92214E-01    .38562E-03   -1.1372    
   4  Prefactor     1.3453        .70672E-01    .18584E-03   -.81971    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.02468e-09
Minuit parameter uncertainties:
  1  3.44085e-09
  2  6.8157
  3  0.0922437
  4  0.0706766
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/128114': 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) = 6356.5090764
delta logL = 0.430627830486

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  3.441e-09  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  8.537e+00  6.816e+00  0.000e+00  1.000e+01 (-1.000e+00)
252        Scale:  9.913e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  1.345e+00  7.068e-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:  4.723e-01  9.224e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/128114/cmap_HighResolution_610761601_611020801_4FGL_J0920.3-0443_daily_bin1433.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.98e-03', job_status='DONE', photon_flux_upper_limit='1.15e-07', time_completed='2021-08-31 07:02:34.351308', job_id='128114', GAL2='1.35', fit_tolerance='1e-08', EG2='0.47', EG='0.53', time_epoch_completed='1630418554.35', return_code2='102', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='4.31e-01', ts2='0.99', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1433' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:02:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 128114: <4FGL_J0920.3-0443_daily_bin1433> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1433 140.1 -4.7311 610761601 611020801 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 :                                   650.20 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             266.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   971 sec.
    Turnaround time :                            973 sec.

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

