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


Performing analysis on: 4FGL_J0920.9+4441_daily_bin925
RA = 140.229, Dec = 44.699
tmin = 479088001, tmax = 479347201
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='133028', job_status='RUN', time_executed='2021-08-31 07:01:57.547757', time_epoch_executed='1630418517.55' WHERE source_name='4FGL J0920.9+4441' and cadence='daily' and bin_id='925'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/133028

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/133028/ft1_4FGL_J0920.9+4441_daily_bin925.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/133028/ft2_4FGL_J0920.9+4441_daily_bin925.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/133028/ft1_4FGL_J0920.9+4441_daily_bin925.fits outfile=/scratch/kocevski/133028/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin925.fits ra=140.229 dec=44.699 rad=12.0 tmin=479088001.0 tmax=479347201.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 3.72
user 3.26
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/133028/ft2_4FGL_J0920.9+4441_daily_bin925.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/133028/ft2_4FGL_J0920.9+4441_daily_bin925.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/133028/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin925.fits evtable="EVENTS" outfile="/scratch/kocevski/133028/ft1_filtered_4FGL_J0920.9+4441_daily_bin925.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.62
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/133028/ft1_filtered_4FGL_J0920.9+4441_daily_bin925.fits" evtable="EVENTS" scfile=/scratch/kocevski/133028/ft2_4FGL_J0920.9+4441_daily_bin925.fits sctable="SC_DATA" outfile=/scratch/kocevski/133028/ltcube_479088001_479347201_4FGL_J0920.9+4441_daily_bin925.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/133028/ft2_4FGL_J0920.9+4441_daily_bin925.fits
.....................!
real 12.07
user 11.33
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/133028/ft1_filtered_4FGL_J0920.9+4441_daily_bin925.fits evtable="EVENTS" scfile=/scratch/kocevski/133028/ft2_4FGL_J0920.9+4441_daily_bin925.fits sctable="SC_DATA" expcube=/scratch/kocevski/133028/ltcube_479088001_479347201_4FGL_J0920.9+4441_daily_bin925.fits outfile=/scratch/kocevski/133028/expmap_479088001_479347201_4FGL_J0920.9+4441_daily_bin925.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/133028/ltcube_479088001_479347201_4FGL_J0920.9+4441_daily_bin925.fits
.....................!
real 191.68
user 185.15
sys 4.45

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 216 point sources and 0 extended sources

