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


Performing analysis on: 4FGL_J0753.9+0923_daily_bin914
RA = 118.491, Dec = 9.3904
tmin = 476236801, tmax = 476496001
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='996106', job_status='RUN', time_executed='2021-08-28 18:59:04.633902', time_epoch_executed='1630202344.63' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='914'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/996106

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/996106/ft1_4FGL_J0753.9+0923_daily_bin914.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/996106/ft2_4FGL_J0753.9+0923_daily_bin914.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/996106/ft1_4FGL_J0753.9+0923_daily_bin914.fits outfile=/scratch/kocevski/996106/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin914.fits ra=118.491 dec=9.3904 rad=12.0 tmin=476236801.0 tmax=476496001.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 3.92
user 3.26
sys 0.57

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/996106/ft2_4FGL_J0753.9+0923_daily_bin914.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/996106/ft2_4FGL_J0753.9+0923_daily_bin914.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/996106/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin914.fits evtable="EVENTS" outfile="/scratch/kocevski/996106/ft1_filtered_4FGL_J0753.9+0923_daily_bin914.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.03
user 0.32
sys 0.52

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/996106/ft1_filtered_4FGL_J0753.9+0923_daily_bin914.fits" evtable="EVENTS" scfile=/scratch/kocevski/996106/ft2_4FGL_J0753.9+0923_daily_bin914.fits sctable="SC_DATA" outfile=/scratch/kocevski/996106/ltcube_476236801_476496001_4FGL_J0753.9+0923_daily_bin914.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/996106/ft2_4FGL_J0753.9+0923_daily_bin914.fits
.....................!
real 12.70
user 11.83
sys 0.71

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/996106/ft1_filtered_4FGL_J0753.9+0923_daily_bin914.fits evtable="EVENTS" scfile=/scratch/kocevski/996106/ft2_4FGL_J0753.9+0923_daily_bin914.fits sctable="SC_DATA" expcube=/scratch/kocevski/996106/ltcube_476236801_476496001_4FGL_J0753.9+0923_daily_bin914.fits outfile=/scratch/kocevski/996106/expmap_476236801_476496001_4FGL_J0753.9+0923_daily_bin914.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/996106/ltcube_476236801_476496001_4FGL_J0753.9+0923_daily_bin914.fits
.....................!
real 190.75
user 185.35
sys 4.73

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
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 166 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0753.9+0923 @ 118.491 9.3904

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/996106/ft1_filtered_4FGL_J0753.9+0923_daily_bin914.fits scfile=/scratch/kocevski/996106/ft2_4FGL_J0753.9+0923_daily_bin914.fits outfile=/scratch/kocevski/996106/cmap_476236801_476496001_4FGL_J0753.9+0923_daily_bin914.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.491 yref=9.3904 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.03
user 0.36
sys 0.51

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/996106/ft1_filtered_4FGL_J0753.9+0923_daily_bin914.fits scfile=/scratch/kocevski/996106/ft2_4FGL_J0753.9+0923_daily_bin914.fits outfile=/scratch/kocevski/996106/cmap_HighResolution_476236801_476496001_4FGL_J0753.9+0923_daily_bin914.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.491 yref=9.3904 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.93
user 0.38
sys 0.51

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/996106/ft1_filtered_4FGL_J0753.9+0923_daily_bin914.fits evtable="EVENTS" scfile=/scratch/kocevski/996106/ft2_4FGL_J0753.9+0923_daily_bin914.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/996106/Model_4FGL_J0753.9+0923_daily_bin914.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
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/996106/ft1_filtered_4FGL_J0753.9+0923_daily_bin914.fits.....................!
real 81.21
user 79.04
sys 1.74

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/996106/ft1_filtered_4FGL_J0753.9+0923_daily_bin914.fits', '/scratch/kocevski/996106/ft2_4FGL_J0753.9+0923_daily_bin914.fits', expMap='/scratch/kocevski/996106/expmap_476236801_476496001_4FGL_J0753.9+0923_daily_bin914.fits', expCube='/scratch/kocevski/996106/ltcube_476236801_476496001_4FGL_J0753.9+0923_daily_bin914.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/996106/Model_4FGL_J0753.9+0923_daily_bin914.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0753.9+0923'

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  2.323e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.464e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/996106/ft1_filtered_4FGL_J0753.9+0923_daily_bin914.fits
Spacecraft file(s): /scratch/kocevski/996106/ft2_4FGL_J0753.9+0923_daily_bin914.fits
Exposure map: /scratch/kocevski/996106/expmap_476236801_476496001_4FGL_J0753.9+0923_daily_bin914.fits
Exposure cube: /scratch/kocevski/996106/ltcube_476236801_476496001_4FGL_J0753.9+0923_daily_bin914.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/996106/Model_4FGL_J0753.9+0923_daily_bin914.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) = 6045.45217834

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .70678       1.0000         .10000E-03   10000.    
     3 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .60376E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.3840       1.0000         .10000E-03   10000.    
     7 'norm      '    .77091       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    52.909       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10270E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    32.812       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10530E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    324.61       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .22411E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    11.115       1.0000         .10000E-03   10000.    
    18 'norm      '    15.057       1.0000         .10000E-03   10000.    
    19 'norm      '    10.945       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    2.1014       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .83534       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0766       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6045.450     FROM MIGRAD    STATUS=CONVERGED    568 CALLS     3486 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.614       -.10386E-05** at limit **
   2  norm          .70665        2.1701       -.61693E-06    .19848E-04
   3  norm          .10000E-03    .47379        .16601E-06** at limit **
   4  Prefactor     .10000E-03    25.710        .10065E-06** at limit **
   5  Prefactor     .10000E-03    184.29        .11005E-04** at limit **
   6  norm          1.3841        1.2186       -.46289E-07   -.21527E-03
   7  norm          .77108        1.5784       -.29005E-06   -.58226E-05
   8  Prefactor     .10000E-03    9.3955        .46340E-06** at limit **
   9  Prefactor     52.912        51.092        .31449E-06   -.57529E-05
  10  Prefactor     .10000E-03    23.562        .15669E-05** at limit **
  11  Prefactor     .10000E-03    1.5075        .13498E-07** at limit **
  12  norm          32.793        20.588        .28011E-07   -.11978E-03
  13  Prefactor     .10000E-03    17.923        .38642E-07** at limit **
  14  Prefactor     .10000E-03    67.902       -.28444E-06** at limit **
  15  norm          324.62        140.41        .67060E-06   -.16077E-04
  16  Prefactor     .10000E-03    220.79       -.40642E-05** at limit **
  17  norm          11.115        13.540        .22089E-06    .99252E-05
  18  norm          15.038        20.255        .16169E-05    .33790E-04
  19  norm          10.943        5.8750       -.54093E-06   -.17329E-04
  20  Prefactor     .10000E-03    19.250       -.14421E-05** at limit **
  21  Prefactor     .10000E-03    5.8230        .12371E-06** at limit **
  22  norm          2.1014        1.1697        .67774E-08   -.52472E-06
  23  Normalizat    .83526        .19837       -.98857E-06   -.14722E-03
  24  Prefactor     1.0766        .13282        .14126E-06   -.28396E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.706647
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.38412
  norm       = 0.771083
  Prefactor  = 0.0001
  Prefactor  = 52.9119
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 32.7925
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 324.615
  Prefactor  = 0.000100001
  norm       = 11.1148
  norm       = 15.0384
  norm       = 10.9429
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.10145
  Normalizat = 0.835263
  Prefactor  = 1.07659
 **********
 **   18 **HESSE 
 **********

 FCN=   6045.450     FROM HESSE     STATUS=OK           403 CALLS     3889 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .70665        2.1689        .18296E-03   -1.5540    
   3  norm          .10000E-03    .80342        .10293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    25.735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.187        .10853       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.3841        1.2168        .77736E-04   -1.5473    
   7  norm          .77108        1.5542        .13340E-03   -1.5532    
   8  Prefactor     .10000E-03    9.5507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     52.912        51.108        .55140E-04   -1.4252    
  10  Prefactor     .10000E-03    23.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.5814        .17928E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          32.793        20.438        .69953E-04   -1.4562    
  13  Prefactor     .10000E-03    18.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    67.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          324.62        140.34        .11285E-03   -1.2085    
  16  Prefactor     .10000E-03    227.19        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          11.115        13.532        .12017E-03   -1.5041    
  18  norm          15.038        20.442        .10322E-03   -1.4932    
  19  norm          10.943        5.8892        .60551E-03   -1.5046    
  20  Prefactor     .10000E-03    19.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.8447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.1014        1.1668        .60717E-04   -1.5418    
  23  Normalizat    .83526        .22159        .31931E-03   -.98774    
  24  Prefactor     1.0766        .14977        .18664E-03   -.90218    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32068e-10
