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


Performing analysis on: 4FGL_J0753.9+0923_daily_bin981
RA = 118.491, Dec = 9.3904
tmin = 493603201, tmax = 493862401
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='996202', job_status='RUN', time_executed='2021-08-28 18:59:16.780484', time_epoch_executed='1630202356.78' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='981'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/996202

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/996202/ft1_4FGL_J0753.9+0923_daily_bin981.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/996202/ft2_4FGL_J0753.9+0923_daily_bin981.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/996202/ft1_4FGL_J0753.9+0923_daily_bin981.fits outfile=/scratch/kocevski/996202/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin981.fits ra=118.491 dec=9.3904 rad=12.0 tmin=493603201.0 tmax=493862401.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.83
user 3.27
sys 0.51

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/996202/ft2_4FGL_J0753.9+0923_daily_bin981.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/996202/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin981.fits evtable="EVENTS" outfile="/scratch/kocevski/996202/ft1_filtered_4FGL_J0753.9+0923_daily_bin981.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.91
user 0.33
sys 0.49

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/996202/ft1_filtered_4FGL_J0753.9+0923_daily_bin981.fits" evtable="EVENTS" scfile=/scratch/kocevski/996202/ft2_4FGL_J0753.9+0923_daily_bin981.fits sctable="SC_DATA" outfile=/scratch/kocevski/996202/ltcube_493603201_493862401_4FGL_J0753.9+0923_daily_bin981.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/996202/ft2_4FGL_J0753.9+0923_daily_bin981.fits
.....................!
real 12.28
user 11.48
sys 0.68

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/996202/ft1_filtered_4FGL_J0753.9+0923_daily_bin981.fits evtable="EVENTS" scfile=/scratch/kocevski/996202/ft2_4FGL_J0753.9+0923_daily_bin981.fits sctable="SC_DATA" expcube=/scratch/kocevski/996202/ltcube_493603201_493862401_4FGL_J0753.9+0923_daily_bin981.fits outfile=/scratch/kocevski/996202/expmap_493603201_493862401_4FGL_J0753.9+0923_daily_bin981.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/996202/ltcube_493603201_493862401_4FGL_J0753.9+0923_daily_bin981.fits
.....................!
real 190.42
user 185.37
sys 4.66

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/996202/ft1_filtered_4FGL_J0753.9+0923_daily_bin981.fits scfile=/scratch/kocevski/996202/ft2_4FGL_J0753.9+0923_daily_bin981.fits outfile=/scratch/kocevski/996202/cmap_493603201_493862401_4FGL_J0753.9+0923_daily_bin981.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 0.87
user 0.39
sys 0.45

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/996202/ft1_filtered_4FGL_J0753.9+0923_daily_bin981.fits scfile=/scratch/kocevski/996202/ft2_4FGL_J0753.9+0923_daily_bin981.fits outfile=/scratch/kocevski/996202/cmap_HighResolution_493603201_493862401_4FGL_J0753.9+0923_daily_bin981.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.94
user 0.36
sys 0.50

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/996202/ft1_filtered_4FGL_J0753.9+0923_daily_bin981.fits evtable="EVENTS" scfile=/scratch/kocevski/996202/ft2_4FGL_J0753.9+0923_daily_bin981.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/996202/Model_4FGL_J0753.9+0923_daily_bin981.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/996202/ft1_filtered_4FGL_J0753.9+0923_daily_bin981.fits.....................!
real 79.38
user 77.47
sys 1.69

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/996202/ft1_filtered_4FGL_J0753.9+0923_daily_bin981.fits', '/scratch/kocevski/996202/ft2_4FGL_J0753.9+0923_daily_bin981.fits', expMap='/scratch/kocevski/996202/expmap_493603201_493862401_4FGL_J0753.9+0923_daily_bin981.fits', expCube='/scratch/kocevski/996202/ltcube_493603201_493862401_4FGL_J0753.9+0923_daily_bin981.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/996202/Model_4FGL_J0753.9+0923_daily_bin981.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/996202/ft1_filtered_4FGL_J0753.9+0923_daily_bin981.fits
Spacecraft file(s): /scratch/kocevski/996202/ft2_4FGL_J0753.9+0923_daily_bin981.fits
Exposure map: /scratch/kocevski/996202/expmap_493603201_493862401_4FGL_J0753.9+0923_daily_bin981.fits
Exposure cube: /scratch/kocevski/996202/ltcube_493603201_493862401_4FGL_J0753.9+0923_daily_bin981.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/996202/Model_4FGL_J0753.9+0923_daily_bin981.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) = 5753.1165535

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .79235       1.0000         .10000E-03   10000.    
     3 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11415E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.4191       1.0000         .10000E-03   10000.    
     7 'norm      '    2.0986       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.7349       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .33417       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14261E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    30.417       1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.442       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10142E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.9429       1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.576       1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.198       1.0000         .10000E-03   10000.    
    22 'norm      '    .12496       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0888       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90068       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=   5753.066     FROM MIGRAD    STATUS=CONVERGED    606 CALLS     2451 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.248        .37893E-07** at limit **
   2  norm          .79025        1.9565       -.20581E-06   -.24614E-03
   3  norm          .10000E-03    .45268        .27609E-08** at limit **
   4  Prefactor     .10000E-03    51.315        .41657E-06** at limit **
   5  Prefactor     .10000E-03    116.36        .12329E-04** at limit **
   6  norm          2.4192        2.6519       -.15330E-05   -.70133E-05
   7  norm          2.0981        1.9240       -.27173E-07   -.84656E-04
   8  Prefactor     3.7362        16.155        .81579E-05    .89254E-04
   9  Prefactor     .12320E-03    34.557       -.42462E-05** at limit **
  10  Prefactor     .10000E-03    14.143        .22425E-06** at limit **
  11  Prefactor     .10000E-03    1.8195       -.30126E-06** at limit **
  12  norm          30.420        19.203        .17086E-06    .31252E-04
  13  Prefactor     13.448        12.417        .94167E-06    .71425E-04
  14  Prefactor     .10000E-03    175.19       -.20428E-04** at limit **
  15  norm          .10000E-03    74.776       -.35773E-05** at limit **
  16  Prefactor     .10000E-03    14.084       -.15073E-06** at limit **
  17  norm          .10000E-03    2.9077        .58471E-08** at limit **
  18  norm          .10000E-03    11.102       -.59128E-07** at limit **
  19  norm          5.9429        4.7284        .63460E-07    .73324E-05
  20  Prefactor     19.570        26.849        .14373E-06   -.26714E-09
  21  Prefactor     12.202        13.783       -.25440E-06   -.68639E-05
  22  norm          .12605        .72178        .14475E-06   -.19033E-03
  23  Normalizat    1.0882        .20647       -.14567E-05    .96917E-04
  24  Prefactor     .90107        .12522        .57803E-06    .43705E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.790252
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.41924
  norm       = 2.09808
  Prefactor  = 3.73619
  Prefactor  = 0.000123197
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 30.4199
  Prefactor  = 13.4477
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.94288
  Prefactor  = 19.5703
  Prefactor  = 12.2016
  norm       = 0.12605
  Normalizat = 1.08825
  Prefactor  = 0.901073
 **********
 **   18 **HESSE 
 **********

 FCN=   5753.066     FROM HESSE     STATUS=OK           411 CALLS     2862 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    31.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .79025        1.9517        .15513E-03   -1.5530    
   3  norm          .10000E-03    .47327        .99547E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    51.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    116.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.4192        2.6893        .73879E-04   -1.5397    
   7  norm          2.0981        1.9122        .95874E-04   -1.5418    
   8  Prefactor     3.7362        16.682        .10447E-02   -1.5321    
   9  Prefactor     .12320E-03    32.856        .14444       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.153        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.8601        .19293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          30.420        19.192        .72648E-04   -1.4604    
  13  Prefactor     13.448        12.408        .10925E-03   -1.4974    
  14  Prefactor     .10000E-03    175.41        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    74.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.9092        .12631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    11.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.9429        4.7253        .14187E-03   -1.5220    
  20  Prefactor     19.570        26.892        .90523E-04   -1.4823    
  21  Prefactor     12.202        13.811        .11469E-03   -1.5009    
  22  norm          .12605        2.8908        .12112E-02   -1.5637    
  23  Normalizat    1.0882        .23557        .28097E-03   -.90130    
  24  Prefactor     .90107        .14432        .19443E-03   -.96104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43663e-08
