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


Performing analysis on: 4FGL_J0920.9+4441_daily_bin769
RA = 140.229, Dec = 44.699
tmin = 438652801, tmax = 438912001
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='132785', job_status='RUN', time_executed='2021-08-31 07:01:29.672070', time_epoch_executed='1630418489.67' WHERE source_name='4FGL J0920.9+4441' and cadence='daily' and bin_id='769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/132785

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/132785/ft1_4FGL_J0920.9+4441_daily_bin769.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/132785/ft2_4FGL_J0920.9+4441_daily_bin769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/132785/ft1_4FGL_J0920.9+4441_daily_bin769.fits outfile=/scratch/kocevski/132785/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin769.fits ra=140.229 dec=44.699 rad=12.0 tmin=438652801.0 tmax=438912001.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 7.29
user 6.05
sys 1.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/132785/ft2_4FGL_J0920.9+4441_daily_bin769.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/132785/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin769.fits evtable="EVENTS" outfile="/scratch/kocevski/132785/ft1_filtered_4FGL_J0920.9+4441_daily_bin769.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.74
user 0.33
sys 0.90

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/132785/ft1_filtered_4FGL_J0920.9+4441_daily_bin769.fits" evtable="EVENTS" scfile=/scratch/kocevski/132785/ft2_4FGL_J0920.9+4441_daily_bin769.fits sctable="SC_DATA" outfile=/scratch/kocevski/132785/ltcube_438652801_438912001_4FGL_J0920.9+4441_daily_bin769.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/132785/ft2_4FGL_J0920.9+4441_daily_bin769.fits
.....................!
real 13.57
user 11.98
sys 1.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/132785/ft1_filtered_4FGL_J0920.9+4441_daily_bin769.fits evtable="EVENTS" scfile=/scratch/kocevski/132785/ft2_4FGL_J0920.9+4441_daily_bin769.fits sctable="SC_DATA" expcube=/scratch/kocevski/132785/ltcube_438652801_438912001_4FGL_J0920.9+4441_daily_bin769.fits outfile=/scratch/kocevski/132785/expmap_438652801_438912001_4FGL_J0920.9+4441_daily_bin769.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/132785/ltcube_438652801_438912001_4FGL_J0920.9+4441_daily_bin769.fits
.....................!
real 192.06
user 184.86
sys 6.09

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/132785/ft1_filtered_4FGL_J0920.9+4441_daily_bin769.fits scfile=/scratch/kocevski/132785/ft2_4FGL_J0920.9+4441_daily_bin769.fits outfile=/scratch/kocevski/132785/cmap_438652801_438912001_4FGL_J0920.9+4441_daily_bin769.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 1.29
user 0.37
sys 0.90

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/132785/ft1_filtered_4FGL_J0920.9+4441_daily_bin769.fits scfile=/scratch/kocevski/132785/ft2_4FGL_J0920.9+4441_daily_bin769.fits outfile=/scratch/kocevski/132785/cmap_HighResolution_438652801_438912001_4FGL_J0920.9+4441_daily_bin769.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 1.29
user 0.38
sys 0.90

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .95756E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.254       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10357E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.7951       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5987       1.0000         .10000E-03   10000.    
     7 'norm      '    10.946       1.0000         .10000E-03   10000.    
     8 'norm      '    7.9560       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.1964       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.6639       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10257E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    40.951       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .60073E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.6877       1.0000         .10000E-03   10000.    
    19 'norm      '    5.4539       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.5979       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.6263       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.7090       1.0000         .10000E-03   10000.    
    23 'Prefactor '    12.036       1.0000         .10000E-03   10000.    
    24 'norm      '    .10412E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    25.626       1.0000         .10000E-03   10000.    
    26 'Prefactor '    12.039       1.0000         .10000E-03   10000.    
    27 'Prefactor '    10.066       1.0000         .10000E-03   10000.    
    28 'norm      '    4.9374       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .67701       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10924E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    10.017       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .50828       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.2154       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3625.119     FROM MIGRAD    STATUS=CONVERGED   1654 CALLS     5445 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .95899E-01    .32034        .62792E-03    .37903E-03
   2  Prefactor     13.243        12.533        .11002E-03   -.27305E-03
   3  Prefactor     .10000E-03    5.0887        .19351E-02** at limit **
   4  Prefactor     .10000E-03    13.644        .18142E-02** at limit **
   5  Prefactor     2.7943        6.6669        .23269E-03   -.41212E-04
   6  Prefactor     1.5990        7.9808        .16150E-02    .47875E-04
   7  norm          10.945        7.0657        .12109E-03   -.21124E-04
   8  norm          7.9553        6.8589        .13916E-03   -.18218E-04
   9  Prefactor     9.1941        14.918        .13216E-03   -.90754E-05
  10  Prefactor     1.6641        1.6521        .74053E-04   -.26022E-04
  11  Prefactor     .10000E-03    19.056        .18142E-02** at limit **
  12  Prefactor     .10000E-03    37.159        .18142E-02** at limit **
  13  Prefactor     .10000E-03    1.6142        .74543E-03** at limit **
  14  Prefactor     40.814        46.455        .62640E-04   -.14973E-04
  15  Prefactor     .10000E-03    1.7814        .77930E-03** at limit **
  16  Prefactor     .10000E-03    298.37        .53957E-02** at limit **
  17  norm          .10000E-03    .53145        .62543E-03** at limit **
  18  Prefactor     1.6832        2.6694        .11526E-03    .64707E-04
  19  norm          5.4399        8.5400        .86030E-03    .61707E-04
  20  Prefactor     3.5971        3.1768        .91696E-04    .28330E-04
  21  Prefactor     5.6241        9.6072        .84680E-03   -.49204E-05
  22  Prefactor     5.7091        5.8439        .13280E-03   -.23541E-04
  23  Prefactor     12.041        19.594        .11547E-03   -.20283E-04
  24  norm          .10000E-03    15.854        .18142E-02** at limit **
  25  Prefactor     25.638        31.186        .79133E-04    .30170E-05
  26  Prefactor     12.036        12.315        .11545E-03   -.52338E-04
  27  Prefactor     10.091        38.405        .12629E-03   -.11162E-04
  28  norm          4.9358        10.483        .18100E-03   -.12593E-04
  29  Prefactor     .69111        29.250        .28553E-02    .56549E-04
  30  Prefactor     .10000E-03    40.336        .18142E-02** at limit **
  31  norm          10.017        5.3775        .98156E-04   -.48298E-04
  32  Normalizat    .50806        .25445        .29284E-03   -.15966E-03
  33  Prefactor     1.2155        .26952        .22109E-03   -.76657E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0958987
  Prefactor  = 13.2432
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.79425
  Prefactor  = 1.59903
  norm       = 10.9455
  norm       = 7.95526
  Prefactor  = 9.19411
  Prefactor  = 1.66408
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.8141
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 1.6832
  norm       = 5.43994
  Prefactor  = 3.59712
  Prefactor  = 5.6241
  Prefactor  = 5.70911
  Prefactor  = 12.0407
  norm       = 0.0001
  Prefactor  = 25.6382
  Prefactor  = 12.0365
  Prefactor  = 10.0913
  norm       = 4.93577
  Prefactor  = 0.691106
  Prefactor  = 0.0001
  norm       = 10.0165
  Normalizat = 0.508057
  Prefactor  = 1.21552
 **********
 **   18 **HESSE 
 **********

 FCN=   3625.119     FROM HESSE     STATUS=OK           671 CALLS     6116 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .95899E-01    .31999        .25117E-04   -1.5646    
   2  Prefactor     13.243        12.528        .44010E-05   -1.4980    
   3  Prefactor     .10000E-03    5.1018        .38703E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.645        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.7943        6.6664        .93075E-05   -1.5374    
   6  Prefactor     1.5990        7.9623        .64600E-04   -1.5455    
   7  norm          10.945        7.0654        .48438E-05   -1.5046    
   8  norm          7.9553        6.8571        .55665E-05   -1.5144    
   9  Prefactor     9.1941        14.912        .52864E-05   -1.5101    
  10  Prefactor     1.6641        1.6521        .29621E-05   -1.5450    
  11  Prefactor     .10000E-03    19.058        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    37.160        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.6142        .14909E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     40.814        46.128        .25056E-05   -1.4429    
  15  Prefactor     .10000E-03    1.7815        .15586E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    303.01        .21583E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .53161        .12509E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.6832        2.6674        .46102E-05   -1.5448    
  19  norm          5.4399        8.5003        .34412E-04   -1.5241    
  20  Prefactor     3.5971        3.1751        .36678E-05   -1.5329    
  21  Prefactor     5.6241        9.6058        .33872E-04   -1.5234    
  22  Prefactor     5.7091        5.8428        .53122E-05   -1.5230    
  23  Prefactor     12.041        19.591        .46186E-05   -1.5014    
  24  norm          .10000E-03    15.855        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     25.638        31.178        .31653E-05   -1.4695    
  26  Prefactor     12.036        12.230        .46180E-05   -1.5014    
  27  Prefactor     10.091        38.395        .50518E-05   -1.5073    
  28  norm          4.9358        10.477        .72401E-05   -1.5264    
  29  Prefactor     .69111        28.550        .11421E-03   -1.5542    
  30  Prefactor     .10000E-03    40.344        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          10.017        5.3682        .39263E-05   -1.5075    
  32  Normalizat    .50806        .25431        .11714E-04   -1.1204    
  33  Prefactor     1.2155        .26965        .44219E-04   -.85855    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83972e-10