Minuit parameter uncertainties:
  1  7.75226e-05
  2  2.16911
  3  4.75081e-06
  4  5.6845e-06
  5  0.000140708
  6  1.2168
  7  1.55425
  8  2.7974e-05
  9  51.1506
  10  6.04258e-05
  11  9.60316e-05
  12  20.4427
  13  8.46646e-05
  14  5.74339e-05
  15  140.49
  16  0.00071381
  17  13.5354
  18  20.4514
  19  5.88947
  20  7.82896e-05
  21  8.26292e-06
  22  1.16682
  23  0.221829
  24  0.149831
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  3.279e+01  2.044e+01  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.464e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  1.077e+00  1.498e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  8.353e-01  2.218e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.59
Ra Dec: 118.491 9.390
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 4.24e-08 +/- 2.64e-08
Energy Flux (Fixed Index): 1.96e-05 +/- 1.22e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6045.45002906
delta logL = 0.000303160699332

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6045.4498858
delta logL = 0.00044641320801

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    33.183       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4437       1.0000          .0000       5.0000    
     3 'Normalizat'    .83614       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0764       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6045.450     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      224 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          33.221        489.89        .17391E-02    .43934E-04
   2  alpha         2.4455        3.5391        .34728        .46417E-04
   3  Normalizat    .83592        .11895        .72132E-01   -.19949E-04
   4  Prefactor     1.0764        .57457E-01    .38561E-01   -.81375E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 33.2213
  alpha      = 2.44545
  Normalizat = 0.835918
  Prefactor  = 1.0764
 **********
 **   18 **HESSE 
 **********

 FCN=   6045.450     FROM HESSE     STATUS=OK            31 CALLS      255 TOTAL
                     EDM=   .89E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          33.221        25.886        .34781E-03   -1.4555    
   2  alpha         2.4455        .63500        .12649E-01   -.21820E-01
   3  Normalizat    .83592        .21684        .31920E-03   -.98750    
   4  Prefactor     1.0764        .14220        .18666E-03   -.90224    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.87124e-12
