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


Performing analysis on: 4FGL_J0920.9+4441_daily_bin964
RA = 140.229, Dec = 44.699
tmin = 489196801, tmax = 489456001
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='133089', job_status='RUN', time_executed='2021-08-31 07:01:41.067982', time_epoch_executed='1630418501.07' WHERE source_name='4FGL J0920.9+4441' and cadence='daily' and bin_id='964'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/133089

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/133089/ft1_4FGL_J0920.9+4441_daily_bin964.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/133089/ft2_4FGL_J0920.9+4441_daily_bin964.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/133089/ft1_4FGL_J0920.9+4441_daily_bin964.fits outfile=/scratch/kocevski/133089/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin964.fits ra=140.229 dec=44.699 rad=12.0 tmin=489196801.0 tmax=489456001.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 5.94
user 4.67
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/133089/ft1_filtered_4FGL_J0920.9+4441_daily_bin964.fits evtable="EVENTS" scfile=/scratch/kocevski/133089/ft2_4FGL_J0920.9+4441_daily_bin964.fits sctable="SC_DATA" expcube=/scratch/kocevski/133089/ltcube_489196801_489456001_4FGL_J0920.9+4441_daily_bin964.fits outfile=/scratch/kocevski/133089/expmap_489196801_489456001_4FGL_J0920.9+4441_daily_bin964.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/133089/ltcube_489196801_489456001_4FGL_J0920.9+4441_daily_bin964.fits
.....................!
real 191.59
user 185.43
sys 5.32

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/133089/ft1_filtered_4FGL_J0920.9+4441_daily_bin964.fits scfile=/scratch/kocevski/133089/ft2_4FGL_J0920.9+4441_daily_bin964.fits outfile=/scratch/kocevski/133089/cmap_489196801_489456001_4FGL_J0920.9+4441_daily_bin964.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/133089/ft1_filtered_4FGL_J0920.9+4441_daily_bin964.fits scfile=/scratch/kocevski/133089/ft2_4FGL_J0920.9+4441_daily_bin964.fits outfile=/scratch/kocevski/133089/cmap_HighResolution_489196801_489456001_4FGL_J0920.9+4441_daily_bin964.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.54
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/133089/ft1_filtered_4FGL_J0920.9+4441_daily_bin964.fits', '/scratch/kocevski/133089/ft2_4FGL_J0920.9+4441_daily_bin964.fits', expMap='/scratch/kocevski/133089/expmap_489196801_489456001_4FGL_J0920.9+4441_daily_bin964.fits', expCube='/scratch/kocevski/133089/ltcube_489196801_489456001_4FGL_J0920.9+4441_daily_bin964.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/133089/Model_4FGL_J0920.9+4441_daily_bin964.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/133089/ft1_filtered_4FGL_J0920.9+4441_daily_bin964.fits
Spacecraft file(s): /scratch/kocevski/133089/ft2_4FGL_J0920.9+4441_daily_bin964.fits
Exposure map: /scratch/kocevski/133089/expmap_489196801_489456001_4FGL_J0920.9+4441_daily_bin964.fits
Exposure cube: /scratch/kocevski/133089/ltcube_489196801_489456001_4FGL_J0920.9+4441_daily_bin964.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/133089/Model_4FGL_J0920.9+4441_daily_bin964.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) = 5614.4765634

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30535       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10210E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.1894       1.0000         .10000E-03   10000.    
     4 'Prefactor '    32.486       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.2512       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.125       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.3951       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.368       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .14574E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.3527       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .60306       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .32848       1.0000         .10000E-03   10000.    
    19 'norm      '    .78222       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.6054       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.4049       1.0000         .10000E-03   10000.    
    24 'norm      '    19.746       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10344E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .15905E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    34.187       1.0000         .10000E-03   10000.    
    28 'norm      '    46.434       1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.1941       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .13883E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    10.736       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .95581       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .86099       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=   5614.419     FROM MIGRAD    STATUS=CONVERGED    899 CALLS     4636 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .30526        .29968       -.45051E-08    .18050E-03
   2  Prefactor     .10000E-03    11.542        .39581E-05** at limit **
   3  Prefactor     4.1883        3.4882       -.21119E-05   -.21976E-03
   4  Prefactor     32.483        22.586       -.87175E-06   -.19559E-04
   5  Prefactor     .10000E-03    2.4595        .13617E-06** at limit **
   6  Prefactor     .10000E-03    3.0051        .27671E-06** at limit **
   7  norm          .10000E-03    1.2618        .11098E-06** at limit **
   8  norm          2.2498        2.5872        .23905E-06   -.13216E-02
   9  Prefactor     22.125        18.931       -.16574E-06    .36567E-05
  10  Prefactor     1.3941        2.3909       -.23362E-06   -.94488E-04
  11  Prefactor     17.369        16.927       -.15290E-06    .13384E-04
  12  Prefactor     .10000E-03    19.933        .19252E-05** at limit **
  13  Prefactor     .10000E-03    2.9229        .22136E-06** at limit **
  14  Prefactor     .10000E-03    20.254        .42820E-05** at limit **
  15  Prefactor     2.3521        2.5791       -.78719E-07   -.58000E-04
  16  Prefactor     .10000E-03    6.6216       -.91363E-06** at limit **
  17  norm          .60104        .51471       -.20258E-08   -.73080E-04
  18  Prefactor     .35328        2.6274        .10469E-06   -.17230E-03
  19  norm          .78180        2.7997        .28230E-07   -.10220E-03
  20  Prefactor     .10000E-03    .55823        .83611E-07** at limit **
  21  Prefactor     3.6052        6.8986       -.41848E-07   -.46061E-03
  22  Prefactor     .10000E-03    1.9321        .29355E-07** at limit **
  23  Prefactor     4.3981        16.977        .14341E-05    .10052E-03
  24  norm          19.742        17.812       -.35851E-06    .72471E-04
  25  Prefactor     .10000E-03    18.589       -.60886E-05** at limit **
  26  Prefactor     .10001E-03    4.6692       -.13006E-05** at limit **
  27  Prefactor     34.190        34.073        .28978E-05    .47156E-04
  28  norm          46.435        16.410        .68578E-07    .93793E-04
  29  Prefactor     1.1938        2.9578       -.26835E-06    .46670E-04
  30  Prefactor     .10000E-03    67.213       -.47035E-05** at limit **
  31  norm          10.736        3.5572       -.51856E-06    .49009E-04
  32  Normalizat    .95547        .17782        .92436E-07    .15374E-03
  33  Prefactor     .86140        .18379        .40714E-06    .50230E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.305261
  Prefactor  = 0.0001
  Prefactor  = 4.1883
  Prefactor  = 32.4834
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.2498
  Prefactor  = 22.125
  Prefactor  = 1.39406
  Prefactor  = 17.3688
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.35214
  Prefactor  = 0.0001
  norm       = 0.601035
  Prefactor  = 0.353284
  norm       = 0.7818
  Prefactor  = 0.0001
  Prefactor  = 3.6052
  Prefactor  = 0.0001
  Prefactor  = 4.39814
  norm       = 19.7417
  Prefactor  = 0.0001
  Prefactor  = 0.000100014
  Prefactor  = 34.1896
  norm       = 46.4347
  Prefactor  = 1.19378
  Prefactor  = 0.0001
  norm       = 10.7362
  Normalizat = 0.955466
  Prefactor  = 0.861405
 **********
 **   18 **HESSE 
 **********

 FCN=   5614.419     FROM HESSE     STATUS=OK           711 CALLS     5347 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .30526        .31203        .39559E-03   -1.5597    
   2  Prefactor     .10000E-03    11.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.1883        3.5037        .12350E-03   -1.5299    
   4  Prefactor     32.483        22.581        .70302E-04   -1.4567    
   5  Prefactor     .10000E-03    2.4614        .11476E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.0110        .12682E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.2626        .82194E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.2498        5.4822        .13017E-02   -1.5408    
   9  Prefactor     22.125        18.935        .85155E-04   -1.4767    
  10  Prefactor     1.3941        2.3495        .14153E-03   -1.5472    
  11  Prefactor     17.369        17.017        .96104E-04   -1.4874    
  12  Prefactor     .10000E-03    19.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.8024        .24745E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    20.241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.3521        2.5540        .11916E-03   -1.5401    
  16  Prefactor     .10000E-03    6.6332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .60104        .61911        .37584E-04   -1.5553    
  18  Prefactor     .35328        14.987        .16956E-02   -1.5589    
  19  norm          .78180        2.9202        .22906E-02   -1.5531    
  20  Prefactor     .10000E-03    .56128        .54612E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.6052        7.3634        .10640E-02   -1.5328    
  22  Prefactor     .10000E-03    3.5704        .19860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.3981        16.707        .19189E-03   -1.5289    
  24  norm          19.742        17.797        .90134E-04   -1.4819    
  25  Prefactor     .10000E-03    18.655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10001E-03    13.574        .29800E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     34.190        34.226        .68536E-04   -1.4538    
  28  norm          46.435        16.433        .58841E-04   -1.4344    
  29  Prefactor     1.1938        2.8773        .19454E-03   -1.5489    
  30  Prefactor     .10000E-03    68.422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          10.736        3.5554        .78699E-04   -1.5053    
  32  Normalizat    .95547        .20920        .22649E-03   -.94538    
  33  Prefactor     .86140        .21772        .26788E-03   -.97503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71028e-08
