/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 5 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 72993
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0754.7+4823_monthly_bin113
RA = 118.693, Dec = 48.3932
tmin = 529891201, tmax = 532483201
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='110553', job_status='RUN', time_executed='2021-10-19 01:46:57.967900', time_epoch_executed='1634633217.97' WHERE source_name='4FGL J0754.7+4823' and cadence='monthly' and bin_id='113'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/110553

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

Retrieving the FT1 file...

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

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

Retrieving 457 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/110553/ft1_4FGL_J0754.7+4823_monthly_bin113.fits


Retrieving the FT1 file...

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

Retrieving 457 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/110553/ft2_4FGL_J0754.7+4823_monthly_bin113.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/110553/ft1_4FGL_J0754.7+4823_monthly_bin113.fits outfile=/scratch/kocevski/110553/ft1_filteredMKT_4FGL_J0754.7+4823_monthly_bin113.fits ra=118.693 dec=48.3932 rad=12.0 tmin=529891201.0 tmax=532483201.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 32.42
user 31.63
sys 0.66

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/110553/ft2_4FGL_J0754.7+4823_monthly_bin113.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/110553/ft1_filteredMKT_4FGL_J0754.7+4823_monthly_bin113.fits evtable="EVENTS" outfile="/scratch/kocevski/110553/ft1_filtered_4FGL_J0754.7+4823_monthly_bin113.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.86
user 0.65
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/110553/ft1_filtered_4FGL_J0754.7+4823_monthly_bin113.fits" evtable="EVENTS" scfile=/scratch/kocevski/110553/ft2_4FGL_J0754.7+4823_monthly_bin113.fits sctable="SC_DATA" outfile=/scratch/kocevski/110553/ltcube_529891201_532483201_4FGL_J0754.7+4823_monthly_bin113.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/110553/ft2_4FGL_J0754.7+4823_monthly_bin113.fits
.....................!
real 130.06
user 129.31
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/110553/ft1_filtered_4FGL_J0754.7+4823_monthly_bin113.fits evtable="EVENTS" scfile=/scratch/kocevski/110553/ft2_4FGL_J0754.7+4823_monthly_bin113.fits sctable="SC_DATA" expcube=/scratch/kocevski/110553/ltcube_529891201_532483201_4FGL_J0754.7+4823_monthly_bin113.fits outfile=/scratch/kocevski/110553/expmap_529891201_532483201_4FGL_J0754.7+4823_monthly_bin113.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/110553/ltcube_529891201_532483201_4FGL_J0754.7+4823_monthly_bin113.fits
.....................!
real 193.08
user 186.73
sys 5.31

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/110553/ft1_filtered_4FGL_J0754.7+4823_monthly_bin113.fits scfile=/scratch/kocevski/110553/ft2_4FGL_J0754.7+4823_monthly_bin113.fits outfile=/scratch/kocevski/110553/cmap_529891201_532483201_4FGL_J0754.7+4823_monthly_bin113.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 0.83
user 0.61
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/110553/ft1_filtered_4FGL_J0754.7+4823_monthly_bin113.fits scfile=/scratch/kocevski/110553/ft2_4FGL_J0754.7+4823_monthly_bin113.fits outfile=/scratch/kocevski/110553/cmap_HighResolution_529891201_532483201_4FGL_J0754.7+4823_monthly_bin113.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 0.80
user 0.63
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/110553/ft1_filtered_4FGL_J0754.7+4823_monthly_bin113.fits evtable="EVENTS" scfile=/scratch/kocevski/110553/ft2_4FGL_J0754.7+4823_monthly_bin113.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/110553/Model_4FGL_J0754.7+4823_monthly_bin113.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/110553/ft1_filtered_4FGL_J0754.7+4823_monthly_bin113.fits.....................!
real 669.86
user 666.88
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/110553/ft1_filtered_4FGL_J0754.7+4823_monthly_bin113.fits', '/scratch/kocevski/110553/ft2_4FGL_J0754.7+4823_monthly_bin113.fits', expMap='/scratch/kocevski/110553/expmap_529891201_532483201_4FGL_J0754.7+4823_monthly_bin113.fits', expCube='/scratch/kocevski/110553/ltcube_529891201_532483201_4FGL_J0754.7+4823_monthly_bin113.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/110553/Model_4FGL_J0754.7+4823_monthly_bin113.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/110553/ft1_filtered_4FGL_J0754.7+4823_monthly_bin113.fits
Spacecraft file(s): /scratch/kocevski/110553/ft2_4FGL_J0754.7+4823_monthly_bin113.fits
Exposure map: /scratch/kocevski/110553/expmap_529891201_532483201_4FGL_J0754.7+4823_monthly_bin113.fits
Exposure cube: /scratch/kocevski/110553/ltcube_529891201_532483201_4FGL_J0754.7+4823_monthly_bin113.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/110553/Model_4FGL_J0754.7+4823_monthly_bin113.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 83447.2460237

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4157       1.0000         .10000E-03   10000.    
     2 'norm      '    .34958       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.198       1.0000         .10000E-03   10000.    
     4 'norm      '    .13791       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .87706       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.3342       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.324       1.0000         .10000E-03   10000.    
     8 'norm      '    .49535       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13808E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.3699       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.7118       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.1881       1.0000         .10000E-03   10000.    
    14 'norm      '    1.8126       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .19366       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13281E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.6083       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.9519       1.0000         .10000E-03   10000.    
    19 'norm      '    13.880       1.0000         .10000E-03   10000.    
    20 'norm      '    1.2512       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.9133       1.0000         .10000E-03   10000.    
    22 'norm      '    .96219       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10260E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.6970       1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.6454       1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.2673       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .77169       1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.1837       1.0000         .10000E-03   10000.    
    29 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    4.2087       1.0000         .10000E-03   10000.    
    32 'Prefactor '    2.4686       1.0000         .10000E-03   10000.    
    33 'Prefactor '    12.634       1.0000         .10000E-03   10000.    
    34 'Prefactor '    18.305       1.0000         .10000E-03   10000.    
    35 'Normalizat'    .94398       1.0000         .10000E-01   10.000    
    36 'Prefactor '    1.0910       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=   83447.06     FROM MIGRAD    STATUS=CONVERGED   1040 CALLS     4665 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4156        .88832        .18725E-07    .28691E-04
   2  norm          .34880        .83099        .19563E-07    .64515E-04
   3  Prefactor     10.192        6.0877       -.59714E-06    .13715E-04
   4  norm          .13754        .39766       -.10425E-07    .52959E-04
   5  Prefactor     .87729        1.2610        .21982E-07    .17048E-03
   6  Prefactor     5.3327        3.4095        .33836E-08    .41839E-04
   7  Prefactor     13.311        5.7807       -.31813E-06    .45548E-05
   8  norm          .49566        1.3009       -.78691E-06   -.12324E-04
   9  Prefactor     .10000E-03    2.0853        .50571E-07** at limit **
  10  Prefactor     8.3632        7.2106       -.10629E-05    .12178E-04
  11  norm          .10000E-03    .32746E-01    .11420E-08** at limit **
  12  Prefactor     6.6914        3.3003        .32135E-06    .77394E-04
  13  Prefactor     8.1940        4.7550        .18523E-06    .11526E-03
  14  norm          1.8134        .69226       -.25210E-07   -.10322E-04
  15  Prefactor     .19030        .59528       -.15703E-06    .37321E-03
  16  Prefactor     .10000E-03    14.118        .12034E-05** at limit **
  17  Prefactor     4.6040        4.6088       -.51348E-06   -.24696E-06
  18  Prefactor     1.9519        1.0532        .20430E-07    .90530E-04
  19  norm          13.880        1.6579       -.10476E-06   -.14979E-05
  20  norm          1.2513        .41126        .34533E-08    .67570E-04
  21  Prefactor     7.9183        2.7762       -.30425E-07    .79276E-05
  22  norm          .96225        .16638       -.46648E-08   -.30590E-04
  23  Prefactor     .10000E-03    1.3741        .20065E-07** at limit **
  24  Prefactor     1.7001        1.5050        .67603E-07    .36330E-04
  25  Prefactor     1.6455        .76337       -.53985E-07   -.11073E-03
  26  Prefactor     2.2530        5.1198        .11425E-05   -.20881E-05
  27  Prefactor     .77101        .27436       -.52514E-07   -.31036E-03
  28  Prefactor     4.1810        1.7872        .11285E-06   -.16626E-04
  29  norm          .10000E-03    .37469        .44481E-07** at limit **
  30  norm          .10000E-03    .32381        .63112E-07** at limit **
  31  Prefactor     4.2045        2.8986       -.15155E-06   -.67859E-05
  32  Prefactor     2.4685        .83660       -.16927E-08   -.64365E-05
  33  Prefactor     12.634        6.5161       -.33039E-06   -.68882E-05
  34  Prefactor     18.276        14.834       -.79572E-06   -.14613E-05
  35  Normalizat    .94404        .56569E-01    .44926E-07    .24743E-03
  36  Prefactor     1.0910        .38572E-01    .15059E-06    .25638E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.4156
  norm       = 0.348803
  Prefactor  = 10.1921
  norm       = 0.137535
  Prefactor  = 0.877293
  Prefactor  = 5.33274
  Prefactor  = 13.311
  norm       = 0.495659
  Prefactor  = 0.0001
  Prefactor  = 8.36316
  norm       = 0.0001
  Prefactor  = 6.69138
  Prefactor  = 8.19395
  norm       = 1.81343
  Prefactor  = 0.190297
  Prefactor  = 0.0001
  Prefactor  = 4.604
  Prefactor  = 1.95185
  norm       = 13.8796
  norm       = 1.25129
  Prefactor  = 7.91827
  norm       = 0.962248
  Prefactor  = 0.0001
  Prefactor  = 1.70006
  Prefactor  = 1.64548
  Prefactor  = 2.253
  Prefactor  = 0.771014
  Prefactor  = 4.181
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 4.20452
  Prefactor  = 2.46854
  Prefactor  = 12.6338
  Prefactor  = 18.2759
  Normalizat = 0.944037
  Prefactor  = 1.09097
 **********
 **   18 **HESSE 
 **********

 FCN=   83447.06     FROM HESSE     STATUS=OK           839 CALLS     5504 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4156        .88038        .20679E-03   -1.5470    
   2  norm          .34880        .84284        .38694E-03   -1.5590    
   3  Prefactor     10.192        6.0703        .12548E-03   -1.5069    
   4  norm          .13754        .95321        .28554E-02   -1.5634    
   5  Prefactor     .87729        1.2389        .50896E-04   -1.5521    
   6  Prefactor     5.3327        3.3829        .17401E-03   -1.5246    
   7  Prefactor     13.311        5.7809        .10973E-03   -1.4978    
   8  norm          .49566        1.2999        .45007E-03   -1.5567    
   9  Prefactor     .10000E-03    2.1043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.3632        7.2010        .13857E-03   -1.5130    
  11  norm          .10000E-03    .61132E-01    .10109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.6914        3.2868        .15488E-03   -1.5191    
  13  Prefactor     8.1940        4.7285        .70054E-03   -1.5135    
  14  norm          1.8134        .68712        .14021E-03   -1.5439    
  15  Prefactor     .19030        2.9875        .36840E-02   -1.5621    
  16  Prefactor     .10000E-03    14.345        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.6040        4.6049        .18750E-03   -1.5279    
  18  Prefactor     1.9519        1.0511        .29702E-04   -1.5429    
  19  norm          13.880        1.6520        .10751E-03   -1.4963    
  20  norm          1.2513        .41130        .10112E-03   -1.5484    
  21  Prefactor     7.9183        2.7652        .14254E-03   -1.5145    
  22  norm          .96225        .16407        .46584E-04   -1.5512    
  23  Prefactor     .10000E-03    1.3961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.7001        1.4896        .31108E-03   -1.5447    
  25  Prefactor     1.6455        .75569        .16387E-03   -1.5451    
  26  Prefactor     2.2530        5.0862        .13638E-02   -1.5408    
  27  Prefactor     .77101        1.6844        .24668E-02   -1.5532    
  28  Prefactor     4.1810        1.7894        .98517E-03   -1.5299    
  29  norm          .10000E-03    .38724        .34511E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    .32905        .16042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     4.2045        2.8945        .19643E-03   -1.5298    
  32  Prefactor     2.4685        .83523        .14766E-03   -1.5394    
  33  Prefactor     12.634        6.5235        .11270E-03   -1.4997    
  34  Prefactor     18.276        14.831        .93614E-04   -1.4853    
  35  Normalizat    .94404        .64313E-01    .30223E-03   -.94930    
  36  Prefactor     1.0910        .43853E-01    .20113E-03   -.89756    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.36974e-08