Setting source of interest to:
4FGL J0920.9+4441 @ 140.229 44.699

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/133028/ft1_filtered_4FGL_J0920.9+4441_daily_bin925.fits scfile=/scratch/kocevski/133028/ft2_4FGL_J0920.9+4441_daily_bin925.fits outfile=/scratch/kocevski/133028/cmap_479088001_479347201_4FGL_J0920.9+4441_daily_bin925.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.229 yref=44.699 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.64
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/133028/ft1_filtered_4FGL_J0920.9+4441_daily_bin925.fits scfile=/scratch/kocevski/133028/ft2_4FGL_J0920.9+4441_daily_bin925.fits outfile=/scratch/kocevski/133028/cmap_HighResolution_479088001_479347201_4FGL_J0920.9+4441_daily_bin925.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.229 yref=44.699 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.61
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/133028/ft1_filtered_4FGL_J0920.9+4441_daily_bin925.fits evtable="EVENTS" scfile=/scratch/kocevski/133028/ft2_4FGL_J0920.9+4441_daily_bin925.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/133028/Model_4FGL_J0920.9+4441_daily_bin925.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/133028/ft1_filtered_4FGL_J0920.9+4441_daily_bin925.fits.....................!
real 55.68
user 53.65
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/133028/ft1_filtered_4FGL_J0920.9+4441_daily_bin925.fits', '/scratch/kocevski/133028/ft2_4FGL_J0920.9+4441_daily_bin925.fits', expMap='/scratch/kocevski/133028/expmap_479088001_479347201_4FGL_J0920.9+4441_daily_bin925.fits', expCube='/scratch/kocevski/133028/ltcube_479088001_479347201_4FGL_J0920.9+4441_daily_bin925.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/133028/Model_4FGL_J0920.9+4441_daily_bin925.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0920.9+4441'

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  1.124e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  2.267e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  1.363e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  8.119e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/133028/ft1_filtered_4FGL_J0920.9+4441_daily_bin925.fits
Spacecraft file(s): /scratch/kocevski/133028/ft2_4FGL_J0920.9+4441_daily_bin925.fits
Exposure map: /scratch/kocevski/133028/expmap_479088001_479347201_4FGL_J0920.9+4441_daily_bin925.fits
Exposure cube: /scratch/kocevski/133028/ltcube_479088001_479347201_4FGL_J0920.9+4441_daily_bin925.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/133028/Model_4FGL_J0920.9+4441_daily_bin925.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) = 6209.4193035

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8480       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14272       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.494       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10623E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.2535       1.0000         .10000E-03   10000.    
     7 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .15494E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .20607E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.169       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10281E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.3424       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.1733       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .39694       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .15276E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.0620       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.4040       1.0000         .10000E-03   10000.    
    23 'Prefactor '    24.562       1.0000         .10000E-03   10000.    
    24 'norm      '    6.9467       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10439E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    6.2594       1.0000         .10000E-03   10000.    
    27 'Prefactor '    10.740       1.0000         .10000E-03   10000.    
    28 'norm      '    5.3264       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    4.9838       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .64026       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.1352       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6209.393     FROM MIGRAD    STATUS=CONVERGED    909 CALLS     4670 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8480        .71332        .30071E-08   -.10283E-03
   2  Prefactor     .10000E-03    5.7112       -.37806E-07** at limit **
   3  Prefactor     .14633        1.5061        .30139E-06   -.41267E-03
   4  Prefactor     17.492        21.940       -.13000E-06   -.11473E-04
   5  Prefactor     .10000E-03    9.5504       -.92239E-06** at limit **
   6  Prefactor     3.2559        4.2413       -.22331E-06   -.25081E-03
   7  norm          .10000E-03    2.1849        .32047E-07** at limit **
   8  norm          .10001E-03    5.0090        .79783E-06** at limit **
   9  Prefactor     .10000E-03    4.1020        .54011E-07** at limit **
  10  Prefactor     .25524E-01    .88639       -.17494E-06    .38517E-03
  11  Prefactor     22.191        20.457        .14865E-05    .40279E-03
  12  Prefactor     .10000E-03    49.724        .88284E-06** at limit **
  13  Prefactor     1.3426        3.7628        .10307E-05   -.13384E-04
  14  Prefactor     .10000E-03    12.291        .10283E-05** at limit **
  15  Prefactor     5.1731        2.8337        .86923E-06    .92978E-04
  16  Prefactor     .10000E-03    7.9560        .41155E-06** at limit **
  17  norm          .39687        .29170       -.61093E-08    .37011E-03
  18  Prefactor     .10000E-03    .59616       -.57362E-08** at limit **
  19  norm          .10004E-03    5.6937       -.17624E-05** at limit **
  20  Prefactor     .10000E-03    1.0117       -.35180E-06** at limit **
  21  Prefactor     8.0611        7.7871        .12480E-07   -.15551E-04
  22  Prefactor     3.4033        2.7425        .26778E-08   -.24179E-04
  23  Prefactor     24.564        18.356        .26766E-07    .28595E-04
  24  norm          6.9452        11.099        .49252E-06    .51110E-04
  25  Prefactor     .10000E-03    23.270        .74389E-06** at limit **
  26  Prefactor     6.2621        6.3136        .11712E-06   -.24745E-04
  27  Prefactor     10.722        21.416       -.20941E-05   -.26330E-03
  28  norm          5.3252        11.687        .46245E-06   -.15934E-05
  29  Prefactor     .10000E-03    3.6488       -.91409E-07** at limit **
  30  Prefactor     .10000E-03    5.7264       -.17032E-07** at limit **
  31  norm          4.9838        2.4667        .13085E-07    .17327E-04
  32  Normalizat    .64057        .15697       -.68878E-06    .21576E-03
  33  Prefactor     1.1348        .16874       -.41073E-06    .14486E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.84804
  Prefactor  = 0.0001
  Prefactor  = 0.146334
  Prefactor  = 17.4922
  Prefactor  = 0.0001
  Prefactor  = 3.25594
  norm       = 0.0001
  norm       = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 0.0255243
  Prefactor  = 22.1914
  Prefactor  = 0.0001
  Prefactor  = 1.34263
  Prefactor  = 0.000100001
  Prefactor  = 5.17306
  Prefactor  = 0.0001
  norm       = 0.396872
  Prefactor  = 0.0001
  norm       = 0.00010004
  Prefactor  = 0.0001
  Prefactor  = 8.06108
  Prefactor  = 3.4033
  Prefactor  = 24.5641
  norm       = 6.94517
  Prefactor  = 0.000100001
  Prefactor  = 6.26208
  Prefactor  = 10.722
  norm       = 5.32521
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.98385
  Normalizat = 0.640572
  Prefactor  = 1.13484
 **********
 **   18 **HESSE 
 **********

 FCN=   6209.393     FROM HESSE     STATUS=OK           707 CALLS     5377 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8480        .71084        .39533E-04   -1.5436    
   2  Prefactor     .10000E-03    5.7267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .14633        3.7121        .18657E-02   -1.5631    
   4  Prefactor     17.492        21.852        .95758E-04   -1.4871    
   5  Prefactor     .10000E-03    9.7620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.2559        4.2302        .17937E-03   -1.5347    
   7  norm          .10000E-03    2.1946        .11368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10001E-03    14.361        .32407E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.1053        .15586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .25524E-01    26.855        .14038E-02   -1.5676    
  11  Prefactor     22.191        20.669        .85071E-04   -1.4765    
  12  Prefactor     .10000E-03    49.865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.3426        3.7715        .24598E-03   -1.5476    
  14  Prefactor     .10000E-03    12.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.1731        2.9900        .48905E-03   -1.5253    
  16  Prefactor     .10000E-03    8.0011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .39687        .28661        .35058E-04   -1.5582    
  18  Prefactor     .10000E-03    .59973        .59324E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10004E-03    18.419        .32983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.4724        .15118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.0611        7.7778        .14121E-03   -1.5140    
  22  Prefactor     3.4033        2.7370        .11037E-03   -1.5339    
  23  Prefactor     24.564        18.284        .80826E-04   -1.4716    
  24  norm          6.9452        11.102        .15222E-03   -1.5181    
  25  Prefactor     .10000E-03    23.649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     6.2621        6.1938        .16045E-03   -1.5207    
  27  Prefactor     10.722        22.277        .12225E-03   -1.5053    
  28  norm          5.3252        11.639        .17414E-03   -1.5246    
  29  Prefactor     .10000E-03    8.1929        .27971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    5.7278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          4.9838        2.4650        .84421E-04   -1.5261    
  32  Normalizat    .64057        .17396        .25434E-03   -1.0629    
  33  Prefactor     1.1348        .18982        .22834E-03   -.88361    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.3323e-08