Minuit parameter uncertainties:
  1  25.8952
  2  0.642039
  3  0.217065
  4  0.142248
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/996106': 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) = 6045.44987371
delta logL = 0.00045850945753

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  3.322e+01  2.590e+01  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.445e+00  6.420e-01  0.000e+00  5.000e+00 ( 1.000e+00)
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  1.076e+00  1.422e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  8.359e-01  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.57
Ra Dec: 118.491 9.390
Photon Index (Free Index): 2.45 +/- 0.64
Photon Flux (Free Index): 4.18e-08 +/- 3.26e-08
Energy Flux (Free Index): 1.96e-05 +/- 1.25e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/996106/cmap_HighResolution_476236801_476496001_4FGL_J0753.9+0923_daily_bin914.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.24e-08', energy_flux2='1.96e-05', photon_flux_error='2.64e-08', dlogl='4.59e-04', energy_flux='1.96e-05', photon_flux2='4.18e-08', job_status='DONE', time_completed='2021-08-28 19:10:23.461971', photon_index_error2='0.64', photon_index2='2.45', ts='8.59', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='1.25e-05', EG='0.84', time_epoch_completed='1630203023.46', return_code='0', job_id='996106', GAL2='1.08', EG2='0.84', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='3.26e-08', ts2='8.57', photon_index='2.46' WHERE bin_id='914' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:10:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 996106: <4FGL_J0753.9+0923_daily_bin914> in cluster <slac> Done

Job <4FGL_J0753.9+0923_daily_bin914> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 18:55:40 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:55:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 18:55:41 2021
Terminated at Sat Aug 28 19:10:24 2021
Results reported at Sat Aug 28 19:10:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin914 118.491 9.3904 476236801 476496001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0753.9+0923 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   680.58 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            884 sec.

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