Minuit parameter uncertainties:
  1  0.880389
  2  0.842868
  3  6.07067
  4  0.723906
  5  1.23892
  6  3.38299
  7  5.78113
  8  1.29993
  9  9.38398e-07
  10  7.20171
  11  8.95205e-08
  12  3.28691
  13  4.7287
  14  0.687125
  15  1.50768
  16  2.25592e-05
  17  4.60523
  18  1.0511
  19  1.65197
  20  0.411304
  21  2.76524
  22  0.164069
  23  2.00517e-06
  24  1.48965
  25  0.755697
  26  5.08718
  27  1.68455
  28  1.7894
  29  1.69742e-07
  30  3.98628e-08
  31  2.89458
  32  0.835238
  33  6.52385
  34  14.8343
  35  0.0643178
  36  0.0438541
Done.

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

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.813e+00  6.871e-01  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.091e+00  4.385e-02  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:  9.440e-01  6.432e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.75
Ra Dec: 118.693 48.393
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 1.59e-08 +/- 6.02e-09
Energy Flux (Fixed Index): 1.01e-05 +/- 3.82e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 83446.758827
delta logL = 0.302136153143

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 83446.7515614
delta logL = 0.309401709892

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8521       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3263       1.0000          .0000       5.0000    
     3 'Normalizat'    .93405       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0933       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.

 FCN=   83446.75     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      221 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8521        5.6350        .76581E-02    .50156E-02
   2  alpha         2.3264        1.7118        .41278        .33195E-03
   3  Normalizat    .93405        .19876E-01    .68632E-01    .23781E-03
   4  Prefactor     1.0933        .11085E-01    .37845E-01    .30748E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.85212
  alpha      = 2.32642
  Normalizat = 0.934051
  Prefactor  = 1.09335
 **********
 **   18 **HESSE 
 **********

 FCN=   83446.75     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .87E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8521        .66694        .12388E-03   -1.5436    
   2  alpha         2.3264        .43119        .22545E-01   -.69489E-01
   3  Normalizat    .93405        .61788E-01    .30363E-03   -.95274    
   4  Prefactor     1.0933        .42858E-01    .20090E-03   -.89680    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.67981e-11