Minuit parameter uncertainties:
  1  4.80448e-06
  2  1.95186
  3  5.71565e-07
  4  1.92803e-05
  5  0.000209849
  6  2.68942
  7  1.91227
  8  15.7967
  9  0.0552454
  10  4.53369e-06
  11  4.38601e-05
  12  19.1959
  13  12.4101
  14  0.000984914
  15  0.000118098
  16  5.0224e-06
  17  1.31475e-07
  18  3.36441e-06
  19  4.72556
  20  26.909
  21  13.8149
  22  1.20687
  23  0.235797
  24  0.144378
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  3.042e+01  1.920e+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:  9.011e-01  1.444e-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:  1.088e+00  2.358e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.00
Ra Dec: 118.491 9.390
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 3.93e-08 +/- 2.48e-08
Energy Flux (Fixed Index): 1.82e-05 +/- 1.15e-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) = 5751.60601901
delta logL = 1.46003645225

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5751.5352939
delta logL = 1.53076156543

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    39.136       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2345       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1126       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89428       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=   5751.535     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      217 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          39.247        26.479        .16018E-02   -.14016E-03
   2  alpha         1.2361        .61193        .48546        .19929E-04
   3  Normalizat    1.1129        .18935        .62931E-01    .37071E-03
   4  Prefactor     .89424        .12080        .44932E-01   -.76694E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 39.247
  alpha      = 1.2361
  Normalizat = 1.11286
  Prefactor  = 0.894242
 **********
 **   18 **HESSE 
 **********

 FCN=   5751.535     FROM HESSE     STATUS=OK            29 CALLS      246 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          39.247        27.515        .64070E-04   -1.4454    
   2  alpha         1.2361        .65833        .20618E-01   -.53003    
   3  Normalizat    1.1129        .21628        .27836E-03   -.89340    
   4  Prefactor     .89424        .13832        .19512E-03   -.96343    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.67973e-10
