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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1046
RA = 140.1, Dec = -4.7311
tmin = 510451201, tmax = 510710401
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='126549', job_status='RUN', time_executed='2021-08-31 06:44:29.256028', time_epoch_executed='1630417469.26' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1046'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126549

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126549/ft1_4FGL_J0920.3-0443_daily_bin1046.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126549/ft2_4FGL_J0920.3-0443_daily_bin1046.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126549/ft1_4FGL_J0920.3-0443_daily_bin1046.fits outfile=/scratch/kocevski/126549/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1046.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=510451201.0 tmax=510710401.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.25
user 3.70
sys 0.90

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126549/ft1_filtered_4FGL_J0920.3-0443_daily_bin1046.fits" evtable="EVENTS" scfile=/scratch/kocevski/126549/ft2_4FGL_J0920.3-0443_daily_bin1046.fits sctable="SC_DATA" outfile=/scratch/kocevski/126549/ltcube_510451201_510710401_4FGL_J0920.3-0443_daily_bin1046.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/126549/ft2_4FGL_J0920.3-0443_daily_bin1046.fits
.....................!
real 12.73
user 11.32
sys 1.08

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126549/ft1_filtered_4FGL_J0920.3-0443_daily_bin1046.fits evtable="EVENTS" scfile=/scratch/kocevski/126549/ft2_4FGL_J0920.3-0443_daily_bin1046.fits sctable="SC_DATA" expcube=/scratch/kocevski/126549/ltcube_510451201_510710401_4FGL_J0920.3-0443_daily_bin1046.fits outfile=/scratch/kocevski/126549/expmap_510451201_510710401_4FGL_J0920.3-0443_daily_bin1046.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/126549/ltcube_510451201_510710401_4FGL_J0920.3-0443_daily_bin1046.fits
.....................!
real 195.90
user 186.13
sys 6.30

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/126549/ft1_filtered_4FGL_J0920.3-0443_daily_bin1046.fits scfile=/scratch/kocevski/126549/ft2_4FGL_J0920.3-0443_daily_bin1046.fits outfile=/scratch/kocevski/126549/cmap_510451201_510710401_4FGL_J0920.3-0443_daily_bin1046.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.34
user 0.37
sys 0.83

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126549/ft1_filtered_4FGL_J0920.3-0443_daily_bin1046.fits scfile=/scratch/kocevski/126549/ft2_4FGL_J0920.3-0443_daily_bin1046.fits outfile=/scratch/kocevski/126549/cmap_HighResolution_510451201_510710401_4FGL_J0920.3-0443_daily_bin1046.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.25
user 0.37
sys 0.84

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126549/ft1_filtered_4FGL_J0920.3-0443_daily_bin1046.fits evtable="EVENTS" scfile=/scratch/kocevski/126549/ft2_4FGL_J0920.3-0443_daily_bin1046.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126549/Model_4FGL_J0920.3-0443_daily_bin1046.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/126549/ft1_filtered_4FGL_J0920.3-0443_daily_bin1046.fits.....................!
real 68.71
user 66.26
sys 2.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.909       1.0000         .10000E-03   10000.    
     3 'norm      '    2.7952       1.0000         .10000E-03   10000.    
     4 'norm      '    4.4114       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.3239       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.1788       1.0000         .10000E-03   10000.    
     7 'norm      '    .41418       1.0000         .10000E-03   10000.    
     8 'norm      '    2.9903       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.2956       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.893       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.244       1.0000         .10000E-03   10000.    
    13 'Prefactor '    53.381       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.5740       1.0000         .10000E-03   10000.    
    15 'norm      '    .10095E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.8075       1.0000         .10000E-03   10000.    
    18 'norm      '    1.3556       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .76933       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1158       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=   6432.197     FROM MIGRAD    STATUS=CONVERGED    416 CALLS     2052 TOTAL
                     EDM=   .51E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.2836       -.11191E-07** at limit **
   2  Prefactor     14.901        25.740        .15355E-05   -.66106E-05
   3  norm          2.7942        5.8488        .35415E-05   -.67818E-04
   4  norm          4.4111        3.3871       -.23277E-06   -.30221E-04
   5  Prefactor     3.3242        12.256       -.78570E-07   -.45681E-05
   6  Prefactor     5.1800        9.1946        .30291E-06   -.44924E-06
   7  norm          .43061        2.0910       -.11006E-06   -.14590E-04
   8  norm          2.9898        4.8547        .24709E-06    .19704E-04
   9  Prefactor     .10000E-03    24.708        .12891E-05** at limit **
  10  Prefactor     1.2963        1.6632       -.30608E-07   -.59347E-04
  11  Prefactor     16.906        44.004       -.36550E-05   -.32236E-05
  12  Prefactor     11.232        16.614        .20296E-05    .94787E-05
  13  Prefactor     53.391        42.611       -.12539E-05    .43873E-05
  14  Prefactor     3.5666        45.436        .33186E-05    .75449E-05
  15  norm          .10000E-03    9.8091       -.85192E-06** at limit **
  16  norm          .10000E-03    1.6441        .12737E-06** at limit **
  17  norm          2.8081        .91175       -.98829E-08   -.26128E-04
  18  norm          1.3555        2.1309        .15739E-06    .38052E-04
  19  Normalizat    .76881        .20798       -.52926E-06   -.16630E-04
  20  Prefactor     1.1161        .14831       -.69032E-07    .25719E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 14.9008
  norm       = 2.79422
  norm       = 4.41112
  Prefactor  = 3.32422
  Prefactor  = 5.17996
  norm       = 0.43061
  norm       = 2.98984
  Prefactor  = 0.000100001
  Prefactor  = 1.2963
  Prefactor  = 16.9064
  Prefactor  = 11.2317
  Prefactor  = 53.3905
  Prefactor  = 3.56656
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.80806
  norm       = 1.35548
  Normalizat = 0.768813
  Prefactor  = 1.1161
 **********
 **   18 **HESSE 
 **********

 FCN=   6432.197     FROM HESSE     STATUS=OK           303 CALLS     2355 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.3057        .16210E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.901        25.732        .10373E-03   -1.4936    
   3  norm          2.7942        5.8586        .12167E-02   -1.5374    
   4  norm          4.4111        3.3725        .11996E-03   -1.5288    
   5  Prefactor     3.3242        12.190        .22203E-03   -1.5343    
   6  Prefactor     5.1800        9.1780        .17665E-03   -1.5253    
   7  norm          .43061        8.2434        .21452E-02   -1.5577    
   8  norm          2.9898        4.8309        .21582E-03   -1.5362    
   9  Prefactor     .10000E-03    25.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.2963        1.6452        .11378E-03   -1.5480    
  11  Prefactor     16.906        44.116        .97447E-04   -1.4885    
  12  Prefactor     11.232        16.647        .11947E-03   -1.5038    
  13  Prefactor     53.391        42.638        .54897E-04   -1.4245    
  14  Prefactor     3.5666        45.277        .21377E-03   -1.5330    
  15  norm          .10000E-03    10.128        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.6528        .10041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.8081        .91038        .40405E-04   -1.5373    
  18  norm          1.3555        2.1055        .14032E-03   -1.5475    
  19  Normalizat    .76881        .23978        .31463E-03   -1.0124    
  20  Prefactor     1.1161        .17273        .20111E-03   -.88954    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58129e-08