Minuit parameter uncertainties:
  1  0.666941
  2  0.433368
  3  0.0617924
  4  0.0428595
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/110553': 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) = 83446.7515614
delta logL = 0.30940173057

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.852e+00  6.669e-01  1.000e-04  1.000e+04 ( 1.000e-12)
275        alpha:  2.326e+00  4.334e-01  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:  1.093e+00  4.286e-02  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:  9.341e-01  6.179e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.38
Ra Dec: 118.693 48.393
Photon Index (Free Index): 2.33 +/- 0.43
Photon Flux (Free Index): 2.63e-08 +/- 1.59e-08
Energy Flux (Free Index): 9.88e-06 +/- 3.23e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/110553/cmap_HighResolution_529891201_532483201_4FGL_J0754.7+4823_monthly_bin113.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.59e-08', energy_flux2='9.88e-06', photon_flux_error='6.02e-09', dlogl='3.09e-01', energy_flux='1.01e-05', photon_flux2='2.63e-08', job_status='DONE', time_completed='2021-10-19 04:35:45.055385', photon_index_error2='0.43', photon_index2='2.33', ts='19.75', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='3.23e-06', EG='0.94', time_epoch_completed='1634643345.06', return_code='0', job_id='110553', GAL2='1.09', EG2='0.93', return_code2='0', energy_flux_error='3.82e-06', photon_flux_error2='1.59e-08', ts2='20.38', photon_index='1.98' WHERE bin_id='113' AND source_name='4FGL J0754.7+4823' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue Oct 19 04:35:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 110553: <4FGL_J0754.7+4823_monthly_bin113> in cluster <slac> Done

Job <4FGL_J0754.7+4823_monthly_bin113> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Oct 19 01:35:15 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 19 01:46:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 19 01:46:43 2021
Terminated at Tue Oct 19 04:35:46 2021
Results reported at Tue Oct 19 04:35:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.7+4823_monthly_bin113 118.693 48.3932 529891201 532483201 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 :                                   8849.00 sec.
    Max Memory :                                 629 MB
    Average Memory :                             387.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10144 sec.
    Turnaround time :                            10831 sec.

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