Minuit parameter uncertainties:
  1  0.710843
  2  1.63326e-06
  3  1.47365
  4  21.8615
  5  0.000135708
  6  4.23059
  7  8.39741e-07
  8  0.000715309
  9  2.12425e-07
  10  1.65334
  11  20.676
  12  0.000202565
  13  3.77218
  14  0.000195949
  15  2.99006
  16  8.08955e-05
  17  0.286607
  18  2.50584e-07
  19  0.00172276
  20  7.42535e-07
  21  7.77874
  22  2.73712
  23  18.288
  24  11.1054
  25  0.000300964
  26  6.19448
  27  22.2946
  28  11.6439
  29  5.68439e-05
  30  2.54024e-07
  31  2.46506
  32  0.174108
  33  0.189935
Done.

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

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  3.969e-01  2.866e-01  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  2.267e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  1.363e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  8.119e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
681    Prefactor:  1.135e+00  1.899e-01  0.000e+00  1.000e+01 ( 1.000e+00)
682        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
683        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
680   Normalization:  6.406e-01  1.741e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.94
Ra Dec: 140.229 44.699
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 2.68e-08 +/- 1.94e-08
Energy Flux (Fixed Index): 1.03e-05 +/- 7.43e-06

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) = 6208.85823119
delta logL = 0.534462787486

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6208.84657568
delta logL = 0.546118291071

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50244       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6845       1.0000          .0000       5.0000    
     3 'Normalizat'    .65072       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1268       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6208.847     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      201 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .50234        13.896        .84464E-02   -.81534E-04
   2  alpha         1.6844        3.1720        .38646       -.40132E-05
   3  Normalizat    .65073        .18953        .41629E-01    .24048E-04
   4  Prefactor     1.1268        .22280        .36646E-01    .41094E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.502344
  alpha      = 1.6844
  Normalizat = 0.650726
  Prefactor  = 1.12682
 **********
 **   18 **HESSE 
 **********

 FCN=   6208.847     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .22E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .50234        .34574        .37547E-04   -1.5566    
   2  alpha         1.6844        .52280        .15194E-01   -.33232    
   3  Normalizat    .65073        .15833        .25246E-03   -1.0587    
   4  Prefactor     1.1268        .18562        .22896E-03   -.88614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19412e-14