Minuit parameter uncertainties:
  1  7.07688e-07
  2  25.7515
  3  5.85983
  4  3.37269
  5  12.1991
  6  9.18046
  7  3.76829
  8  4.83158
  9  0.000320649
  10  1.64523
  11  44.2012
  12  16.6543
  13  42.6626
  14  25.4386
  15  0.000118938
  16  7.30342e-06
  17  0.910383
  18  2.10565
  19  0.240107
  20  0.172816
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  3.206e-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:  1.116e+00  1.728e-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:  7.688e-01  2.401e-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: 9.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/126549/likelihoodResults_510451201_510710401_4FGL_J0920.3-0443_daily_bin1046.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) = 6432.19754091
delta logL = -0.000189620193851

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6432.19735169
delta logL = -4.01812940254e-07

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     '    2.5005       1.0000          .0000       10.000    
     3 'Normalizat'    .76883       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1161       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=   6432.197     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      274 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    2294.6        .18142E-02** at limit **
   2  Index         2.5421        8.7289        .50000       -.18667E-04
   3  Normalizat    .76881        .58075E-01    .31463E-03   -.14229E-03
   4  Prefactor     1.1161        .44254E-01    .20111E-03   -.74677E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100008
  Index      = 2.54207
  Normalizat = 0.768811
  Prefactor  = 1.1161
 **********
 **   18 **HESSE 
 **********

 FCN=   6432.197     FROM HESSE     STATUS=OK            29 CALLS      303 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    49.112        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5421        6.0581        .50000       -.51391    
   3  Normalizat    .76881        .22025        .12585E-04   -1.0124    
   4  Prefactor     1.1161        .16799        .40221E-04   -.88954    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.75935e-10
Minuit parameter uncertainties:
  1  0.00126026
  2  6.41175
  3  0.220502
  4  0.168072
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126549': 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) = 6432.19735149
delta logL = -1.97178451344e-07

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  1.260e-03  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.542e+00  6.412e+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.116e+00  1.681e-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:  7.688e-01  2.205e-01  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/126549/cmap_HighResolution_510451201_510710401_4FGL_J0920.3-0443_daily_bin1046.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.21e-03', job_status='DONE', photon_flux_upper_limit='9.22e-08', time_completed='2021-08-31 06:54:26.505353', job_id='126549', GAL2='1.12', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1630418066.51', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='-1.97e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1046' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:54:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 126549: <4FGL_J0920.3-0443_daily_bin1046> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1046> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 06:41:51 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:41:52 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:41:52 2021
Terminated at Tue Aug 31 06:54:27 2021
Results reported at Tue Aug 31 06:54:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1046 140.1 -4.7311 510451201 510710401 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 :                                   580.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            756 sec.

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