Minuit parameter uncertainties:
  1  0.319993
  2  12.5302
  3  8.96528e-05
  4  5.16895e-06
  5  6.66816
  6  7.13768
  7  7.06594
  8  6.85778
  9  14.9185
  10  1.65213
  11  3.4174e-06
  12  7.27625e-05
  13  1.0348e-06
  14  46.1683
  15  2.55315e-07
  16  0.00144476
  17  3.7629e-06
  18  2.66761
  19  8.50218
  20  3.1753
  21  9.60844
  22  5.84341
  23  19.6015
  24  1.05095e-05
  25  31.1976
  26  12.233
  27  38.4893
  28  10.4814
  29  8.88782
  30  6.40085e-05
  31  5.36845
  32  0.254892
  33  0.269958
Done.

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

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  1.000e-04  3.763e-06  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.216e+00  2.700e-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:  5.081e-01  2.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 140.229 44.699
Photon Flux Upper Limit: 7.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.01e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/132785/likelihoodResults_438652801_438912001_4FGL_J0920.9+4441_daily_bin769.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) = 3625.12773406
delta logL = -0.0089198320743

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3625.11880667
delta logL = 7.55133123675e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3099       1.0000          .0000       5.0000    
     3 'Normalizat'    .50806       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2155       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=   3624.881     FROM MIGRAD    STATUS=CONVERGED    168 CALLS      330 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10554E-01    .62391        .21337E-02    .55347E-02
   2  alpha         4.6824        4.4783        .41303       -.15646E-05
   3  Normalizat    .46564        .55484E-01    .68877E-01    .48997E-05
   4  Prefactor     1.2454        .60390E-01    .49467E-01   -.69158E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0105539
  alpha      = 4.68237
  Normalizat = 0.465642
  Prefactor  = 1.24537
 **********
 **   18 **HESSE 
 **********

 FCN=   3624.881     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      363 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10554E-01    1.3150        .97168E-04   -1.5688    
   2  alpha         4.6824        4.3748        .50095E-01    1.0612    
   3  Normalizat    .46564        .16126        .30488E-03   -1.1404    
   4  Prefactor     1.2454        .17916        .21867E-03   -.84946    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.18228e-07