Minuit parameter uncertainties:
  1  27.5244
  2  0.669002
  3  0.216448
  4  0.13837
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/996202': 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) = 5751.53528317
delta logL = 1.53077229577

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  3.925e+01  2.752e+01  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  1.236e+00  6.690e-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:  8.942e-01  1.384e-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:  1.113e+00  2.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.09
Ra Dec: 118.491 9.390
Photon Index (Free Index): 1.24 +/- 0.67
Photon Flux (Free Index): 1.62e-08 +/- 1.26e-08
Energy Flux (Free Index): 3.32e-05 +/- 2.79e-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/996202/cmap_HighResolution_493603201_493862401_4FGL_J0753.9+0923_daily_bin981.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.93e-08', energy_flux2='3.32e-05', photon_flux_error='2.48e-08', dlogl='1.53e+00', energy_flux='1.82e-05', photon_flux2='1.62e-08', job_status='DONE', time_completed='2021-08-28 19:09:06.630891', photon_index_error2='0.67', photon_index2='1.24', ts='11.00', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='2.79e-05', EG='1.09', time_epoch_completed='1630202946.63', return_code='0', job_id='996202', GAL2='0.89', EG2='1.11', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='1.26e-08', ts2='14.09', photon_index='2.46' WHERE bin_id='981' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:09:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 996202: <4FGL_J0753.9+0923_daily_bin981> in cluster <slac> Done

Job <4FGL_J0753.9+0923_daily_bin981> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 18:55:46 2021
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:55:47 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:47 2021
Terminated at Sat Aug 28 19:09:07 2021
Results reported at Sat Aug 28 19:09:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin981 118.491 9.3904 493603201 493862401 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 :                                   591.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             235.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            801 sec.

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

