/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 1 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 = 7490
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0920.9+4441_daily_bin131
RA = 140.229, Dec = 44.699
tmin = 273283201, tmax = 273542401
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='129597', job_status='RUN', time_executed='2021-08-31 06:51:00.023384', time_epoch_executed='1630417860.02' WHERE source_name='4FGL J0920.9+4441' and cadence='daily' and bin_id='131'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/129597

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/129597/ft1_4FGL_J0920.9+4441_daily_bin131.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/129597/ft2_4FGL_J0920.9+4441_daily_bin131.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/129597/ft1_4FGL_J0920.9+4441_daily_bin131.fits outfile=/scratch/kocevski/129597/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin131.fits ra=140.229 dec=44.699 rad=12.0 tmin=273283201.0 tmax=273542401.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 1.80
user 1.50
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/129597/ft2_4FGL_J0920.9+4441_daily_bin131.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/129597/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin131.fits evtable="EVENTS" outfile="/scratch/kocevski/129597/ft1_filtered_4FGL_J0920.9+4441_daily_bin131.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.56
user 0.31
sys 0.23

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/129597/ft1_filtered_4FGL_J0920.9+4441_daily_bin131.fits" evtable="EVENTS" scfile=/scratch/kocevski/129597/ft2_4FGL_J0920.9+4441_daily_bin131.fits sctable="SC_DATA" outfile=/scratch/kocevski/129597/ltcube_273283201_273542401_4FGL_J0920.9+4441_daily_bin131.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/129597/ft2_4FGL_J0920.9+4441_daily_bin131.fits
.....................!
real 14.07
user 13.60
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/129597/ft1_filtered_4FGL_J0920.9+4441_daily_bin131.fits evtable="EVENTS" scfile=/scratch/kocevski/129597/ft2_4FGL_J0920.9+4441_daily_bin131.fits sctable="SC_DATA" expcube=/scratch/kocevski/129597/ltcube_273283201_273542401_4FGL_J0920.9+4441_daily_bin131.fits outfile=/scratch/kocevski/129597/expmap_273283201_273542401_4FGL_J0920.9+4441_daily_bin131.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/129597/ltcube_273283201_273542401_4FGL_J0920.9+4441_daily_bin131.fits
.....................!
real 191.80
user 186.39
sys 4.71

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/129597/ft1_filtered_4FGL_J0920.9+4441_daily_bin131.fits scfile=/scratch/kocevski/129597/ft2_4FGL_J0920.9+4441_daily_bin131.fits outfile=/scratch/kocevski/129597/cmap_273283201_273542401_4FGL_J0920.9+4441_daily_bin131.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.59
user 0.38
sys 0.20

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/129597/ft1_filtered_4FGL_J0920.9+4441_daily_bin131.fits scfile=/scratch/kocevski/129597/ft2_4FGL_J0920.9+4441_daily_bin131.fits outfile=/scratch/kocevski/129597/cmap_HighResolution_273283201_273542401_4FGL_J0920.9+4441_daily_bin131.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.38
sys 0.22

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .65311       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    55.038       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10263E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.8622       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    63.517       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.7593       1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.789       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .74027       1.0000         .10000E-03   10000.    
    16 'Prefactor '    38.472       1.0000         .10000E-03   10000.    
    17 'norm      '    2.2760       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.4489       1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.6375       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.0386       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.3576       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10104E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.5583       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    27.442       1.0000         .10000E-03   10000.    
    28 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    4.5644       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.0275       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.1245       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=   6318.146     FROM MIGRAD    STATUS=CONVERGED    863 CALLS     4559 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .65324        .48339       -.22786E-08   -.19171E-03
   2  Prefactor     .10000E-03    9.8680        .22933E-06** at limit **
   3  Prefactor     .10000E-03    1.1289        .90297E-08** at limit **
   4  Prefactor     55.040        30.629       -.49618E-07   -.36738E-04
   5  Prefactor     .10000E-03    7.6264        .21378E-06** at limit **
   6  Prefactor     5.8622        5.7303        .42686E-07    .16410E-04
   7  norm          .10000E-03    3.3349        .74777E-07** at limit **
   8  norm          .10000E-03    1.5815        .22090E-07** at limit **
   9  Prefactor     .10000E-03    4.6325       -.85682E-07** at limit **
  10  Prefactor     .10000E-03    .84524        .37679E-07** at limit **
  11  Prefactor     .10000E-03    9.5018        .76119E-07** at limit **
  12  Prefactor     63.523        49.623       -.46721E-06    .22373E-04
  13  Prefactor     1.7591        5.1950        .53051E-06   -.28614E-04
  14  Prefactor     35.762        51.508        .30144E-05   -.17372E-04
  15  Prefactor     .73838        2.7777       -.10284E-05   -.73842E-03
  16  Prefactor     38.480        27.630       -.81845E-06    .54387E-04
  17  norm          2.2759        1.0542        .80970E-07    .15211E-03
  18  Prefactor     4.4494        5.5682       -.26159E-06    .37027E-04
  19  norm          .10000E-03    3.1198        .19733E-06** at limit **
  20  Prefactor     1.6384        3.2671        .11201E-05    .69189E-03
  21  Prefactor     2.0386        7.1264        .71264E-05   -.20867E-03
  22  Prefactor     1.3580        2.4546        .60631E-08    .45148E-04
  23  Prefactor     .10000E-03    8.9852       -.24520E-06** at limit **
  24  norm          .10000E-03    17.522        .23682E-06** at limit **
  25  Prefactor     3.5654        25.122       -.23571E-06   -.69233E-05
  26  Prefactor     .10000E-03    1.6727       -.35977E-08** at limit **
  27  Prefactor     27.444        30.717        .19088E-06    .94384E-05
  28  norm          .10000E-03    4.6757        .73349E-07** at limit **
  29  Prefactor     .10000E-03    1.7590       -.88850E-08** at limit **
  30  Prefactor     .10000E-03    51.104       -.54343E-07** at limit **
  31  norm          4.5644        2.9265        .43739E-07   -.85851E-05
  32  Normalizat    1.0274        .18425       -.99371E-06   -.26267E-04
  33  Prefactor     1.1246        .19879        .95372E-07    .56618E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.653239
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 55.04
  Prefactor  = 0.0001
  Prefactor  = 5.86221
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 63.5233
  Prefactor  = 1.75909
  Prefactor  = 35.7621
  Prefactor  = 0.738384
  Prefactor  = 38.4803
  norm       = 2.2759
  Prefactor  = 4.44939
  norm       = 0.0001
  Prefactor  = 1.63839
  Prefactor  = 2.03855
  Prefactor  = 1.35802
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.56538
  Prefactor  = 0.0001
  Prefactor  = 27.4436
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.56436
  Normalizat = 1.02741
  Prefactor  = 1.12462
 **********
 **   18 **HESSE 
 **********

 FCN=   6318.146     FROM HESSE     STATUS=OK           693 CALLS     5252 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .65324        .48432        .46150E-04   -1.5546    
   2  Prefactor     .10000E-03    10.018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.1338        .82461E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     55.040        30.601        .54069E-04   -1.4223    
   5  Prefactor     .10000E-03    7.6997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.8622        5.7325        .16587E-03   -1.5224    
   7  norm          .10000E-03    3.3639        .14173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.5831        .97616E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.6337        .16708E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    .85333        .71337E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.5387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     63.523        49.611        .25176E-03   -1.4112    
  13  Prefactor     1.7591        5.1902        .29570E-03   -1.5443    
  14  Prefactor     35.762        51.353        .66989E-04   -1.4511    
  15  Prefactor     .73838        2.7197        .23430E-03   -1.5536    
  16  Prefactor     38.480        27.432        .64620E-04   -1.4467    
  17  norm          2.2759        1.1656        .17901E-03   -1.5406    
  18  Prefactor     4.4494        6.1792        .13238E-03   -1.5286    
  19  norm          .10000E-03    3.1288        .13704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.6384        3.2133        .17681E-03   -1.5452    
  21  Prefactor     2.0386        7.1263        .14483E-02   -1.5422    
  22  Prefactor     1.3580        2.4140        .16153E-03   -1.5475    
  23  Prefactor     .10000E-03    9.0092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    17.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     3.5654        24.840        .21426E-03   -1.5330    
  26  Prefactor     .10000E-03    1.6753        .10038E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     27.444        30.658        .76475E-04   -1.4660    
  28  norm          .10000E-03    4.6846        .16784E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    1.7652        .10293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    52.190        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          4.5644        2.9286        .10535E-03   -1.5281    
  32  Normalizat    1.0274        .21501        .25570E-03   -.92118    
  33  Prefactor     1.1246        .23290        .27839E-03   -.88683    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19938e-09
