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


Performing analysis on: 4FGL_J0754.7+4823_daily_bin1229
RA = 118.693, Dec = 48.3932
tmin = 557884801, tmax = 558144001
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='16485', job_status='RUN', time_executed='2021-08-28 20:04:46.689804', time_epoch_executed='1630206286.69' WHERE source_name='4FGL J0754.7+4823' and cadence='daily' and bin_id='1229'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/16485

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/16485/ft1_4FGL_J0754.7+4823_daily_bin1229.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/16485/ft2_4FGL_J0754.7+4823_daily_bin1229.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/16485/ft1_4FGL_J0754.7+4823_daily_bin1229.fits outfile=/scratch/kocevski/16485/ft1_filteredMKT_4FGL_J0754.7+4823_daily_bin1229.fits ra=118.693 dec=48.3932 rad=12.0 tmin=557884801.0 tmax=558144001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.57
user 3.78
sys 0.76

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/16485/ft2_4FGL_J0754.7+4823_daily_bin1229.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/16485/ft2_4FGL_J0754.7+4823_daily_bin1229.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/16485/ft1_filteredMKT_4FGL_J0754.7+4823_daily_bin1229.fits evtable="EVENTS" outfile="/scratch/kocevski/16485/ft1_filtered_4FGL_J0754.7+4823_daily_bin1229.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.07
user 0.33
sys 0.72

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/16485/ft1_filtered_4FGL_J0754.7+4823_daily_bin1229.fits" evtable="EVENTS" scfile=/scratch/kocevski/16485/ft2_4FGL_J0754.7+4823_daily_bin1229.fits sctable="SC_DATA" outfile=/scratch/kocevski/16485/ltcube_557884801_558144001_4FGL_J0754.7+4823_daily_bin1229.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/16485/ft2_4FGL_J0754.7+4823_daily_bin1229.fits
.....................!
real 12.61
user 11.67
sys 0.88

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/16485/ft1_filtered_4FGL_J0754.7+4823_daily_bin1229.fits evtable="EVENTS" scfile=/scratch/kocevski/16485/ft2_4FGL_J0754.7+4823_daily_bin1229.fits sctable="SC_DATA" expcube=/scratch/kocevski/16485/ltcube_557884801_558144001_4FGL_J0754.7+4823_daily_bin1229.fits outfile=/scratch/kocevski/16485/expmap_557884801_558144001_4FGL_J0754.7+4823_daily_bin1229.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/16485/ltcube_557884801_558144001_4FGL_J0754.7+4823_daily_bin1229.fits
.....................!
real 190.98
user 184.93
sys 5.59

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