Minuit parameter uncertainties:
  1  0.312035
  2  0.000112673
  3  3.50392
  4  22.587
  5  2.44538e-06
  6  1.41655e-07
  7  2.07562e-07
  8  5.48339
  9  18.9402
  10  2.34963
  11  17.0213
  12  6.5164e-06
  13  7.42761e-05
  14  1.11232e-05
  15  2.55416
  16  3.13906e-06
  17  0.619112
  18  4.60257
  19  2.92076
  20  4.00981e-07
  21  7.36523
  22  2.31659e-05
  23  16.725
  24  17.8015
  25  5.54298e-05
  26  0.000874481
  27  34.2458
  28  16.435
  29  2.87764
  30  5.63051e-05
  31  3.55544
  32  0.209381
  33  0.217936
Done.

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

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  6.010e-01  6.191e-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:  8.614e-01  2.179e-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:  9.555e-01  2.094e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.76
Ra Dec: 140.229 44.699
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 4.06e-08 +/- 4.18e-08
Energy Flux (Fixed Index): 1.56e-05 +/- 1.60e-05

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) = 5614.30827744
delta logL = 0.110640950125

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5614.2967167
delta logL = 0.122201687988

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .51211       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6709       1.0000          .0000       5.0000    
     3 'Normalizat'    .93051       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87846       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=   5614.297     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      208 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .51212        5.1466        .70244E-02    .78372E-03
   2  alpha         2.6709        3.7460        .28155        .67797E-04
   3  Normalizat    .93051        .64867E-01    .45290E-01    .43920E-04
   4  Prefactor     .87845        .58193E-01    .44730E-01   -.95966E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.512121
  alpha      = 2.67088
  Normalizat = 0.930513
  Prefactor  = 0.878454
 **********
 **   18 **HESSE 
 **********

 FCN=   5614.297     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .51212        .44133        .31532E-04   -1.5565    
   2  alpha         2.6709        .85280        .13975E-01    .68407E-01
   3  Normalizat    .93051        .19225        .22908E-03   -.95396    
   4  Prefactor     .87845        .21078        .26555E-03   -.96898    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.89185e-11
