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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin734
RA = 333.226, Dec = -25.4335
tmin = 429580801, tmax = 429840001
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='222797', job_status='RUN', time_executed='2021-09-28 07:08:09.366344', time_epoch_executed='1632838089.37' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222797

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222797/ft1_4FGL_J2212.9-2526_daily_bin734.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222797/ft2_4FGL_J2212.9-2526_daily_bin734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222797/ft1_4FGL_J2212.9-2526_daily_bin734.fits outfile=/scratch/kocevski/222797/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin734.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=429580801.0 tmax=429840001.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 6.26
user 6.01
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/222797/ft2_4FGL_J2212.9-2526_daily_bin734.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/222797/ft2_4FGL_J2212.9-2526_daily_bin734.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/222797/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin734.fits evtable="EVENTS" outfile="/scratch/kocevski/222797/ft1_filtered_4FGL_J2212.9-2526_daily_bin734.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.49
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/222797/ft1_filtered_4FGL_J2212.9-2526_daily_bin734.fits" evtable="EVENTS" scfile=/scratch/kocevski/222797/ft2_4FGL_J2212.9-2526_daily_bin734.fits sctable="SC_DATA" outfile=/scratch/kocevski/222797/ltcube_429580801_429840001_4FGL_J2212.9-2526_daily_bin734.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/222797/ft2_4FGL_J2212.9-2526_daily_bin734.fits
.....................!
real 12.23
user 11.88
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222797/ft1_filtered_4FGL_J2212.9-2526_daily_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/222797/ft2_4FGL_J2212.9-2526_daily_bin734.fits sctable="SC_DATA" expcube=/scratch/kocevski/222797/ltcube_429580801_429840001_4FGL_J2212.9-2526_daily_bin734.fits outfile=/scratch/kocevski/222797/expmap_429580801_429840001_4FGL_J2212.9-2526_daily_bin734.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/222797/ltcube_429580801_429840001_4FGL_J2212.9-2526_daily_bin734.fits
.....................!
real 189.81
user 185.25
sys 4.25

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