Setting source of interest to:
4FGL J0754.7+4823 @ 118.693 48.3932

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/16485/ft1_filtered_4FGL_J0754.7+4823_daily_bin1229.fits scfile=/scratch/kocevski/16485/ft2_4FGL_J0754.7+4823_daily_bin1229.fits outfile=/scratch/kocevski/16485/cmap_557884801_558144001_4FGL_J0754.7+4823_daily_bin1229.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=118.693 yref=48.3932 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.10
user 0.36
sys 0.72

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/16485/ft1_filtered_4FGL_J0754.7+4823_daily_bin1229.fits scfile=/scratch/kocevski/16485/ft2_4FGL_J0754.7+4823_daily_bin1229.fits outfile=/scratch/kocevski/16485/cmap_HighResolution_557884801_558144001_4FGL_J0754.7+4823_daily_bin1229.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=118.693 yref=48.3932 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.10
user 0.36
sys 0.73

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/16485/ft1_filtered_4FGL_J0754.7+4823_daily_bin1229.fits evtable="EVENTS" scfile=/scratch/kocevski/16485/ft2_4FGL_J0754.7+4823_daily_bin1229.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/16485/Model_4FGL_J0754.7+4823_daily_bin1229.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/16485/ft1_filtered_4FGL_J0754.7+4823_daily_bin1229.fits.............!
real 15.40
user 13.38
sys 1.92

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/16485/ft1_filtered_4FGL_J0754.7+4823_daily_bin1229.fits', '/scratch/kocevski/16485/ft2_4FGL_J0754.7+4823_daily_bin1229.fits', expMap='/scratch/kocevski/16485/expmap_557884801_558144001_4FGL_J0754.7+4823_daily_bin1229.fits', expCube='/scratch/kocevski/16485/ltcube_557884801_558144001_4FGL_J0754.7+4823_daily_bin1229.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/16485/Model_4FGL_J0754.7+4823_daily_bin1229.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0754.7+4823'

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.564e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  1.983e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  8.608e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  1.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/16485/ft1_filtered_4FGL_J0754.7+4823_daily_bin1229.fits
Spacecraft file(s): /scratch/kocevski/16485/ft2_4FGL_J0754.7+4823_daily_bin1229.fits
Exposure map: /scratch/kocevski/16485/expmap_557884801_558144001_4FGL_J0754.7+4823_daily_bin1229.fits
Exposure cube: /scratch/kocevski/16485/ltcube_557884801_558144001_4FGL_J0754.7+4823_daily_bin1229.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/16485/Model_4FGL_J0754.7+4823_daily_bin1229.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) = 130.092960769

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    50.777       1.0000         .10000E-03   10000.    
     2 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    223.75       1.0000         .10000E-03   10000.    
     4 'norm      '    38.222       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10759E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    113.44       1.0000         .10000E-03   10000.    
     9 'Prefactor '    204.27       1.0000         .10000E-03   10000.    
    10 'Prefactor '    211.63       1.0000         .10000E-03   10000.    
    11 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12755E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10242E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10968E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10859E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10429E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .11038E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    27.186       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10488E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10445E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .10114E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10136E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .13087E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10286E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .11872E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    .33061E-03   1.0000         .10000E-03   10000.    
    35 'Normalizat'    1.0133       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .32861E-04   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   129.7394     FROM MIGRAD    STATUS=CONVERGED    974 CALLS     6287 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.771        47.375       -.76111E-06   -.55525E-04
   2  norm          .10000E-03    26.109       -.89431E-06** at limit **
   3  Prefactor     222.42        657.95       -.16777E-04   -.22876E-04
   4  norm          38.230        44.853       -.60943E-06   -.38978E-04
   5  Prefactor     .10000E-03    28.105       -.14686E-06** at limit **
   6  Prefactor     .10000E-03    93.876        .19905E-07** at limit **
   7  Prefactor     .10000E-03    99.120       -.51006E-07** at limit **
   8  norm          113.67        129.66       -.48409E-05   -.10416E-03
   9  Prefactor     204.20        213.89       -.96088E-06   -.13968E-04
  10  Prefactor     211.45        247.93       -.17076E-05   -.24709E-04
  11  norm          .10000E-03    4.3807       -.40414E-07** at limit **
  12  Prefactor     .10000E-03    86.219       -.50410E-06** at limit **
  13  Prefactor     .10000E-03    126.34        .21948E-06** at limit **
  14  norm          .10000E-03    19.232       -.57732E-07** at limit **
  15  Prefactor     .10000E-03    69.288        .27479E-06** at limit **
  16  Prefactor     .10000E-03    284.87        .22560E-06** at limit **
  17  Prefactor     .10000E-03    434.46       -.23982E-06** at limit **
  18  Prefactor     .10000E-03    58.185        .51210E-06** at limit **
  19  norm          .10000E-03    33.721        .36930E-09** at limit **
  20  norm          .10000E-03    16.929       -.18145E-07** at limit **
  21  Prefactor     .10000E-03    137.37       -.47009E-07** at limit **
  22  norm          .10000E-03    5.5041        .11765E-06** at limit **
  23  Prefactor     .10000E-03    205.21        .60946E-06** at limit **
  24  Prefactor     .10000E-03    83.448        .55422E-07** at limit **
  25  Prefactor     27.204        60.776       -.15770E-05    .16105E-04
  26  Prefactor     .10000E-03    350.78        .13236E-06** at limit **
  27  Prefactor     .10000E-03    138.15        .15577E-07** at limit **
  28  Prefactor     .10000E-03    257.33        .15045E-06** at limit **
  29  norm          .10000E-03    125.46       -.52814E-07** at limit **
  30  norm          .10000E-03    196.74        .10852E-06** at limit **
  31  Prefactor     .10002E-03    6248.0       -.27514E-05** at limit **
  32  Prefactor     .10000E-03    115.75       -.26378E-07** at limit **
  33  Prefactor     .10003E-03    7480.4       -.32085E-05** at limit **
  34  Prefactor     .10000E-03    8752.4       -.46950E-06** at limit **
  35  Normalizat    1.0150        .99539       -.56967E-05   -.11986E-03
  36  Prefactor     .11829E-08    1.6691        .78203E-04** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 50.7712
  norm       = 0.000100002
  Prefactor  = 222.421
  norm       = 38.23
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 113.674
  Prefactor  = 204.204
  Prefactor  = 211.448
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.2036
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.00010002
  Prefactor  = 0.0001
  Prefactor  = 0.000100028
  Prefactor  = 0.000100001
  Normalizat = 1.01504
  Prefactor  = 1.18288e-09
 **********
 **   18 **HESSE 
 **********

 FCN=   129.7394     FROM HESSE     STATUS=OK           779 CALLS     7066 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.771        47.425        .56280E-04   -1.4282    
   2  norm          .10000E-03    26.048        .56881E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     222.42        661.59        .13523E-03   -1.2714    
   4  norm          38.230        44.879        .64830E-04   -1.4471    
   5  Prefactor     .10000E-03    28.104        .59104E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    93.880        .10815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    99.121        .11114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          113.67        131.72        .18885E-03   -1.3572    
   9  Prefactor     204.20        213.90        .14139E-03   -1.2840    
  10  Prefactor     211.45        248.00        .13896E-03   -1.2789    
  11  norm          .10000E-03    4.3809        .23327E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    86.224        .10362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    126.33        .12553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    19.232        .48890E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    69.276        .92872E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    284.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    434.48        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    58.171        .85071E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    33.721        .64754E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    16.929        .45868E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    137.37        .13092E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    5.5033        .26145E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    205.15        .16017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    83.448        .10195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     27.204        61.109        .76834E-04   -1.4664    
  26  Prefactor     .10000E-03    350.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    138.15        .13130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    257.34        .17956E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10000E-03    125.46        .12509E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    196.75        .15684E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10002E-03    6249.4        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    115.75        .12014E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10003E-03    7481.8        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     .10000E-03    8752.4        .21348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Normalizat    1.0150        1.0257        .27423E-03   -.92528    
  36  Prefactor     .11829E-08    6.2287        .88852E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71354e-09