Minuit parameter uncertainties:
  1  0.484325
  2  2.6081e-05
  3  7.88384e-07
  4  30.6096
  5  1.89222e-05
  6  5.733
  7  8.74075e-06
  8  1.82171e-06
  9  3.91679e-06
  10  2.32516e-06
  11  2.61073e-05
  12  49.6429
  13  5.19148
  14  51.4167
  15  2.72019
  16  27.441
  17  1.16566
  18  6.18004
  19  2.11675e-05
  20  3.21366
  21  7.12928
  22  2.41413
  23  1.72863e-05
  24  7.38982e-05
  25  18.8324
  26  2.17669e-07
  27  30.6754
  28  4.92759e-06
  29  9.20781e-07
  30  1.9349e-06
  31  2.9287
  32  0.215191
  33  0.233111
Done.

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

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  2.276e+00  1.166e+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

GAL_V02
   Spectrum: PowerLaw
681    Prefactor:  1.125e+00  2.331e-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:  1.027e+00  2.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.86
Ra Dec: 140.229 44.699
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.54e-07 +/- 7.88e-08
Energy Flux (Fixed Index): 5.90e-05 +/- 3.02e-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) = 6318.01267002
delta logL = 0.13333379811

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6318.01007004
delta logL = 0.13593378383

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0277       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4377       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0084       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1393       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=   6318.010     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      210 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0281        7.9832        .72637E-02    .10054E-03
   2  alpha         2.4380        3.6556        .17048        .51984E-04
   3  Normalizat    1.0085        .10677        .46273E-01    .37808E-05
   4  Prefactor     1.1392        .10334        .62589E-01    .70539E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.02805
  alpha      = 2.43804
  Normalizat = 1.00849
  Prefactor  = 1.13916
 **********
 **   18 **HESSE 
 **********

 FCN=   6318.010     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0281        .84265        .33072E-04   -1.5423    
   2  alpha         2.4380        .34250        .71949E-02   -.24785E-01
   3  Normalizat    1.0085        .20531        .25764E-03   -.92746    
   4  Prefactor     1.1392        .23025        .27682E-03   -.88225    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06987e-09