Minuit parameter uncertainties:
  1  0.441331
  2  0.870355
  3  0.192391
  4  0.210972
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/133089': 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) = 5614.2967167
delta logL = 0.122201689579

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  5.121e-01  4.413e-01  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  2.671e+00  8.704e-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:  8.785e-01  2.110e-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:  9.305e-01  1.924e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.02
Ra Dec: 140.229 44.699
Photon Index (Free Index): 2.67 +/- 0.87
Photon Flux (Free Index): 5.88e-08 +/- 5.06e-08
Energy Flux (Free Index): 1.57e-05 +/- 9.54e-06

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/133089/cmap_HighResolution_489196801_489456001_4FGL_J0920.9+4441_daily_bin964.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.06e-08', energy_flux2='1.57e-05', photon_flux_error='4.18e-08', dlogl='1.22e-01', energy_flux='1.56e-05', photon_flux2='5.88e-08', job_status='DONE', time_completed='2021-08-31 07:16:26.324579', photon_index_error2='0.87', photon_index2='2.67', ts='4.76', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='9.54e-06', EG='0.96', time_epoch_completed='1630419386.32', return_code='0', job_id='133089', GAL2='0.88', EG2='0.93', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='5.06e-08', ts2='5.02', photon_index='2.27' WHERE bin_id='964' AND source_name='4FGL J0920.9+4441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:16:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 133089: <4FGL_J0920.9+4441_daily_bin964> in cluster <slac> Done

Job <4FGL_J0920.9+4441_daily_bin964> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 07:01:25 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 07:01:27 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:27 2021
Terminated at Tue Aug 31 07:16:27 2021
Results reported at Tue Aug 31 07:16:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.9+4441_daily_bin964 140.229 44.699 489196801 489456001 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 :                                   881.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             348.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            902 sec.

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