Setting source of interest to:
4FGL J2212.9-2526 @ 333.226 -25.4335

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/222797/ft1_filtered_4FGL_J2212.9-2526_daily_bin734.fits scfile=/scratch/kocevski/222797/ft2_4FGL_J2212.9-2526_daily_bin734.fits outfile=/scratch/kocevski/222797/cmap_429580801_429840001_4FGL_J2212.9-2526_daily_bin734.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=333.226 yref=-25.4335 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.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222797/ft1_filtered_4FGL_J2212.9-2526_daily_bin734.fits scfile=/scratch/kocevski/222797/ft2_4FGL_J2212.9-2526_daily_bin734.fits outfile=/scratch/kocevski/222797/cmap_HighResolution_429580801_429840001_4FGL_J2212.9-2526_daily_bin734.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=333.226 yref=-25.4335 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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/222797/ft1_filtered_4FGL_J2212.9-2526_daily_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/222797/ft2_4FGL_J2212.9-2526_daily_bin734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/222797/Model_4FGL_J2212.9-2526_daily_bin734.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/222797/ft1_filtered_4FGL_J2212.9-2526_daily_bin734.fits.....................!
real 36.32
user 35.07
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/222797/ft1_filtered_4FGL_J2212.9-2526_daily_bin734.fits', '/scratch/kocevski/222797/ft2_4FGL_J2212.9-2526_daily_bin734.fits', expMap='/scratch/kocevski/222797/expmap_429580801_429840001_4FGL_J2212.9-2526_daily_bin734.fits', expCube='/scratch/kocevski/222797/ltcube_429580801_429840001_4FGL_J2212.9-2526_daily_bin734.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/222797/Model_4FGL_J2212.9-2526_daily_bin734.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2212.9-2526'

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  5.247e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/222797/ft1_filtered_4FGL_J2212.9-2526_daily_bin734.fits
Spacecraft file(s): /scratch/kocevski/222797/ft2_4FGL_J2212.9-2526_daily_bin734.fits
Exposure map: /scratch/kocevski/222797/expmap_429580801_429840001_4FGL_J2212.9-2526_daily_bin734.fits
Exposure cube: /scratch/kocevski/222797/ltcube_429580801_429840001_4FGL_J2212.9-2526_daily_bin734.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/222797/Model_4FGL_J2212.9-2526_daily_bin734.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) = 3783.86213452

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.8850       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.7749       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.979       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    16.612       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .41539       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.9458       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .70197E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    45.424       1.0000         .10000E-03   10000.    
    15 'norm      '    28.978       1.0000         .10000E-03   10000.    
    16 'Prefactor '    28.227       1.0000         .10000E-03   10000.    
    17 'norm      '    9.0776       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .12552E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.349       1.0000         .10000E-03   10000.    
    23 'norm      '    .85655       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .72682       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .88233       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .82861       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3783.792     FROM MIGRAD    STATUS=CONVERGED    624 CALLS     3170 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.8847        8.9811        .28089E-08    .22258E-04
   2  Prefactor     2.7743        6.0452       -.12433E-05   -.16171E-03
   3  Prefactor     .10000E-03    8.1562       -.25562E-07** at limit **
   4  norm          .10000E-03    2.2636       -.16817E-07** at limit **
   5  Prefactor     27.977        24.165       -.34705E-06   -.24922E-04
   6  Prefactor     .10000E-03    10.214       -.14886E-06** at limit **
   7  Prefactor     .10000E-03    29.621        .41185E-06** at limit **
   8  norm          16.611        6.3933        .72684E-07    .50693E-04
   9  Prefactor     .10000E-03    18.521       -.28546E-06** at limit **
  10  norm          .41544        .29253        .94658E-08    .11604E-03
  11  Prefactor     .10000E-03    4.4650       -.23641E-07** at limit **
  12  Prefactor     6.9438        20.557       -.62510E-06   -.10994E-04
  13  Prefactor     .10005E-03    86.661       -.17045E-05** at limit **
  14  Prefactor     45.423        43.809        .21433E-07    .36094E-05
  15  norm          28.976        27.072       -.66541E-07   -.26148E-04
  16  Prefactor     28.224        16.664       -.24453E-06   -.79524E-04
  17  norm          9.0767        3.7003       -.29208E-06   -.44590E-03
  18  Prefactor     .10000E-03    51.416       -.54265E-06** at limit **
  19  Prefactor     .10000E-03    11.459        .29456E-06** at limit **
  20  norm          .10036E-03    7.8123        .14243E-05** at limit **
  21  Prefactor     .10000E-03    7.0073        .27610E-06** at limit **
  22  Prefactor     15.348        15.352        .25652E-06   -.38829E-03
  23  norm          .85651        1.1498       -.41768E-06   -.11903E-02
  24  Prefactor     .71793        17.681        .15549E-05   -.70953E-04
  25  Normalizat    .88240        .24878       -.18554E-05   -.36892E-05
  26  Prefactor     .82861        .19553        .20649E-05   -.84000E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.88467
  Prefactor  = 2.77432
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 27.9774
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.6113
  Prefactor  = 0.0001
  norm       = 0.415438
  Prefactor  = 0.0001
  Prefactor  = 6.94378
  Prefactor  = 0.000100048
  Prefactor  = 45.4225
  norm       = 28.9757
  Prefactor  = 28.224
  norm       = 9.07667
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100358
  Prefactor  = 0.0001
  Prefactor  = 15.3484
  norm       = 0.856506
  Prefactor  = 0.717928
  Normalizat = 0.882398
  Prefactor  = 0.828614
 **********
 **   18 **HESSE 
 **********

 FCN=   3783.792     FROM HESSE     STATUS=OK           466 CALLS     3636 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.8847        8.9915        .13447E-03   -1.5112    
   2  Prefactor     2.7743        6.0800        .21721E-03   -1.5375    
   3  Prefactor     .10000E-03    8.1813        .17158E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.2657        .90387E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     27.977        24.226        .75739E-04   -1.4650    
   6  Prefactor     .10000E-03    10.241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    29.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          16.611        6.3872        .89489E-04   -1.4893    
   9  Prefactor     .10000E-03    18.597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .41544        .29579        .26676E-04   -1.5579    
  11  Prefactor     .10000E-03    4.4734        .12693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.9438        20.554        .15222E-03   -1.5181    
  13  Prefactor     .10005E-03    89.628        .35254E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     45.423        43.816        .59488E-04   -1.4359    
  15  norm          28.976        27.084        .74425E-04   -1.4631    
  16  Prefactor     28.224        16.786        .75407E-04   -1.4645    
  17  norm          9.0767        3.7090        .72711E-04   -1.5105    
  18  Prefactor     .10000E-03    51.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10036E-03    56.729        .19956E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.0205        .15908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     15.348        15.646        .10223E-03   -1.4924    
  23  norm          .85651        1.1855        .50299E-03   -1.5523    
  24  Prefactor     .71793        48.562        .39932E-02   -1.5539    
  25  Normalizat    .88240        .28010        .25879E-03   -.97081    
  26  Prefactor     .82861        .21913        .21797E-03   -.98682    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.06798e-08