Minuit parameter uncertainties:
  1  0.842659
  2  0.343581
  3  0.205469
  4  0.230448
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/129597': 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) = 6318.01006786
delta logL = 0.135935960378

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  2.028e+00  8.427e-01  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  2.438e+00  3.436e-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.139e+00  2.304e-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:  1.008e+00  2.055e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.86
Ra Dec: 140.229 44.699
Photon Index (Free Index): 2.44 +/- 0.34
Photon Flux (Free Index): 1.70e-07 +/- 5.88e-08
Energy Flux (Free Index): 5.48e-05 +/- 1.87e-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/129597/cmap_HighResolution_273283201_273542401_4FGL_J0920.9+4441_daily_bin131.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.54e-07', energy_flux2='5.48e-05', photon_flux_error='7.88e-08', dlogl='1.36e-01', energy_flux='5.90e-05', photon_flux2='1.70e-07', job_status='DONE', time_completed='2021-08-31 07:06:38.343788', photon_index_error2='0.34', photon_index2='2.44', ts='19.86', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.87e-05', EG='1.03', time_epoch_completed='1630418798.34', return_code='0', job_id='129597', GAL2='1.14', EG2='1.01', return_code2='0', energy_flux_error='3.02e-05', photon_flux_error2='5.88e-08', ts2='20.86', photon_index='2.27' WHERE bin_id='131' AND source_name='4FGL J0920.9+4441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:06:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 129597: <4FGL_J0920.9+4441_daily_bin131> in cluster <slac> Done

Job <4FGL_J0920.9+4441_daily_bin131> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Aug 31 06:50:42 2021
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:50:43 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:50:43 2021
Terminated at Tue Aug 31 07:06:39 2021
Results reported at Tue Aug 31 07:06:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.9+4441_daily_bin131 140.229 44.699 273283201 273542401 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 :                                   933.06 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             330.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            957 sec.

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