Minuit parameter uncertainties:
  1  47.4605
  2  0.0004205
  3  686.076
  4  44.9186
  5  8.53002e-05
  6  2.5177e-05
  7  1.30037e-05
  8  132.057
  9  214.725
  10  249.248
  11  8.56693e-06
  12  0.000434617
  13  0.000310753
  14  1.88823e-05
  15  9.06036e-05
  16  9.03003e-05
  17  0.000494118
  18  0.000325778
  19  1.18026e-05
  20  3.10056e-06
  21  5.46632e-05
  22  1.83267e-05
  23  0.000202719
  24  4.42451e-05
  25  61.2497
  26  0.000146839
  27  9.30874e-05
  28  0.000231905
  29  7.62104e-05
  30  0.000137423
  31  0.0147065
  32  8.44673e-05
  33  0.026325
  34  0.00588788
  35  1.04677
  36  0.000112817
Done.

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

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.000e-04  1.888e-05  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  1.983e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  8.608e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  1.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  1.183e-09  1.128e-04  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  1.015e+00  1.047e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 118.693 48.393
Photon Flux Upper Limit: 1.00e-06 ph cm-2 s-1
Energy Flux Upper Limit: 6.37e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/16485/likelihoodResults_557884801_558144001_4FGL_J0754.7+4823_daily_bin1229.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): 102
logL (Free Index) = 129.739431875
delta logL = -7.20324361794e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 129.739364384
delta logL = -4.54184305454e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10985E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7068       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0154       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .15216E-05   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6590E+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=   129.7394     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      293 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6411.4        .32608E-02** at limit **
   2  alpha         1.4149        3.9744        .16532        .21275E-08
   3  Normalizat    1.0150        .42441        .27417E-03   -.22074E-03
   4  Prefactor     .36493E-10    .86589        .88787E-02** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.41493
  Normalizat = 1.01502
  Prefactor  = 3.6493e-11
 **********
 **   18 **HESSE 
 **********

 FCN=   129.7394     FROM HESSE     STATUS=OK            23 CALLS      316 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    25.116        .55864E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4149        2.9202        .66130E-02   -.44896    
   3  Normalizat    1.0150        .73142        .54833E-04   -.92529    
   4  Prefactor     .36493E-10    6.2292        .17757E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96431e-09
Minuit parameter uncertainties:
  1  6.39601e-05
  2  508.657
  3  0.73884
  4  1.9821e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/16485': 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) = 129.739359235
delta logL = 6.07364142979e-07

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.000e-04  6.396e-05  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  1.415e+00  5.087e+02  0.000e+00  5.000e+00 ( 1.000e+00)
276         beta:  8.608e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  1.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  3.649e-11  1.982e-05  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  1.015e+00  7.388e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 118.693 48.393

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/16485/cmap_HighResolution_557884801_558144001_4FGL_J0754.7+4823_daily_bin1229.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.37e-04', job_status='DONE', photon_flux_upper_limit='1.00e-06', time_completed='2021-08-28 20:11:01.936104', job_id='16485', GAL2='0.00', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1630206661.94', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.00', dlogl='6.07e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1229' AND source_name='4FGL J0754.7+4823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 20:11:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 16485: <4FGL_J0754.7+4823_daily_bin1229> in cluster <slac> Done

Job <4FGL_J0754.7+4823_daily_bin1229> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 20:00:27 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 20:00:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 20:00:29 2021
Terminated at Sat Aug 28 20:11:02 2021
Results reported at Sat Aug 28 20:11:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.7+4823_daily_bin1229 118.693 48.3932 557884801 558144001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0754.7+4823 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   378.44 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             173.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   633 sec.
    Turnaround time :                            635 sec.

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