Minuit parameter uncertainties:
  1  0.345742
  2  0.527166
  3  0.158438
  4  0.18573
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/133028': 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) = 6208.84657563
delta logL = 0.546118344235

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  5.023e-01  3.457e-01  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  1.684e+00  5.272e-01  0.000e+00  5.000e+00 ( 1.000e+00)
318         beta:  1.363e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  8.119e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
681    Prefactor:  1.127e+00  1.857e-01  0.000e+00  1.000e+01 ( 1.000e+00)
682        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
683        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
680   Normalization:  6.507e-01  1.584e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.04
Ra Dec: 140.229 44.699
Photon Index (Free Index): 1.68 +/- 0.53
Photon Flux (Free Index): 1.91e-08 +/- 1.54e-08
Energy Flux (Free Index): 1.77e-05 +/- 1.62e-05

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/133028/cmap_HighResolution_479088001_479347201_4FGL_J0920.9+4441_daily_bin925.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.68e-08', energy_flux2='1.77e-05', photon_flux_error='1.94e-08', dlogl='5.46e-01', energy_flux='1.03e-05', photon_flux2='1.91e-08', job_status='DONE', time_completed='2021-08-31 07:17:16.353957', photon_index_error2='0.53', photon_index2='1.68', ts='4.94', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='1.62e-05', EG='0.64', time_epoch_completed='1630419436.35', return_code='0', job_id='133028', GAL2='1.13', EG2='0.65', return_code2='0', energy_flux_error='7.43e-06', photon_flux_error2='1.54e-08', ts2='6.04', photon_index='2.27' WHERE bin_id='925' AND source_name='4FGL J0920.9+4441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:17:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 133028: <4FGL_J0920.9+4441_daily_bin925> in cluster <slac> Done

Job <4FGL_J0920.9+4441_daily_bin925> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 07:01:21 2021
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 07:01:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 07:01:23 2021
Terminated at Tue Aug 31 07:17:17 2021
Results reported at Tue Aug 31 07:17:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.9+4441_daily_bin925 140.229 44.699 479088001 479347201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0920.9+4441 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   911.37 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             335.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   953 sec.
    Turnaround time :                            956 sec.

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

