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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1221
RA = 140.1, Dec = -4.7311
tmin = 555811201, tmax = 556070401
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='126802', job_status='RUN', time_executed='2021-08-31 06:44:25.882617', time_epoch_executed='1630417465.88' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1221'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126802

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126802/ft1_4FGL_J0920.3-0443_daily_bin1221.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126802/ft2_4FGL_J0920.3-0443_daily_bin1221.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126802/ft1_4FGL_J0920.3-0443_daily_bin1221.fits outfile=/scratch/kocevski/126802/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1221.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=555811201.0 tmax=556070401.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.84
user 3.35
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126802/ft1_filtered_4FGL_J0920.3-0443_daily_bin1221.fits" evtable="EVENTS" scfile=/scratch/kocevski/126802/ft2_4FGL_J0920.3-0443_daily_bin1221.fits sctable="SC_DATA" outfile=/scratch/kocevski/126802/ltcube_555811201_556070401_4FGL_J0920.3-0443_daily_bin1221.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/126802/ft2_4FGL_J0920.3-0443_daily_bin1221.fits
.....................!
real 11.66
user 11.15
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126802/ft1_filtered_4FGL_J0920.3-0443_daily_bin1221.fits evtable="EVENTS" scfile=/scratch/kocevski/126802/ft2_4FGL_J0920.3-0443_daily_bin1221.fits sctable="SC_DATA" expcube=/scratch/kocevski/126802/ltcube_555811201_556070401_4FGL_J0920.3-0443_daily_bin1221.fits outfile=/scratch/kocevski/126802/expmap_555811201_556070401_4FGL_J0920.3-0443_daily_bin1221.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/126802/ltcube_555811201_556070401_4FGL_J0920.3-0443_daily_bin1221.fits
.....................!
real 190.33
user 185.37
sys 3.97

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/126802/ft1_filtered_4FGL_J0920.3-0443_daily_bin1221.fits scfile=/scratch/kocevski/126802/ft2_4FGL_J0920.3-0443_daily_bin1221.fits outfile=/scratch/kocevski/126802/cmap_555811201_556070401_4FGL_J0920.3-0443_daily_bin1221.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126802/ft1_filtered_4FGL_J0920.3-0443_daily_bin1221.fits scfile=/scratch/kocevski/126802/ft2_4FGL_J0920.3-0443_daily_bin1221.fits outfile=/scratch/kocevski/126802/cmap_HighResolution_555811201_556070401_4FGL_J0920.3-0443_daily_bin1221.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126802/ft1_filtered_4FGL_J0920.3-0443_daily_bin1221.fits evtable="EVENTS" scfile=/scratch/kocevski/126802/ft2_4FGL_J0920.3-0443_daily_bin1221.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126802/Model_4FGL_J0920.3-0443_daily_bin1221.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/126802/ft1_filtered_4FGL_J0920.3-0443_daily_bin1221.fits......................!
real 29.10
user 26.84
sys 1.07

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.997       1.0000         .10000E-03   10000.    
     2 'Prefactor '    108.90       1.0000         .10000E-03   10000.    
     3 'norm      '    .10119E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.5617       1.0000         .10000E-03   10000.    
     8 'norm      '    2.6156       1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.729       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.9778       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12601E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    8.2209       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0410       1.0000         .10000E-03   10000.    
    17 'norm      '    .37563       1.0000         .10000E-03   10000.    
    18 'norm      '    6.2883       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .72517       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .75820       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=   1743.863     FROM MIGRAD    STATUS=CONVERGED    421 CALLS     2024 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.999        27.531       -.79788E-06   -.77972E-05
   2  Prefactor     108.88        85.442       -.12869E-04   -.11353E-04
   3  norm          .10000E-03    8.8626        .64191E-06** at limit **
   4  norm          .10000E-03    2.7727        .27421E-07** at limit **
   5  Prefactor     .10000E-03    58.198        .93571E-05** at limit **
   6  Prefactor     .10000E-03    8.8139       -.50251E-06** at limit **
   7  norm          9.5677        10.383        .46889E-05   -.50568E-04
   8  norm          2.6178        15.052        .45481E-05   -.15480E-03
   9  Prefactor     25.714        34.118       -.72199E-05    .68253E-05
  10  Prefactor     5.9792        5.3366       -.69490E-06   -.11450E-05
  11  Prefactor     .10000E-03    26.209       -.61390E-05** at limit **
  12  Prefactor     .10000E-03    36.627       -.84690E-05** at limit **
  13  Prefactor     .10000E-03    125.19       -.69081E-05** at limit **
  14  Prefactor     .10000E-03    26.969        .10402E-04** at limit **
  15  norm          8.2204        9.5030       -.16113E-05    .15222E-04
  16  norm          1.0382        8.1519       -.97006E-06   -.31370E-03
  17  norm          .37568        .87358       -.10925E-06   -.40785E-03
  18  norm          6.2881        4.5870        .78104E-07    .23877E-04
  19  Normalizat    .72415        .33362        .26006E-06    .11306E-04
  20  Prefactor     .75892        .22542        .25574E-06    .53341E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 29.9986
  Prefactor  = 108.882
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.56768
  norm       = 2.61784
  Prefactor  = 25.7143
  Prefactor  = 5.97919
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.22038
  norm       = 1.03816
  norm       = 0.375679
  norm       = 6.28811
  Normalizat = 0.724151
  Prefactor  = 0.75892
 **********
 **   18 **HESSE 
 **********

 FCN=   1743.863     FROM HESSE     STATUS=OK           293 CALLS     2317 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.999        27.532        .73153E-04   -1.4612    
   2  Prefactor     108.88        86.148        .38542E-04   -1.3617    
   3  norm          .10000E-03    8.8725        .12145E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.7750        .67914E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    59.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.8188        .12108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.5677        10.396        .12313E-03   -1.5089    
   8  norm          2.6178        14.605        .25220E-03   -1.5384    
   9  Prefactor     25.714        34.136        .78975E-04   -1.4693    
  10  Prefactor     5.9792        5.3365        .86625E-04   -1.5219    
  11  Prefactor     .10000E-03    26.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    37.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    125.72        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    26.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.2204        9.5020        .13508E-03   -1.5134    
  16  norm          1.0382        8.1071        .22824E-03   -1.5504    
  17  norm          .37568        .84594        .54085E-04   -1.5585    
  18  norm          6.2881        4.5772        .73145E-04   -1.5206    
  19  Normalizat    .72415        .39280        .27440E-03   -1.0295    
  20  Prefactor     .75892        .26670        .19767E-03   -1.0126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.34132e-10