Minuit parameter uncertainties:
  1  8.99286
  2  6.08135
  3  1.06425e-06
  4  1.31961e-06
  5  24.2345
  6  3.18348e-05
  7  0.000148757
  8  6.3875
  9  6.46458e-05
  10  0.295789
  11  1.58275e-06
  12  20.5751
  13  0.00416217
  14  43.8468
  15  27.0957
  16  16.7889
  17  3.70912
  18  0.000182586
  19  3.05953e-05
  20  0.00901815
  21  4.93809e-06
  22  15.6497
  23  1.18555
  24  11.8184
  25  0.280566
  26  0.219361
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  6.944e+00  2.058e+01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  8.286e-01  2.194e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  8.824e-01  2.806e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 333.226 -25.433
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/222797/likelihoodResults_429580801_429840001_4FGL_J2212.9-2526_daily_bin734.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3783.78667202
delta logL = 0.00554339093151

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3783.78502491
delta logL = 0.00719050170756

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3038       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1145       1.0000          .0000       10.000    
     3 'Normalizat'    .88385       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82741       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+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=   3783.785     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      266 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.3049        25.367        .13912E-03   -.14247E-03
   2  Index         2.1144        1.1387        .11132E-01   -.65619E-04
   3  Normalizat    .88415        .25632        .25855E-03    .14662E-03
   4  Prefactor     .82716        .21159        .21814E-03    .21366E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.30491
  Index      = 2.11441
  Normalizat = 0.884148
  Prefactor  = 0.827161
 **********
 **   18 **HESSE 
 **********

 FCN=   3783.785     FROM HESSE     STATUS=OK            23 CALLS      289 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.3049        24.597        .55649E-05   -1.5132    
   2  Index         2.1144        1.1051        .44528E-03   -.61519    
   3  Normalizat    .88415        .25651        .10342E-04   -.97019    
   4  Prefactor     .82716        .21169        .43628E-04   -.98735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.67638e-10
Minuit parameter uncertainties:
  1  24.6269
  2  1.11903
  3  0.256867
  4  0.211904
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222797': 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) = 3783.78502417
delta logL = 0.00719123947283

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  8.305e+00  2.463e+01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.114e+00  1.119e+00  0.000e+00  1.000e+01 (-1.000e+00)
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  8.272e-01  2.119e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  8.841e-01  2.569e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
Ra Dec: 333.226 -25.433

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/222797/cmap_HighResolution_429580801_429840001_4FGL_J2212.9-2526_daily_bin734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.41e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2021-09-28 07:17:23.141923', job_id='222797', GAL2='0.83', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1632838643.14', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='7.19e-03', ts2='0.15', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='734' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:17:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 222797: <4FGL_J2212.9-2526_daily_bin734> in cluster <slac> Done

Job <4FGL_J2212.9-2526_daily_bin734> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 07:05:31 2021
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 07:05:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 07:05:33 2021
Terminated at Tue Sep 28 07:17:23 2021
Results reported at Tue Sep 28 07:17:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin734 333.226 -25.4335 429580801 429840001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2212.9-2526 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   551.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            712 sec.

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