Minuit parameter uncertainties:
  1  0.234496
  2  11.9617
  3  0.161417
  4  0.179248
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/132785': 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): 102
logL (Free Index) = 3624.881485
delta logL = 0.237329222859

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  1.055e-02  2.345e-01  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  4.682e+00  1.196e+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.245e+00  1.792e-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:  4.656e-01  1.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 140.229 44.699

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/132785/cmap_HighResolution_438652801_438912001_4FGL_J0920.9+4441_daily_bin769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.01e-05', job_status='DONE', photon_flux_upper_limit='7.84e-08', time_completed='2021-08-31 07:15:44.908027', job_id='132785', GAL2='1.25', fit_tolerance='1e-08', EG2='0.47', EG='0.51', time_epoch_completed='1630419344.91', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='2.37e-01', ts2='0.52', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='769' AND source_name='4FGL J0920.9+4441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:15:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 132785: <4FGL_J0920.9+4441_daily_bin769> in cluster <slac> Done

Job <4FGL_J0920.9+4441_daily_bin769> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 07:00:57 2021
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 07:00:59 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:00:59 2021
Terminated at Tue Aug 31 07:15:47 2021
Results reported at Tue Aug 31 07:15:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.9+4441_daily_bin769 140.229 44.699 438652801 438912001 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 :                                   862.36 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             305.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   886 sec.
    Turnaround time :                            890 sec.

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