Minuit parameter uncertainties:
  1  27.5434
  2  86.2475
  3  2.56158e-05
  4  8.68622e-06
  5  0.000109805
  6  2.00466e-05
  7  10.3977
  8  12.371
  9  34.162
  10  5.33691
  11  2.73484e-05
  12  7.67471e-05
  13  0.000237374
  14  7.4356e-06
  15  9.50373
  16  5.80304
  17  0.845969
  18  4.57747
  19  0.394336
  20  0.267157
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  2.571e+01  3.416e+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:  7.589e-01  2.672e-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.242e-01  3.943e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/126802/likelihoodResults_555811201_556070401_4FGL_J0920.3-0443_daily_bin1221.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) = 1743.84984958
delta logL = 0.0134579094843

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1743.82975003
delta logL = 0.0335574648695

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.843       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0192       1.0000          .0000       10.000    
     3 'Normalizat'    .69596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77347       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=   1743.830     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      277 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.845        57.876        .97592E-04    .62935E-04
   2  Index         3.0186        2.3214        .59182E-02    .28896E-04
   3  Normalizat    .69600        .38536        .27950E-03    .84095E-05
   4  Prefactor     .77347        .27457        .19603E-03    .72231E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.8454
  Index      = 3.01857
  Normalizat = 0.696004
  Prefactor  = 0.77347
 **********
 **   18 **HESSE 
 **********

 FCN=   1743.830     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.845        42.966        .39037E-05   -1.4887    
   2  Index         3.0186        1.7544        .23673E-03   -.40747    
   3  Normalizat    .69600        .37593        .11180E-04   -1.0405    
   4  Prefactor     .77347        .26997        .39205E-04   -1.0071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.85117e-11
Minuit parameter uncertainties:
  1  43.045
  2  1.80017
  3  0.377329
  4  0.270429
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126802': 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) = 1743.82974982
delta logL = 0.0335576744067

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.685e+01  4.305e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  3.019e+00  1.800e+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:  7.735e-01  2.704e-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:  6.960e-01  3.773e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.91
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/126802/cmap_HighResolution_555811201_556070401_4FGL_J0920.3-0443_daily_bin1221.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.14e-02', job_status='DONE', photon_flux_upper_limit='2.74e-07', time_completed='2021-08-31 06:50:54.177504', job_id='126802', GAL2='0.77', fit_tolerance='1e-08', EG2='0.70', EG='0.72', time_epoch_completed='1630417854.18', return_code2='0', ts='0.91', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='3.36e-02', ts2='1.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1221' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:50:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 126802: <4FGL_J0920.3-0443_daily_bin1221> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1221 140.1 -4.7311 555811201 556070401 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 :                                   373.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             246.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   525 sec.
    Turnaround time :                            527 sec.

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

